/* Creators page — filter bar matches site inputs */

/* Hover flyouts don't suit phones, and they made the page scroll sideways */
@media (max-width: 640px) {
  .page-creators .badge-flyout {
    display: none;
  }

  .page-creators .page-intro-deco {
    max-width: 100%;
    overflow: hidden;
  }
}

/* Filter dropdowns above the card grid; badge flyouts rise above filters on hover */
.page-creators main > section.panel.creators-intro {
  position: relative;
  overflow: visible;
}

.page-creators .creators-intro .filters {
  position: relative;
  z-index: 100;
  overflow: visible;
}

.page-creators main > section.grid {
  position: relative;
  z-index: 50;
  overflow: visible;
}

.page-creators main:has(.badge-pill:hover) > section.grid,
.page-creators main:has(.badge-pill:focus-visible) > section.grid {
  z-index: 110;
}

.page-creators .grid .card {
  position: relative;
  overflow: visible;
}

.page-creators .grid .card:has(.badge-pill:hover),
.page-creators .grid .card:has(.badge-pill:focus-visible) {
  z-index: 8;
}

.page-creators .filters {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-top: 14px;
}

.page-creators .filters .filters__search {
  flex: 1 1 12rem;
  min-width: min(100%, 14rem);
}

.page-creators .filters .gg-select {
  flex: 0 1 auto;
  min-width: 13rem;
}

.page-creators .filters__search {
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  border: 2px solid var(--field-line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  color: #f6f7ff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.02em;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.08);
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-creators .filters__search::placeholder {
  color: var(--muted);
  opacity: 0.9;
}

.page-creators .filters__search:hover {
  border-color: rgba(155, 140, 255, 0.55);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 8px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(155, 140, 255, 0.22),
    0 0 20px var(--glow-violet),
    0 0 32px var(--glow-lime);
}

.page-creators .filters__search:focus-visible {
  outline: none;
  border-color: rgba(212, 255, 122, 0.55);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 8px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(212, 255, 122, 0.28),
    0 0 26px var(--glow-violet),
    0 0 42px var(--glow-lime),
    0 0 56px var(--glow-pink);
}

@media (prefers-reduced-motion: reduce) {
  .page-creators .filters__search {
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }

  .page-creators .filters__search:hover,
  .page-creators .filters__search:focus-visible {
    transform: none;
  }
}
