/* ============================================================
   Advertsale — Main Stylesheet
   Design: Clean professional marketplace
   Palette: Navy #0B2447 | Gold #C9A84C | Slate #4A5568 | Light #F7F8FC
   Type: Fraunces (display) + Inter (body)
   ============================================================ */

:root {
  --navy:      #0B2447;
  --navy-mid:  #163B6E;
  --navy-light:#1E4D94;
  --gold:      #C9A84C;
  --gold-light:#E8CC82;
  --slate:     #4A5568;
  --slate-light:#718096;
  --surface:   #F7F8FC;
  --surface-2: #EEF0F7;
  --white:     #FFFFFF;
  --text:      #1A202C;
  --text-muted:#718096;
  --border:    #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(11,36,71,.08), 0 1px 2px rgba(11,36,71,.04);
  --shadow-md: 0 4px 16px rgba(11,36,71,.10), 0 2px 8px rgba(11,36,71,.06);
  --shadow-lg: 0 12px 40px rgba(11,36,71,.14);
  --radius:    10px;
  --radius-lg: 16px;
  --transition:all .2s ease;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

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

html { margin: 0; padding: 0; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  /* Navy hard-stop covers the topbar row (~36px) — any sub-pixel or
     DPI-scaling gap above the topbar is navy, not white */
  background: linear-gradient(#0B2447 40px, var(--white) 40px) var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ─────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}
.display-serif { font-family: var(--font-display); }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-slate { color: var(--slate); }

/* ── Top bar ─────────────────────────────────────────── */
.topbar {
  background: var(--navy);
  padding: 7px 0;
  font-size: 12px;
  margin: 0;
  z-index: 1030;
}
.topbar-text { color: rgba(255,255,255,.7); }
.topbar-link {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: var(--transition);
  font-size: 12px;
}
.topbar-link:hover { color: var(--gold-light); }
.topbar-link--highlight {
  background: var(--gold);
  color: var(--navy);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.topbar-link--highlight:hover { background: var(--gold-light); color: var(--navy); }

/* ── Nav ─────────────────────────────────────────────── */
.main-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.main-nav.scrolled {
  box-shadow: var(--shadow-md);
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 14px 0;
}
.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
}
.brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: -.5px;
}
.brand-text strong { color: var(--gold); }

.main-nav .nav-link {
  font-weight: 500;
  color: var(--slate);
  padding: 20px 14px;
  font-size: 14px;
  transition: var(--transition);
  position: relative;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active { color: var(--navy); }
.main-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px 2px 0 0;
}

.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  margin-top: 0;
}
.dropdown-item {
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--slate);
  transition: var(--transition);
}
.dropdown-item:hover { background: var(--surface); color: var(--navy); }
.mega-menu { min-width: 240px; }
.mega-menu-header {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  padding: 8px 12px 4px;
}

/* ── Nav search ──────────────────────────────────────── */
.nav-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-search-icon {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  font-size: 14px;
  z-index: 1;
}
.nav-search-input {
  border: 1.5px solid var(--border);
  border-radius: 8px 0 0 8px;
  padding-left: 34px;
  font-size: 14px;
  width: 220px;
  height: 38px;
  transition: var(--transition);
  border-right: none;
}
.nav-search-input:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(30,77,148,.12);
  width: 260px;
  outline: none;
}
.nav-search-btn {
  border-radius: 0 8px 8px 0;
  background: var(--navy);
  border-color: var(--navy);
  height: 38px;
  font-size: 13px;
  font-weight: 600;
  padding: 0 16px;
}
.nav-search-btn:hover { background: var(--navy-mid); border-color: var(--navy-mid); }

.user-nav-btn {
  border-color: var(--navy);
  color: var(--navy);
  font-weight: 500;
  font-size: 13px;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
  background: var(--navy);
  border-color: var(--navy);
  font-weight: 600;
  letter-spacing: .01em;
  transition: var(--transition);
}
.btn-primary:hover { background: var(--navy-mid); border-color: var(--navy-mid); }
.btn-primary:focus { box-shadow: 0 0 0 3px rgba(30,77,148,.25); }

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  font-weight: 700;
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); }

.btn-outline-primary {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-primary:hover { background: var(--navy); border-color: var(--navy); }

/* ── Hero ─────────────────────────────────────────────── */
.site-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a3a6b 100%);
  color: var(--white);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}
.site-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--gold-light);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-search-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero-search-card .form-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.hero-search-card .form-control,
.hero-search-card .form-select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  height: 44px;
  color: var(--text);
}
.hero-search-card .form-control:focus,
.hero-search-card .form-select:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(30,77,148,.12);
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}
.hero-stat { color: var(--white); }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  margin-top: 2px;
}

/* ── Cards ───────────────────────────────────────────── */
.listing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.listing-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--surface-2);
}
.listing-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.listing-card:hover .listing-card-img img { transform: scale(1.04); }
.listing-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2rem;
  background: var(--surface-2);
}
.listing-tier-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
}
.badge-diamond {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.badge-showcase {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.save-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
  font-size: 16px;
  z-index: 1;
}
.save-btn:hover { color: #E53E3E; transform: scale(1.1); }
.save-btn.saved { color: #E53E3E; }

.listing-card-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.listing-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gold);
  margin-bottom: 6px;
}
.listing-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}
.listing-title a { color: inherit; text-decoration: none; }
.listing-title a:hover { color: var(--navy-light); }
.listing-location {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.listing-location i { margin-right: 3px; }
.listing-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.metric-item {}
.metric-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
}
.metric-value {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  font-family: var(--font-display);
}
.listing-card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.listing-date { font-size: 12px; color: var(--text-muted); }
.listing-ref { font-size: 11px; color: var(--text-muted); font-family: monospace; }

/* ── Section styles ───────────────────────────────────── */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-surface { background: var(--surface); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.section-dark .section-title { color: var(--white); }
.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 0;
}
.section-dark .section-subtitle { color: rgba(255,255,255,.65); }
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 10px;
}
.divider-gold {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 16px 0;
}

/* ── Category pills ───────────────────────────────────── */
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.cat-pill:hover,
.cat-pill.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.cat-pill i { font-size: 16px; }

/* ── Filters sidebar ──────────────────────────────────── */
.filters-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 80px;
}
.filters-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.filter-group { margin-bottom: 20px; }
.filter-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}
.filter-group .form-control,
.filter-group .form-select {
  font-size: 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
}
.filter-group .form-control:focus,
.filter-group .form-select:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(30,77,148,.12);
}

/* ── Listing detail ───────────────────────────────────── */
.listing-detail-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.listing-price-badge {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 16px 24px;
  text-align: center;
}
.listing-price-badge .price-label { font-size: 11px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .07em; }
.listing-price-badge .price-amount { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1.1; }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.metric-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px 20px;
  border: 1px solid var(--border);
}
.metric-card .metric-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); margin-bottom: 4px; }
.metric-card .metric-value { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.contact-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 80px;
}
.contact-card .section-eyebrow { font-size: 10px; }

/* ── Pricing cards ────────────────────────────────────── */
.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--navy);
  position: relative;
}
.pricing-card.diamond {
  background: var(--navy);
  border-color: var(--gold);
}
.pricing-card.diamond .pricing-title,
.pricing-card.diamond .pricing-price,
.pricing-card.diamond li { color: var(--white); }
.pricing-card.diamond .pricing-subtitle { color: rgba(255,255,255,.65); }
.pricing-card.diamond .check-icon { color: var(--gold); }
.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 3px 14px;
  border-radius: 20px;
}
.pricing-title { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.pricing-subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.pricing-price { font-family: var(--font-display); }
.price-amount-lg { font-size: 2.8rem; font-weight: 700; color: var(--navy); line-height: 1; }
.price-period { font-size: 13px; color: var(--text-muted); }
.pricing-features { list-style: none; padding: 0; margin: 20px 0; flex: 1; }
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--slate);
  border-bottom: 1px solid var(--border);
}
.check-icon { color: #38A169; font-size: 16px; flex-shrink: 0; }

/* ── Dashboard Full-Width Layout ───────────────────────── */
.dash-layout {
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - 112px);
  position: relative; /* anchor for absolute overlay sidebar */
}
.dash-sidebar-col {
  width: 240px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  background: var(--white);
}
.dash-content {
  flex: 1;
  min-width: 0;
  padding: 36px 40px;
  overflow-x: hidden;
}
@media (max-width: 991.98px) {
  .dash-sidebar-col { width: 56px; }
  .dash-content { padding: 20px 16px; }
  /* Topbar is hidden on mobile — subtract only navbar height */
  .dash-layout { min-height: calc(100vh - 57px); }
}

/* ── Desktop sidebar collapse toggle ────────────────────── */
.sb-desktop-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  padding: 8px 12px 0;
  background: var(--navy);
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,.5);
  font-size: 16px;
  transition: color .2s;
}
.sb-desktop-toggle:hover { color: rgba(255,255,255,.9); }
.sb-dt-icon { transition: transform .25s ease; }
@media (max-width: 991.98px) {
  .sb-desktop-toggle { display: none; }
}

/* ── Desktop collapsed state ────────────────────────────── */
@media (min-width: 992px) {
  .dash-sidebar-col { transition: width .25s ease; }
  .dash-sidebar-col.sb-collapsed { width: 64px; }
  .dash-sidebar-col.sb-collapsed .dash-sidebar-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    gap: 6px;
  }
  .dash-sidebar-col.sb-collapsed .sb-avatar,
  .dash-sidebar-col.sb-collapsed .sb-avatar--photo {
    width: 38px; height: 38px; font-size: .95rem;
  }
  .dash-sidebar-col.sb-collapsed .sb-user-info { display: none !important; }
  .dash-sidebar-col.sb-collapsed .dash-nav .nav-link {
    padding: 14px 0;
    justify-content: center;
    border-left: none !important;
    border-bottom: 1px solid var(--border);
  }
  .dash-sidebar-col.sb-collapsed .dash-nav .nav-link i { width: auto; }
  .dash-sidebar-col.sb-collapsed .dash-nav .badge { display: none !important; }
  .dash-sidebar-col.sb-collapsed .sidebar-label { display: none !important; }
  .dash-sidebar-col.sb-collapsed .dash-nav > div { display: none; }
  .dash-sidebar-col.sb-collapsed .dash-nav .nav-link.active {
    border-bottom-color: var(--gold);
    border-left: none !important;
    background: var(--surface-2);
  }
  /* Rotate the icon when collapsed */
  .dash-sidebar-col.sb-collapsed .sb-dt-icon { transform: scaleX(-1); }
  /* Show a tooltip-style title on hover when collapsed */
  .dash-sidebar-col.sb-collapsed .dash-nav .nav-link { position: relative; }
}

/* ── Dashboard Sidebar ─────────────────────────────────── */
.dash-sidebar {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow-y: auto;
  position: sticky;
  top: 57px;
  max-height: calc(100vh - 57px);
}
.dash-sidebar-header {
  background: var(--navy);
  color: var(--white);
  padding: 18px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  position: relative;
}
.sb-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.sb-avatar {
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(201,168,76,.25);
}
.sb-avatar--photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 0 0 3px rgba(201,168,76,.25);
}
.sb-avatar-edit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  cursor: pointer;
  transition: opacity .15s ease;
  color: white;
  font-size: 14px;
  margin: 0;
}
.sb-avatar-wrap:hover .sb-avatar-edit { opacity: 1; }
.sb-user-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.dash-sidebar-header .user-name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sb-role-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}
.sb-role-admin  { background: rgba(252,129,129,.15); color: #FCA5A5; }
.sb-role-seller { background: rgba(201,168,76,.2);   color: var(--gold); }
.sb-role-broker { background: rgba(147,197,253,.15); color: #93C5FD; }
.sb-role-buyer  { background: rgba(110,231,183,.15); color: #6EE7B7; }
.dash-nav .nav-link {
  color: var(--slate);
  padding: 11px 20px;
  font-size: 14px;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 3px solid transparent;
  white-space: nowrap;
  transition: var(--transition);
}
.dash-nav .nav-link:hover { background: var(--surface); color: var(--navy); }
.dash-nav .nav-link.active { background: var(--surface); color: var(--navy); border-left-color: var(--gold); font-weight: 600; }
.dash-nav .nav-link i { font-size: 16px; width: 20px; flex-shrink: 0; }

/* Icon-only sidebar on mobile */
@media (max-width: 991.98px) {
  .dash-sidebar-header,
  .dash-nav .sidebar-label,
  .dash-nav .badge { display: none !important; }
  .dash-nav .nav-link {
    padding: 15px 0;
    justify-content: center;
    border-left: none;
    border-bottom: 1px solid var(--border);
  }
  .dash-nav .nav-link i { font-size: 19px; width: auto; }
  .dash-nav .nav-link.active {
    border-left: none;
    border-bottom-color: var(--gold);
    background: var(--surface-2);
  }
  .dash-nav > div { display: none; } /* hide the divider */
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-md); }
.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.stat-icon-navy { background: rgba(11,36,71,.08); color: var(--navy); }
.stat-icon-gold  { background: rgba(201,168,76,.12); color: var(--gold); }
.stat-icon-green { background: rgba(56,161,105,.1);  color: #38A169; }
.stat-icon-red   { background: rgba(229,62,62,.1);   color: #E53E3E; }
.stat-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 3px; }

/* ── Forms ────────────────────────────────────────────── */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  padding: 10px 14px;
  transition: var(--transition);
  color: var(--text);
}
.form-control:focus, .form-select:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(30,77,148,.12);
  outline: none;
}
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 6px;
}
.form-text { font-size: 12px; color: var(--text-muted); }

/* ── Auth pages ───────────────────────────────────────── */
.auth-wrapper {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  background: var(--surface);
  padding: 40px 0;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}
.auth-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.auth-subtitle { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 12px;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Breadcrumb ───────────────────────────────────────── */
.breadcrumb-bar {
  background: var(--surface);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb { margin: 0; font-size: 13px; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }
.breadcrumb-item a { color: var(--navy-light); text-decoration: none; }
.breadcrumb-item a:hover { text-decoration: underline; }
.breadcrumb-item.active { color: var(--text-muted); }

/* ── Valuation tool ───────────────────────────────────── */
.val-result-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}
.val-range { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--gold); }
.val-method-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

/* ── Footer ───────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); margin-top: auto; }
.footer-main { padding: 64px 0 48px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.footer-brand .brand-icon { background: rgba(201,168,76,.15); }
.footer-brand .brand-text { color: var(--white); }
.footer-brand .brand-text strong { color: var(--gold); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.6; max-width: 300px; }
.footer-heading { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--gold); margin-bottom: 14px; font-family: var(--font-body); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li + li { margin-top: 8px; }
.footer-links a { color: rgba(255,255,255,.6); text-decoration: none; font-size: 13px; transition: var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.social-link {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: 15px;
  transition: var(--transition);
}
.social-link:hover { background: var(--gold); color: var(--navy); }
.footer-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.stat-pill {
  background: rgba(255,255,255,.07);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  color: rgba(255,255,255,.7);
}
.stat-pill strong { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}
.footer-bottom--slim { border-top: none; }

/* ── Flash / alerts ───────────────────────────────────── */
.flash-container { position: relative; z-index: 100; }

/* ── Trust bar ────────────────────────────────────────── */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item i { font-size: 20px; color: var(--gold); }
.trust-item-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.trust-item-text span { font-size: 11px; color: var(--text-muted); }

/* ── Table styles ─────────────────────────────────────── */
.table-modern { font-size: 14px; }
.table-modern thead th { background: var(--surface); color: var(--navy); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; border-bottom: 2px solid var(--border); padding: 12px 16px; }
.table-modern tbody td { padding: 14px 16px; vertical-align: middle; border-color: var(--border); }
.table-modern tbody tr:hover { background: var(--surface); }

/* ── Badges ───────────────────────────────────────────── */
.status-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
}
.status-active   { background: rgba(56,161,105,.12); color: #276749; }
.status-pending  { background: rgba(214,158,46,.12); color: #975A16; }
.status-sold     { background: rgba(11,36,71,.08);   color: var(--navy); }
.status-expired  { background: rgba(229,62,62,.1);   color: #9B2C2C; }
.status-draft    { background: rgba(113,128,150,.1); color: #4A5568; }

/* ── Pagination ───────────────────────────────────────── */
.pagination .page-link {
  border: 1.5px solid var(--border);
  color: var(--navy);
  font-size: 14px;
  padding: 7px 13px;
  border-radius: 8px !important;
  margin: 0 2px;
  transition: var(--transition);
}
.pagination .page-link:hover { background: var(--surface); border-color: var(--navy); }
.pagination .page-item.active .page-link { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ── Empty state ──────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state-icon { font-size: 3rem; margin-bottom: 16px; opacity: .4; }
.empty-state h4 { font-size: 1.2rem; font-weight: 700; color: var(--slate); margin-bottom: 8px; }
.empty-state p { font-size: 14px; }

/* ── Mobile global tweaks ───────────────────────────────── */
@media (max-width: 767.98px) {
  /* Hide topbar — frees top space for the logo */
  .topbar { display: none !important; }

  /* Tighten navbar vertical padding so logo sits closer to top edge */
  .main-nav { padding-top: 4px !important; padding-bottom: 4px !important; }

  /* Compact stat cards — without this the icon+gap alone overflows the col */
  .stat-card { padding: 12px 14px; gap: 10px; }
  .stat-icon  { width: 40px; height: 40px; font-size: 18px; border-radius: 10px; }
  .stat-num   { font-size: 1.3rem; }
  .stat-label { font-size: 11px; }

  /* Ensure dashboard content never bleeds past viewport */
  .dash-content { overflow-x: hidden; }
}

/* ── Mobile sidebar toggle ──────────────────────────────── */
.sb-toggle {
  display: none;
}
/* Close (×) button — hidden by default, shown only in open sidebar on mobile */
.sb-close-btn {
  display: none !important;
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
  z-index: 10;
  padding: 0;
}
.sb-close-btn:hover { background: rgba(255,255,255,.22); color: #fff; }
.sb-backdrop {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(11,36,71,.35);
  z-index: 199;
  cursor: pointer;
}
.sb-backdrop.active { display: block; }

@media (max-width: 991.98px) {
  .sb-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 0;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition);
  }
  .sb-toggle:hover { color: var(--navy); background: var(--surface); }
  .sb-toggle-icon { transition: transform .2s ease; display: inline-block; }

  /* ── Open sidebar: overlay, no push ── */
  .dash-sidebar-col.sb-open {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 264px;
    z-index: 200;
    box-shadow: 8px 0 32px rgba(11,36,71,.22);
    border-radius: 0 16px 16px 0;
    overflow: hidden;
  }
  /* Override sticky so no gap appears at top of the overlay */
  .dash-sidebar-col.sb-open .dash-sidebar {
    position: relative;
    top: 0;
    max-height: 100%;
    overflow-y: auto;
    border-radius: 0 16px 16px 0;
  }

  /* Header: centred column layout with gradient */
  .dash-sidebar-col.sb-open .dash-sidebar-header {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 40px 20px 22px;
    background: linear-gradient(160deg, #0b2447 0%, #1a3a6c 100%);
    position: relative;
  }
  .dash-sidebar-col.sb-open .sb-avatar-wrap { margin: 0 auto; }
  .dash-sidebar-col.sb-open .sb-avatar,
  .dash-sidebar-col.sb-open .sb-avatar--photo {
    width: 68px;
    height: 68px;
    font-size: 1.7rem;
    box-shadow: 0 0 0 3px var(--gold), 0 4px 20px rgba(0,0,0,.35);
  }
  .dash-sidebar-col.sb-open .sb-user-info {
    text-align: center;
    width: 100%;
    flex: none;
  }
  .dash-sidebar-col.sb-open .sb-user-info .d-flex {
    justify-content: center;
  }
  .dash-sidebar-col.sb-open .dash-sidebar-header .user-name {
    font-size: 1rem;
    white-space: normal;
    text-align: center;
  }

  /* Nav links in open state */
  .dash-sidebar-col.sb-open .sidebar-label { display: inline !important; }
  .dash-sidebar-col.sb-open .dash-nav .nav-link {
    padding: 12px 20px !important;
    justify-content: flex-start !important;
    border-bottom: none !important;
    border-left: 3px solid transparent;
    font-size: 14px;
    gap: 12px;
  }
  .dash-sidebar-col.sb-open .dash-nav .nav-link:hover {
    background: var(--surface);
    color: var(--navy);
    padding-left: 24px !important;
  }
  .dash-sidebar-col.sb-open .dash-nav .nav-link.active {
    border-left-color: var(--gold) !important;
    border-bottom: none !important;
    background: rgba(201,168,76,.08);
    color: var(--navy);
    font-weight: 600;
  }
  .dash-sidebar-col.sb-open .dash-nav .nav-link i { font-size: 16px !important; width: 20px; }
  .dash-sidebar-col.sb-open .dash-nav .badge { display: inline-flex !important; }
  .dash-sidebar-col.sb-open .dash-nav > div { display: block !important; }

  /* × close button — top-right of header */
  .dash-sidebar-col.sb-open .sb-close-btn { display: flex !important; }
  .dash-sidebar-col.sb-open .sb-toggle { display: none; }

  /* Responsive tables inside dashboard */
  .dash-content .card,
  .dash-content .admin-card { overflow-x: auto; }
  .dash-content table { min-width: 540px; }
}

/* ── Mobile full-screen nav ─────────────────────────────── */
@keyframes navFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 991.98px) {
  /* Kill Bootstrap's height-slide animation so full-screen appears cleanly */
  #navbarMain.collapsing {
    transition: none !important;
    height: auto !important;
  }
  #navbarMain.show {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    background: var(--navy);
    z-index: 1030; /* above sticky navbar */
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 72px 24px 48px; /* top room for close button */
    animation: navFadeIn .18s ease;
  }
  /* Close button — only visible inside open full-screen menu */
  .nav-close-btn {
    display: none;
  }
  #navbarMain.show .nav-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
  }
  .nav-close-btn:hover { background: rgba(255,255,255,.2); }
  #navbarMain.show .navbar-nav {
    align-items: center;
    width: 100%;
    max-width: 380px;
  }
  #navbarMain.show .nav-item { width: 100%; text-align: center; }
  #navbarMain.show .nav-link {
    color: rgba(255,255,255,.9) !important;
    font-size: 1.1rem !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.1) !important;
    justify-content: center;
    text-align: center;
    width: 100%;
    border-left: none !important;
  }
  #navbarMain.show .nav-link:hover { color: var(--gold) !important; }
  #navbarMain.show .nav-link.active { color: var(--gold) !important; }
  #navbarMain.show .nav-link.active::after { display: none !important; }
  /* Dropdowns inside full-screen menu */
  #navbarMain.show .dropdown-menu {
    position: static !important;
    transform: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 0 6px !important;
    text-align: center;
    width: 100%;
  }
  #navbarMain.show .dropdown-item {
    color: rgba(255,255,255,.6) !important;
    padding: 8px 0 !important;
    font-size: .9rem !important;
    background: transparent !important;
    text-align: center;
  }
  #navbarMain.show .dropdown-item:hover { color: var(--gold) !important; background: transparent !important; }
  #navbarMain.show .mega-menu-header { color: rgba(255,255,255,.35) !important; padding: 8px 0 2px !important; text-align: center; }
  #navbarMain.show .dropdown-divider { border-color: rgba(255,255,255,.1) !important; }
  /* Search form — styled for dark overlay */
  #navbarMain.show > form {
    width: 100%;
    max-width: 380px;
    margin: 20px 0 0 !important;
  }
  #navbarMain.show > form .input-group { width: 100% !important; }
  #navbarMain.show > form .input-group-text {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.18) !important;
    color: rgba(255,255,255,.6) !important;
  }
  #navbarMain.show > form .form-control {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.18) !important;
    color: white !important;
  }
  #navbarMain.show > form .form-control::placeholder { color: rgba(255,255,255,.4) !important; }
  #navbarMain.show > form .btn-primary {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--navy) !important;
    font-weight: 700;
  }

  /* ── Mobile account section (logged in) ── */
  #navbarMain.show .mob-account {
    width: 100%;
    max-width: 380px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.15);
  }
  #navbarMain.show .mob-account-user {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding-bottom: 12px;
    margin-bottom: 4px;
  }
  .mob-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .mob-account-name {
    color: white;
    font-weight: 600;
    font-size: 1rem;
  }
  #navbarMain.show .mob-admin-link { color: #ff9966 !important; }
  #navbarMain.show .mob-admin-link:hover { color: #ffbb99 !important; }
  #navbarMain.show .mob-signout-link { color: rgba(255,255,255,.45) !important; }
  #navbarMain.show .mob-signout-link:hover { color: rgba(255,255,255,.75) !important; }

  /* ── Mobile auth section (not logged in) ── */
  #navbarMain.show .mob-auth {
    width: 100%;
    max-width: 380px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.15);
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }
  #navbarMain.show .mob-auth .btn {
    padding: 13px;
    font-size: 1rem;
    border-radius: 10px;
  }
  #navbarMain.show .mob-auth .btn-outline-light {
    border-color: rgba(255,255,255,.35) !important;
  }
  #navbarMain.show .mob-auth .btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    font-weight: 700;
  }
  #navbarMain.show .mob-auth .btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
  }
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 991px) {
  .nav-search { display: none !important; }
  .main-nav .nav-link { padding: 12px 0; }
  .main-nav .nav-link.active::after { display: none; }
  .hero-stats { gap: 20px; }
}
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .auth-card { padding: 28px 20px; }
  .form-card { padding: 24px 16px; }
  .filters-card { position: static; }
  .listing-detail-header { padding: 20px 0; }
  .hero-title { font-size: 2rem; }
}

/* ── Admin Layout ─────────────────────────────────────── */
.admin-wrapper {
  display: flex;
  min-height: calc(100vh - 110px);
  background: #f4f6f9;
}
.admin-sidebar {
  width: 230px;
  flex-shrink: 0;
  background: var(--navy);
  position: sticky;
  top: 110px;
  height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
}
.admin-sidebar-header {
  padding: 20px 20px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-sidebar-header span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.4);
}
.admin-nav-section { padding: 12px 0 4px; }
.admin-nav-section-title {
  padding: 0 20px 5px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.3);
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 20px;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all .15s;
  border-left: 3px solid transparent;
  white-space: nowrap;
}
.admin-nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }
.admin-nav-link.active {
  color: var(--gold);
  background: rgba(201,168,76,.12);
  border-left-color: var(--gold);
  font-weight: 600;
}
.admin-nav-link i { width: 16px; text-align: center; font-size: 14px; flex-shrink: 0; }
.admin-nav-badge {
  margin-left: auto;
  background: #e53e3e;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 20px;
  line-height: 1.6;
}
.admin-sidebar-footer {
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 8px;
}
.admin-content {
  flex: 1;
  padding: 28px 32px;
  min-width: 0;
  overflow-x: hidden;
}
.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--border);
}
.admin-page-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin: 0;
  font-weight: 700;
}
.admin-section-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 14px;
  font-weight: 700;
}
/* Admin quick-stat strip */
.admin-stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.admin-stat-box {
  background: var(--white);
  border-radius: 10px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-stat-box .stat-num { font-size: 1.5rem; }
.admin-card {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 24px;
}
.admin-card-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--white);
}
.admin-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.admin-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
@media (max-width: 991px) {
  .admin-sidebar { width: 200px; }
  .admin-content { padding: 20px 16px; }
}
@media (max-width: 767px) {
  .admin-wrapper { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: static; overflow: visible; }
  .admin-content { padding: 16px; }
}
