@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:  #0088cc;
  --accent2: #00c9a7;
  --warn:    #f39c12;
  --danger:  #e74c3c;
  --radius:  12px;
  --font:    'Poppins', sans-serif;
  /* dark mode defaults */
  --bg:         #0d0d0d;
  --text:       #e0e0e0;
  --card-bg:    #161616;
  --nav-bg:     #0a0a0a;
  --sticky-bg:  #111;
  --sticky-link:#ddd;
  --footer-bg:  #0a0a0a;
  --border:     #222;
  --muted:      #9aa0a6; /* lighter default for dark mode */
}

[data-theme="light"] {
  --bg:         #f4f6f9;
  --text:       #1e293b;
  --card-bg:    #ffffff;
  --nav-bg:     #1e1e38;
  --sticky-bg:  #ffffff;
  --sticky-link:#334155;
  --footer-bg:  #1e1e38;
  --border:     #e2e8f0;
  --muted:      #64748b; /* reliable contrast for light theme */
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px; /* Great legibility on mobile devices */
  transition: background 0.3s, color 0.3s;
}

@media (min-width: 769px) {
  body {
    font-size: 17.5px; /* Extremely readable on iPad and desktop monitors */
  }
}

/* ══════════════════════════════════════
   ANNOUNCEMENT BAR
══════════════════════════════════════ */
#g-announcement {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 9px 44px;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  z-index: 1001;
}
#g-announcement a {
  color: #fff; font-weight: 700;
  margin-left: 8px; text-decoration: underline;
}
#g-announcement button {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: #fff; cursor: pointer; font-size: 18px;
}

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
#g-nav {
  background: var(--nav-bg);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  transition: background 0.3s;
}
.g-nav-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 32px; height: 58px;
}
.g-logo {
  color: #fff; font-weight: 800; font-size: clamp(19px, 3.2vw, 22px);
  text-decoration: none; letter-spacing: -0.3px;
}
.g-logo span { color: var(--accent); }
#g-nav-links {
  display: flex; gap: 4px;
  list-style: none; margin: 0; padding: 0;
  margin-right: 0; /* Align perfectly with page content boundaries without extra offset */
}
#g-nav-links a {
  color: #aaa; text-decoration: none;
  font-size: 14.5px; font-weight: 500;
  padding: 6px 12px; border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
#g-nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.g-hamburger {
  display: none; background: none; border: none;
  color: #fff; font-size: 24px; cursor: pointer;
}

/* ══════════════════════════════════════
   STICKY BAR — horizontal top bar
══════════════════════════════════════ */
#g-sticky {
  position: sticky;
  top: 58px;
  width: 100%;
  background: var(--sticky-bg);
  border-bottom: 1px solid var(--border);
  padding: 12.5px 0;
  z-index: 990;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.3s;
}
.g-sticky-inner-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  padding-left: 32px;
  padding-right: 32px;
}
.g-sticky-title {
  color: var(--accent); font-size: 12px;
  text-transform: uppercase; letter-spacing: 1.5px;
  font-weight: 700; white-space: nowrap;
  margin-bottom: 0;
}
#g-sticky ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: row; gap: 8px;
}
#g-sticky ul li a {
  color: var(--sticky-link);
  text-decoration: none; font-size: 13.5px;
  font-weight: 500; display: block;
  padding: 7px 15px; border-radius: 20px;
  background: rgba(0,136,204,0.08);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
#g-sticky ul li a:hover {
  color: #fff; background: rgba(0,136,204,0.22);
}
.sticky-ad {
  display: none;
}

/* ══════════════════════════════════════
   DARK / LIGHT TOGGLE BUTTON
══════════════════════════════════════ */
#theme-toggle {
  position: fixed;
  top: 12px;
  right: 24px;
  z-index: 10010;
  background: var(--accent); color: #fff;
  border: none; border-radius: 50%;
  width: 34px; height: 34px;
  font-size: 16px; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,136,204,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
#theme-toggle:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(0,136,204,0.5);
}

/* ══════════════════════════════════════
   PAGE LAYOUT
══════════════════════════════════════ */
.g-page-wrap {
  padding: 40px 28px 80px;
}

/* ══════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════ */
.breadcrumb {
  font-size: 13.5px; color: var(--muted);
  margin-bottom: 24px;
  display: flex; flex-wrap: wrap;
  align-items: center; gap: 6px;
}
.breadcrumb a { color: var(--accent); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }

/* ══════════════════════════════════════
   PAGE HEADER
══════════════════════════════════════ */
.page-header { margin-bottom: 36px; }
.flag { font-size: clamp(44px, 6.5vw, 54px); margin-bottom: 12px; line-height: 1; }
.page-header h1 {
  font-size: clamp(30px, 5.5vw, 44px);
  font-weight: 800; line-height: 1.25;
  letter-spacing: -0.5px; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subtitle { color: var(--muted); font-size: clamp(17px, 2.8vw, 21px); font-weight: 400; margin-bottom: 12px; }
.updated-tag {
  display: inline-block;
  background: rgba(0,136,204,0.12);
  color: var(--accent); font-size: 12.5px;
  padding: 4px 14px; border-radius: 20px; font-weight: 600;
}

/* ══════════════════════════════════════
   SCORE CARDS
══════════════════════════════════════ */
.score-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 32px;
}
.score-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px; text-align: center;
  position: relative; overflow: hidden;
  transition: transform 0.2s, background 0.3s, border 0.3s;
}
.score-card:hover { transform: translateY(-3px); }
.score-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
}
.sc-green::before { background: var(--accent2); }
.sc-blue::before  { background: var(--accent); }
.sc-orange::before { background: var(--warn); }
.sc-label {
  font-size: 11.5px; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--muted);
  margin-bottom: 10px; font-weight: 600;
}
.sc-value { font-size: clamp(26px, 4.4vw, 34px); font-weight: 800; line-height: 1.1; }
.sc-green .sc-value  { color: var(--accent2); }
.sc-blue .sc-value   { color: var(--accent); }
.sc-orange .sc-value { color: var(--warn); }
.sc-sub { font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 400; }

/* ══════════════════════════════════════
   SECTION CARDS
══════════════════════════════════════ */
.section-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px; margin-bottom: 24px;
  transition: background 0.3s, border 0.3s;
}
.section-card h2 {
  font-size: clamp(16px, 2.5vw, 18.5px); font-weight: 700;
  margin-bottom: 22px;
  text-transform: uppercase; letter-spacing: 1px;
  display: flex; align-items: center; gap: 8px;
  color: var(--text);
}

/* ══════════════════════════════════════
   DATA ROWS
══════════════════════════════════════ */
.data-row {
  display: flex; justify-content: space-between;
  align-items: center; padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: clamp(15px, 2.3vw, 17px); gap: 14px;
}
.data-row:last-child { border-bottom: none; }
.dr-label { color: var(--muted); font-weight: 400; flex: 1; }
.dr-value { font-weight: 700; white-space: nowrap; }
.up   { color: var(--accent2); }
.mid  { color: var(--warn); }
.down { color: var(--danger); }
.total-row {
  border-top: 2px solid var(--accent) !important;
  border-bottom: none !important;
  margin-top: 8px; padding-top: 18px !important;
}

/* ══════════════════════════════════════
   SALARY BARS
══════════════════════════════════════ */
.salary-bars { display: flex; flex-direction: column; gap: 20px; }
.sbi-top {
  display: flex; justify-content: space-between;
  font-size: clamp(15px, 2.3vw, 17px); margin-bottom: 8px;
}
.sbi-label { color: var(--muted); font-weight: 400; }
.sbi-amount { font-weight: 700; }
.sbi-track {
  height: 10px; background: var(--border);
  border-radius: 5px; overflow: hidden;
}
.sbi-fill { height: 100%; border-radius: 5px; }

/* ══════════════════════════════════════
   AFFORDABILITY
══════════════════════════════════════ */
.afford-center { text-align: center; padding: 10px 0 20px; }
.afford-score {
  font-size: clamp(66px, 8.5vw, 88px); font-weight: 800;
  color: var(--accent2); line-height: 1;
}
.afford-verdict { font-size: clamp(16px, 2.6vw, 19px); color: var(--muted); margin-top: 8px; }
.afford-bar {
  height: 14px; background: var(--border);
  border-radius: 7px; margin: 22px 0 10px; overflow: hidden;
}
.afford-fill {
  height: 100%; width: 82%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 7px;
}
.afford-meta {
  display: flex; justify-content: space-between;
  font-size: clamp(13.5px, 2.1vw, 15.5px); color: var(--muted);
}
.afford-meta strong { color: var(--accent2); }

/* ══════════════════════════════════════
   COMPARE TAGS
══════════════════════════════════════ */
.compare-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.compare-tag {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 20px; padding: 7px 16px;
  font-size: clamp(13.5px, 2.1vw, 15px); color: var(--accent);
  text-decoration: none; font-weight: 500;
  transition: all 0.2s; font-family: var(--font);
}
.compare-tag:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ══════════════════════════════════════
   SHARE BAR
══════════════════════════════════════ */
.share-bar {
  display: flex; align-items: center;
  gap: 12px; flex-wrap: wrap;
  margin-top: 28px; padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background 0.3s, border 0.3s;
}
.share-label { font-size: clamp(14px, 2.1vw, 15.5px); color: var(--muted); flex: 1; min-width: 120px; }
.share-btn {
  padding: 10px 20px; border-radius: 20px; border: none;
  font-size: clamp(13px, 2vw, 14.5px); font-weight: 600; cursor: pointer;
  text-decoration: none; font-family: var(--font);
  transition: opacity 0.2s, transform 0.15s;
}
.share-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-tw { background: #1a8cd8; color: #fff; }
.btn-wa { background: #25d366; color: #fff; }
.btn-cp { background: var(--accent); color: #fff; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
#g-footer {
  background: var(--footer-bg);
  color: var(--muted); padding: 40px 24px;
  margin-top: 60px;
  border-top: 1px solid var(--border);
  transition: background 0.3s;
}
.g-footer-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.g-footer-links { margin-bottom: 16px; }
.g-footer-links a {
  color: var(--muted); text-decoration: none;
  margin: 0 12px; font-size: 14.5px; font-weight: 500;
  transition: color 0.2s;
}
.g-footer-links a:hover { color: var(--accent); }
.g-disclaimer { font-size: 12.5px; color: var(--muted); max-width: 540px; margin: 10px auto; line-height: 1.6; opacity: 0.75; }
.g-copyright { font-size: 13.5px; color: var(--muted); margin-top: 12px; opacity: 0.65; }



/* ══════════════════════════════════════
   DESKTOP LAYOUT — centered
══════════════════════════════════════ */
@media (min-width: 769px) {
  .g-page-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
  }
  #g-footer .g-footer-inner {
    margin: 0 auto;
  }
}

/* ══════════════════════════════════════
   MOBILE
══════════════════════════════════════ */
@media (max-width: 768px) {
  .g-nav-inner {
    padding: 0 16px; /* Align navigation elements with page margins */
  }
  /* hamburger */
  .g-hamburger { display: block; }
  #g-nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 58px; left: 0; right: 0;
    background: var(--nav-bg);
    padding: 8px 16px 16px; gap: 2px;
    margin-right: 0; /* Reset for mobile */
  }
  #g-nav-links.open { display: flex; }
  #g-nav-links li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  #g-nav-links a { padding: 12px 4px; font-size: 16.5px; color: #ccc; }

  /* sticky → top strip mobile adjustment with seamless horizontal indicator design */
  #g-sticky {
    padding: 8px 0;
    top: 58px;
  }
  #g-sticky::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 36px;
    background: linear-gradient(to right, transparent, var(--sticky-bg));
    pointer-events: none;
    z-index: 10;
  }
  .g-sticky-inner-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Correct starting position so first category isn't cut off */
    width: 100%;
    padding-left: 16px;
    padding-right: 36px; /* Extra padding so the shade doesn't clip the last item */
    gap: 12px;
    scrollbar-width: thin;
  }
  /* Custom fine scrollbar indicator that's subtle yet visible */
  .g-sticky-inner-wrap::-webkit-scrollbar {
    height: 2px;
  }
  .g-sticky-inner-wrap::-webkit-scrollbar-track {
    background: transparent;
  }
  .g-sticky-inner-wrap::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 2px;
  }
  .g-sticky-title {
    font-size: 11.5px;
    flex-shrink: 0;
  }
  #g-sticky ul {
    flex-direction: row;
    gap: 6px;
    flex-shrink: 0;
    display: flex;
  }
  #g-sticky ul li a {
    padding: 6px 12px;
    font-size: 13px;
  }

  #theme-toggle {
    right: 60px; /* Shift left to prevent overlapping hamburger on mobile */
  }

  /* no need to push content below sticky since it's naturally flowed and sticky */
  .g-page-wrap {
    margin-right: 0 !important;
    padding-left: 16px;
    padding-right: 16px;
  }

  .score-banner { grid-template-columns: 1fr; gap: 14px; }
  .score-banner .score-card:last-child { grid-column: span 1; }
  .afford-score { font-size: clamp(52px, 12vw, 72px); }
}

/* ══════════════════════════════════════
SEARCH BOX — add to bottom of styles.css
══════════════════════════════════════ */

/* ── POPULAR CITIES + SEARCH BOX ── */
.city-nav-box {
background: var(–card-bg, #161616);
border: 1px solid var(–border, #222);
border-radius: 12px;
padding: 20px;
margin-bottom: 20px;
}

.city-nav-title {
font-size: 13px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.8px;
color: var(–muted, #888);
margin-bottom: 14px;
}

.city-nav-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 16px;
}

.city-nav-tags a {
background: transparent;
border: 1px solid var(–border, #222);
border-radius: 20px;
padding: 6px 14px;
font-size: 13px;
color: var(–accent, #0088cc);
text-decoration: none;
font-weight: 500;
transition: all 0.2s;
white-space: nowrap;
}

.city-nav-tags a:hover {
background: var(–accent, #0088cc);
color: #fff;
border-color: var(–accent, #0088cc);
}

/* ── SEARCH INPUT ROW ── */
.city-nav-search {
display: flex;
gap: 10px;
flex-wrap: wrap;
border-top: 1px solid var(–border, #222);
padding-top: 16px;
margin-top: 4px;
}

.city-nav-search input {
flex: 1;
min-width: 200px;
padding: 11px 16px;
background: var(–bg, #0d0d0d);
border: 1px solid var(–border, #333);
border-radius: 8px;
color: var(–text, #e0e0e0);
font-size: 14px;
font-family: ‘Poppins’, sans-serif;
outline: none;
transition: border 0.2s;
}

.city-nav-search input:focus {
border-color: #0088cc;
}

.city-nav-search input::placeholder {
color: var(–muted, #666);
}

.city-nav-search button {
padding: 11px 22px;
background: #0088cc;
color: #fff;
border: none;
border-radius: 8px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
font-family: ‘Poppins’, sans-serif;
transition: opacity 0.2s;
white-space: nowrap;
}

.city-nav-search button:hover {
opacity: 0.88;
}

#search-result {
margin-top: 10px;
font-size: 13px;
min-height: 18px;
}

#search-result a {
color: #00c9a7;
font-weight: 600;
text-decoration: none;
}

#search-result a:hover {
text-decoration: underline;
}

/* ─────────────────────────────────────────────
   styles.css — topinfospot.com/salary/
   Autocomplete search + suggestions dropdown
───────────────────────────────────────────── */

/* ── Reset / Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --c-bg:          #f7f8fa;
    --c-surface:     #ffffff;
    --c-border:      #e2e5eb;
    --c-border-focus:#3b6ef8;
    --c-text:        #1a1d23;
    --c-text-muted:  #6b7280;
    --c-accent:      #3b6ef8;
    --c-accent-hover:#2a5de6;
    --c-active-bg:   #eef2ff;
    --c-active-text: #1a3a9f;
    --c-mark-bg:     #fff3b0;
    --c-mark-text:   #1a1d23;
    --c-shadow:      0 4px 24px rgba(0,0,0,.10);
    --c-shadow-sm:   0 2px 8px  rgba(0,0,0,.07);
    --radius:        10px;
    --radius-sm:     6px;
    --font-sans:     'Segoe UI', system-ui, -apple-system, sans-serif;
    --transition:    .15s ease;
}

body {
    font-family: var(--font-sans);
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.6;
    min-height: 100vh;
}

/* ── Header ── */
.site-header {
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    padding: 14px 24px;
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-text);
    text-decoration: none;
    letter-spacing: -.3px;
}

.logo span { color: var(--c-accent); }

/* ── Layout ── */
.page-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* ── Search section ── */
.search-section {
    margin-bottom: 40px;
}

.search-section h2 {
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--c-text-muted);
    margin-bottom: 10px;
}

/* ── Autocomplete wrapper ── */
.autocomplete-wrap {
    position: relative;
    width: 100%;
    max-width: 520px;
}

/* ── Input row ── */
.search-input-row {
    display: flex;
    align-items: center;
    background: var(--c-surface);
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius);
    padding: 0 12px;
    gap: 8px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.search-input-row:focus-within {
    border-color: var(--c-border-focus);
    box-shadow: 0 0 0 3px rgba(59,110,248,.13);
}

.search-icon {
    width: 18px;
    height: 18px;
    color: var(--c-text-muted);
    flex-shrink: 0;
    transition: color var(--transition);
}

.search-input-row:focus-within .search-icon {
    color: var(--c-accent);
}

.city-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: .975rem;
    color: var(--c-text);
    padding: 13px 0;
    font-family: var(--font-sans);
}

.city-search-input::placeholder { color: var(--c-text-muted); }

/* Clear button */
.search-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: none;
    background: var(--c-bg);
    border-radius: 50%;
    cursor: pointer;
    color: var(--c-text-muted);
    padding: 0;
    flex-shrink: 0;
    transition: background var(--transition), color var(--transition);
}

.search-clear:hover { background: var(--c-border); color: var(--c-text); }

.search-clear svg { width: 13px; height: 13px; }

/* ── Suggestions dropdown ── */
.suggestions-list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--c-surface);
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius);
    box-shadow: var(--c-shadow);
    list-style: none;
    padding: 6px 0;
    z-index: 999;
    max-height: 320px;
    overflow-y: auto;
    /* Entrance animation */
    animation: dropdown-in .14s ease both;
}

@keyframes dropdown-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Scrollbar styling */
.suggestions-list::-webkit-scrollbar { width: 5px; }
.suggestions-list::-webkit-scrollbar-track { background: transparent; }
.suggestions-list::-webkit-scrollbar-thumb {
    background: var(--c-border);
    border-radius: 10px;
}

/* ── Suggestion items ── */
.suggestion-item {
    padding: 10px 16px;
    font-size: .94rem;
    cursor: pointer;
    color: var(--c-text);
    transition: background var(--transition), color var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    /* location icon via pseudo */
}

.suggestion-item::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-color: var(--c-text-muted);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 2a6 6 0 00-6 6c0 4 6 10 6 10s6-6 6-10a6 6 0 00-6-6zm0 8a2 2 0 110-4 2 2 0 010 4z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 2a6 6 0 00-6 6c0 4 6 10 6 10s6-6 6-10a6 6 0 00-6-6zm0 8a2 2 0 110-4 2 2 0 010 4z'/%3E%3C/svg%3E") center/contain no-repeat;
    transition: background-color var(--transition);
}

.suggestion-item:hover,
.suggestion-item.is-active {
    background: var(--c-active-bg);
    color: var(--c-active-text);
}

.suggestion-item:hover::before,
.suggestion-item.is-active::before {
    background-color: var(--c-accent);
}

/* Highlighted match text */
.suggestion-item mark {
    background: var(--c-mark-bg);
    color: var(--c-mark-text);
    font-weight: 600;
    border-radius: 2px;
    padding: 0 1px;
}

/* Divider between groups if needed */
.suggestion-item + .suggestion-divider {
    height: 1px;
    background: var(--c-border);
    margin: 4px 0;
}

/* No results state */
.suggestions-list .no-results {
    padding: 12px 16px;
    color: var(--c-text-muted);
    font-size: .9rem;
    font-style: italic;
}

/* ── Salary cards ── */
.salary-section h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -.4px;
    line-height: 1.3;
}

.salary-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

@media (max-width: 560px) {
    .salary-cards { grid-template-columns: 1fr; }
}

.salary-card {
    background: var(--c-surface);
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--c-shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.salary-card:hover {
    box-shadow: var(--c-shadow);
    transform: translateY(-2px);
}

.salary-card--median {
    border-color: var(--c-accent);
    background: linear-gradient(135deg, #eef2ff 0%, #ffffff 100%);
}

.card-label {
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--c-text-muted);
}

.salary-card--median .card-label { color: var(--c-accent); }

.card-value {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--c-text);
    letter-spacing: -.5px;
}

.salary-card--median .card-value { color: var(--c-accent-hover); }

.card-sub {
    font-size: .8rem;
    color: var(--c-text-muted);
}

/* ── Utility ── */
[hidden] { display: none !important; }