@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Playfair+Display:wght@600;700;800&display=swap');

/* ════════════════════════════════════════════════
   TOKENS
════════════════════════════════════════════════ */
:root {
  --navy:          #080f1e;
  --navy-deep:     #0c1729;
  --navy-mid:      #13274a;
  --navy-light:    #1c3a6e;
  --gold:          #c8922a;
  --gold-light:    #e4ac42;
  --gold-pale:     rgba(200,146,42,.13);
  --gold-glow:     rgba(200,146,42,.28);
  --surface:       #f2f5fb;
  --surface-2:     #e8edf8;
  --card:          #ffffff;
  --border:        rgba(0,0,0,.07);
  --text:          #0c1729;
  --text-2:        #374151;
  --muted:         #6b7280;
  --muted-2:       #9ca3af;
  --success:       #059669;
  --danger:        #dc2626;
  --warning:       #d97706;
  --info:          #0284c7;

  --r-xs:  6px;
  --r-sm:  10px;
  --r:     16px;
  --r-lg:  22px;
  --r-xl:  32px;

  --sh-xs: 0 1px 3px rgba(0,0,0,.06);
  --sh-sm: 0 2px 8px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  --sh:    0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.05);
  --sh-lg: 0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.07);
  --sh-xl: 0 24px 64px rgba(0,0,0,.18), 0 8px 20px rgba(0,0,0,.1);
  --sh-gold: 0 6px 24px rgba(200,146,42,.4);

  --ease:  cubic-bezier(.4,0,.2,1);
  --t:     all .2s var(--ease);
  --t-slow: all .38s var(--ease);
}

/* ════════════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--surface);
  color: var(--text);
  font-size: .9375rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.font-serif { font-family: 'Playfair Display', Georgia, serif; }

/* ════════════════════════════════════════════════
   TYPOGRAPHY
════════════════════════════════════════════════ */
h1,h2,h3,h4,h5,h6 { line-height: 1.25; color: var(--text); }
.text-muted         { color: var(--muted) !important; }
.text-gold          { color: var(--gold) !important; }
.text-primary-custom{ color: var(--navy-mid) !important; }

/* ════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════ */
.btn {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: .01em;
  border-radius: var(--r-sm);
  border: none;
  transition: var(--t);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.btn:active { transform: scale(.98); }

.btn-primary-custom {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(19,39,74,.35);
}
.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--navy-light) 0%, #2550a0 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(19,39,74,.45);
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #fff;
  box-shadow: var(--sh-gold);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, #f0c060 100%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(200,146,42,.5);
  transform: translateY(-1px);
}

.btn-outline-secondary {
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--muted);
}
.btn-outline-secondary:hover {
  background: var(--surface);
  border-color: #c5cce0;
  color: var(--text);
}

.btn-outline-primary {
  border: 1.5px solid var(--navy-mid);
  background: transparent;
  color: var(--navy-mid);
}
.btn-outline-primary:hover {
  background: var(--navy-mid);
  color: #fff;
}

.btn-sm { font-size: .8rem; padding: .35rem .75rem; }
.btn-lg { font-size: .95rem; padding: .75rem 1.75rem; }

/* Ghost button used on hero */
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.9);
  border: 1.5px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
  border-color: rgba(255,255,255,.4);
}

/* ════════════════════════════════════════════════
   CARDS
════════════════════════════════════════════════ */
.card {
  background: var(--card);
  border: 1px solid var(--border) !important;
  border-radius: var(--r) !important;
  box-shadow: var(--sh-sm) !important;
  transition: var(--t);
  overflow: hidden;
}
.card:hover { box-shadow: var(--sh) !important; }

.card-header {
  background: var(--card) !important;
  border-bottom: 1px solid var(--border) !important;
  font-weight: 700;
  font-size: .875rem;
  padding: 1.1rem 1.25rem .85rem !important;
  color: var(--text);
}

/* ════════════════════════════════════════════════
   FORMS
════════════════════════════════════════════════ */
.form-control, .form-select {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .875rem;
  color: var(--text);
  background: var(--card);
  border: 1.5px solid #dde3f0;
  border-radius: var(--r-sm);
  padding: .6rem .9rem;
  transition: var(--t);
}
.form-control:focus, .form-select:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(28,58,110,.12);
  background: #fff;
  outline: none;
}
.form-label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}
.form-text { font-size: .75rem; color: var(--muted); }
textarea.form-control { resize: vertical; }

.section-label {
  display: inline-block;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--navy-mid);
  border-bottom: 2px solid var(--gold);
  padding-bottom: .4rem;
  margin-bottom: 1rem;
}

/* ════════════════════════════════════════════════
   BADGES
════════════════════════════════════════════════ */
.badge {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 5px;
  padding: .28em .7em;
}
.bg-primary-custom { background: var(--navy-mid) !important; }
.bg-navy            { background: var(--navy-mid) !important; }
.bg-gold            { background: var(--gold) !important; color: #fff !important; }

/* ════════════════════════════════════════════════
   ALERTS
════════════════════════════════════════════════ */
.alert {
  border: none;
  border-left: 4px solid;
  border-radius: var(--r-sm);
  font-size: .875rem;
  padding: .9rem 1.1rem;
}
.alert-success { background: #f0fdf7; color: #065f46; border-color: var(--success); }
.alert-danger  { background: #fff1f0; color: #7f1d1d; border-color: var(--danger); }
.alert-warning { background: #fffbeb; color: #78350f; border-color: var(--warning); }

/* ════════════════════════════════════════════════
   TABLES
════════════════════════════════════════════════ */
.table { font-size: .875rem; color: var(--text); }
.table > :not(caption) > * > * { padding: .8rem 1rem; vertical-align: middle; }
.table thead th {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  background: var(--surface) !important;
  border-bottom: 1px solid var(--border) !important;
  border-top: none;
  white-space: nowrap;
}
.table tbody tr { border-bottom: 1px solid rgba(0,0,0,.04); transition: background .1s; }
.table tbody tr:last-child { border-bottom: none; }
.table-hover tbody tr:hover { background: rgba(19,39,74,.03) !important; }
.table-success-soft { background: rgba(5,150,105,.05) !important; }

/* ════════════════════════════════════════════════
   CODE / ID CHIPS
════════════════════════════════════════════════ */
code {
  font-size: .75rem;
  background: rgba(19,39,74,.07);
  color: var(--navy-mid);
  padding: .15em .5em;
  border-radius: 4px;
  font-family: 'JetBrains Mono','Fira Code',monospace;
}

/* ════════════════════════════════════════════════
   LIST GROUP
════════════════════════════════════════════════ */
.list-group-item {
  border-color: var(--border) !important;
  font-size: .875rem;
  padding: .8rem 1rem;
}

/* ════════════════════════════════════════════════
   STAT CARDS (admin)
════════════════════════════════════════════════ */
.stat-card {
  border-radius: var(--r) !important;
  background: var(--card);
  border: 1px solid var(--border) !important;
  box-shadow: var(--sh-sm) !important;
  overflow: hidden;
  transition: var(--t);
}
.stat-card:hover { box-shadow: var(--sh) !important; transform: translateY(-2px); }

.stat-card .sc-inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  position: relative;
}
.stat-card .sc-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.stat-card .sc-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.stat-card .sc-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.stat-card .sc-stripe {
  height: 3px;
  width: 100%;
}
.sc-icon.navy  { background: rgba(19,39,74,.1);   color: var(--navy-mid); }
.sc-icon.gold  { background: rgba(200,146,42,.12); color: var(--gold); }
.sc-icon.green { background: rgba(5,150,105,.1);  color: var(--success); }
.sc-icon.blue  { background: rgba(2,132,199,.1);  color: var(--info); }

.stat-card.accent-navy  .sc-stripe { background: linear-gradient(90deg, var(--navy-mid), var(--navy-light)); }
.stat-card.accent-gold  .sc-stripe { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.stat-card.accent-green .sc-stripe { background: linear-gradient(90deg, #059669, #34d399); }
.stat-card.accent-blue  .sc-stripe { background: linear-gradient(90deg, #0284c7, #38bdf8); }

/* ════════════════════════════════════════════════
   MEMBERSHIP TIER CARDS
════════════════════════════════════════════════ */
.tier-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
  transition: var(--t);
  background: var(--card);
  height: 100%;
  user-select: none;
}
.tier-option input[type="radio"] { display: none; }
.tier-option:hover { border-color: var(--navy-light); background: rgba(19,39,74,.03); }
.tier-option.selected,
.tier-option:has(input:checked) {
  border-color: var(--navy-mid);
  background: rgba(19,39,74,.05);
  box-shadow: 0 0 0 3px rgba(19,39,74,.1);
}
.tier-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  color: var(--navy-mid);
  margin-bottom: .6rem;
  transition: var(--t);
}
.tier-option.selected .tier-icon,
.tier-option:has(input:checked) .tier-icon { background: var(--navy-mid); color: #fff; }
.tier-name { font-size: .8rem; font-weight: 700; color: var(--text); margin-bottom: .25rem; }
.tier-desc { font-size: .71rem; color: var(--muted); line-height: 1.45; }

/* ════════════════════════════════════════════════
   SUCCESS BANNER
════════════════════════════════════════════════ */
.success-banner {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1.5px solid #6ee7b7;
  border-radius: var(--r);
  padding: 2.5rem;
  text-align: center;
}
.success-banner .check-circle {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--success), #34d399);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem;
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(5,150,105,.35);
}

/* ════════════════════════════════════════════════
   ██████  PUBLIC LAYOUT
════════════════════════════════════════════════ */

/* ── Nav ───────────────────────────────────────── */
.public-nav {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: .9rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}
.public-nav .brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: -.01em;
}
.public-nav .brand-full {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  font-weight: 400;
}
.pub-brand-dot {
  width: 9px; height: 9px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--gold-pale), 0 0 12px var(--gold-glow);
}

/* ── Hero ─────────────────────────────────────── */
.public-hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--navy-deep);
  background-image:
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(200,146,42,.14) 0%, transparent 65%),
    radial-gradient(ellipse 55% 55% at 5% 90%,  rgba(28,58,110,.5) 0%, transparent 65%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 45%, var(--navy-mid) 100%);
}

/* Dot-grid overlay */
.public-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Decorative arc */
.public-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 80px;
  background: var(--surface);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0 7rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(200,146,42,.15);
  border: 1px solid rgba(200,146,42,.3);
  border-radius: 999px;
  padding: .3rem .9rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-eyebrow i { font-size: .8rem; }

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-title .gold-word { color: var(--gold-light); }

.hero-tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  font-weight: 400;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-divider {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; }

/* Hero stat pills */
.hero-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .2rem;
}
.hero-stat-divider {
  width: 1px;
  background: rgba(255,255,255,.12);
  align-self: stretch;
}

/* ── Event / Feature Cards (public) ───────────── */
.pub-cards-section { padding: 0 0 5rem; position: relative; z-index: 1; }

.pub-card {
  border-radius: var(--r-lg) !important;
  overflow: hidden;
  transition: var(--t-slow);
  height: 100%;
  border: none !important;
}
.pub-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl) !important;
}

/* Member card — light */
.pub-card-light {
  background: var(--card);
  border: 1px solid var(--border) !important;
  box-shadow: var(--sh) !important;
}
.pub-card-light .pc-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 6px 16px rgba(19,39,74,.3);
  margin-bottom: 1.25rem;
}

/* Event cards — dark */
.pub-card-dark {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 50%, var(--navy-mid) 100%);
  box-shadow: 0 8px 32px rgba(8,15,30,.4) !important;
  position: relative;
  text-align: center;
  align-items: center;
}
.pub-card-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  border-radius: inherit;
}
.pub-card-dark .pc-accent {
  height: 4px;
  border-radius: 0;
  position: absolute;
  top: 0; left: 0; right: 0;
}
.pub-card-dark.jan .pc-accent {
  background: linear-gradient(90deg, var(--gold), var(--gold-light), rgba(200,146,42,0));
}
.pub-card-dark.jun .pc-accent {
  background: linear-gradient(90deg, #059669, #34d399, rgba(5,150,105,0));
}

.pub-card-dark .pc-year {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(255,255,255,.35);
  margin-bottom: .5rem;
}
.pub-card-dark .pc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}
.pub-card-dark.jan .pc-icon { background: var(--gold-pale); color: var(--gold-light); border: 1px solid rgba(200,146,42,.25); margin: auto; }
.pub-card-dark.jun .pc-icon { background: rgba(5,150,105,.12); color: #34d399; border: 1px solid rgba(5,150,105,.2); }

.pub-card-dark .pc-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: .6rem;
}
.pub-card-dark .pc-theme {
  font-size: .85rem;
  font-style: italic;
  color: rgba(255,255,255,.55);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.pub-card-dark.jan .pc-theme { color: var(--gold-light); opacity: .8; }
.pub-card-dark.jun .pc-theme { color: #6ee7b7; opacity: .9; }

.pub-card-dark .pc-meta {
  font-size: .78rem;
  color: rgba(255,255,255,.38);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  margin-bottom: 1.5rem;
}
.pub-card-dark .pc-meta i { margin-right: .4rem; }
.pub-card-dark .pc-meta span { display: flex; align-items: center; justify-content: center; }
.pub-card-dark .btn { width: 100%; }

.pub-card-light .pc-label {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--navy-mid);
  margin-bottom: .3rem;
}
.pub-card-light .pc-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .75rem;
}
.pub-card-light .pc-desc {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* disabled button on closed events */
.btn-disabled {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.28);
  border: 1px solid rgba(255,255,255,.1);
  cursor: not-allowed;
  width: 100%;
  padding: .65rem;
  border-radius: var(--r-sm);
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
}

/* ── Footer ───────────────────────────────────── */
.public-footer {
  background: var(--navy);
  padding: 3rem 0;
  text-align: center;
}
.public-footer .ft-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  margin-bottom: .5rem;
}
.public-footer .ft-sub {
  font-size: .78rem;
  color: rgba(255,255,255,.28);
}
.public-footer .ft-divider {
  width: 40px; height: 2px;
  background: var(--gold);
  margin: 1rem auto;
  border-radius: 2px;
  opacity: .5;
}

/* ════════════════════════════════════════════════
   ██████  ADMIN LAYOUT
════════════════════════════════════════════════ */
.admin-body { margin: 0; min-height: 100vh; background: var(--surface); }

/* ── Top bar ──────────────────────────────────── */
.admin-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  z-index: 1040;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  box-shadow: 0 1px 12px rgba(0,0,0,.05);
}
.admin-topbar .tb-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 230px;
  text-decoration: none;
}
.tb-brand-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: .85rem;
  box-shadow: 0 3px 10px rgba(19,39,74,.3);
  flex-shrink: 0;
}
.tb-brand-name {
  font-weight: 800;
  font-size: .95rem;
  color: var(--text);
  letter-spacing: -.01em;
}
.tb-brand-pill {
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: var(--gold-pale);
  color: var(--gold);
  border: 1px solid rgba(200,146,42,.25);
  border-radius: 99px;
  padding: .15em .55em;
  margin-left: .15rem;
}
.admin-user-info {
  font-size: .8rem;
  color: var(--muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .35rem;
}

/* ── Sidebar ──────────────────────────────────── */
.admin-sidebar {
  position: fixed;
  top: 60px; left: 0;
  width: 240px;
  bottom: 0;
  background: linear-gradient(180deg, var(--navy) 0%, #0a1625 100%);
  overflow-y: auto;
  padding: 1.5rem .75rem 1rem;
  display: flex;
  flex-direction: column;
  z-index: 1030;
  box-shadow: 2px 0 24px rgba(0,0,0,.18);
}
.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }

.sb-section {
  font-size: .6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.25);
  padding: 1.2rem .65rem .4rem;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .62rem .75rem;
  border-radius: 10px;
  font-size: .825rem;
  font-weight: 500;
  color: rgba(255,255,255,.48);
  text-decoration: none;
  transition: var(--t);
  position: relative;
  margin-bottom: 1px;
}
.sidebar-link i { font-size: .95rem; width: 18px; text-align: center; flex-shrink: 0; }
.sidebar-link:hover {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.85);
}
.sidebar-link.active {
  background: rgba(200,146,42,.13);
  color: #fff;
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--gold);
}
.sidebar-link.active i { color: var(--gold-light); }
.sidebar-link.active::after {
  content: '';
  position: absolute;
  right: .6rem;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold-glow);
}
.sb-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.07);
}

/* ── Main content ─────────────────────────────── */
.admin-main {
  margin-left: 240px;
  padding-top: 60px;
  min-height: 100vh;
}
.admin-main-inner { padding: 2rem 2rem 3rem; }

/* Page header */
.page-header { margin-bottom: 2rem; }
.page-header h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  letter-spacing: -.02em;
}
.page-header .ph-sub {
  font-size: .8rem;
  color: var(--muted);
  margin-top: .2rem;
}

/* Tier breakdown bar */
.tier-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
}
.tier-bar-label {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted-2);
}

/* ════════════════════════════════════════════════
   ADMIN LOGIN PAGE
════════════════════════════════════════════════ */
.login-page {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 40%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.login-card {
  background: var(--card);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  padding: 2.75rem 2.5rem;
  width: 400px;
  max-width: 95vw;
  position: relative;
  z-index: 1;
}
.login-logo {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 6px 20px rgba(19,39,74,.3);
  margin: 0 auto 1rem;
}

/* ════════════════════════════════════════════════
   SCROLLBAR
════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ced4e0; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #b0b8cc; }
