/* ============================================================
   Spottings search page - /search
   Search bar (filter dropdown + term box + submit) above a feed-style
   masonry of spotting cards (cards + .feed-list/.feed-col come from feed.css;
   the .country-* dropdown comes from location-picker.css).
   ============================================================ */

.search-page {
  /* Only top/bottom - keep .container's horizontal padding so the page aligns
     with the header and every other .container page. */
  padding-top: 24px;
  padding-bottom: 80px;
}


/* ---- Search bar (free-text term) -----------------------------------------
   Reuses the .hero-search pill (defined in nav.css) so it matches the nav +
   home search exactly; this only adds the spacing below it. */
.search-bar {
  margin-bottom: 12px;
}

/* ---- Filter dropdowns row (one country-style picker per category) -------- */
.search-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}
.search-filter { flex: 0 0 auto; }
/* Per-category icon on the dropdown trigger */
.search-filter .country-trigger { gap: 8px; }
.search-filter-icon { font-size: 12px; color: var(--text-muted); }
.search-filter .country-trigger.is-active .search-filter-icon { color: var(--unique); }
/* Options are plain labels (no flag), so trim the country-option left padding. */
.search-filter .country-option { padding-left: 12px; }
.search-filter .search-filter-clear .country-option-name {
  color: var(--danger);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.search-filter-clear { border-bottom: 1px solid var(--border); }

/* ---- Results meta -------------------------------------------------------- */
.search-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.search-meta strong { color: var(--text); font-weight: 600; }

/* ---- Empty / prompt states ---------------------------------------------- */
.search-empty {
  text-align: center;
  padding: 64px 20px;
  max-width: 480px;
  margin: 0 auto;
}
.search-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--unique) 10%, transparent);
  color: var(--unique);
  font-size: 24px;
}
.search-empty h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.search-empty p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}
.search-quick-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.search-quick {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface-raised);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.search-quick:hover {
  border-color: color-mix(in srgb, var(--unique) 40%, var(--border));
  color: var(--unique);
}
