/* CoCreate Projects page — page-specific layout
   (search/filter toolbar, empty state). Card/modal primitives live in
   css/components/card.css and css/components/modal.css. */

/* Search + filter bar */
.proj-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.proj-search {
  flex: 1;
  min-width: 240px;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.7rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  transition: border-color 0.2s ease;
}
.proj-search:focus-within { border-color: var(--primary); }
.proj-search svg { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }
.proj-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
}
.proj-search input::placeholder { color: var(--text-muted); }

.filter-chips { display: flex; gap: 8px; }
.filter-chip {
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-chip:hover { color: var(--text-primary); }
.filter-chip.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
}

.proj-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 1rem;
}
