/* BeLink Pro Theme CSS — v5.2 Light Themes */
/* ============================================================
   THEME SYSTEM — 6 light themes
   Switch by adding class to <html>:
   .theme-blue | .theme-red | .theme-emerald
   .theme-violet | .theme-teal | (default = gold-light)
============================================================ */

/* ── DEFAULT / GOLD LIGHT ─────────────────────────────────── */
:root {
  --bg:      #fdfaf3;
  --panel:   #fef5de;
  --card:    #ffffff;
  --surface: #ffffff;
  --border:  #edd88a;
  --shadow:  0 4px 20px rgba(184,134,11,.12);
  --r:       16px;
  --text:    #1a1000;
  --muted:   #8a7040;
  --accent:     #b8860b;
  --accent2:    #d4a017;
  --accent-bg:  rgba(184,134,11,.09);
  --accent-bd:  rgba(184,134,11,.30);
  --accent-txt: #b8860b;
  --btn-txt:    #1a1000;
  --gold:    #b8860b;
  --gold2:   #d4a017;
  --gold-bg: rgba(184,134,11,.09);
  --gold-bd: rgba(184,134,11,.30);
  --red:     #c0392b;
  --green:   #1b7a3e;
  --font:    'IBM Plex Sans Arabic', sans-serif;
}

/* ── BLUE ─────────────────────────────────────────────────── */
.theme-blue {
  --bg:#f0f6ff; --panel:#e8f1fc; --card:#ffffff; --surface:#ffffff;
  --border:#d0e3f8; --shadow:0 4px 20px rgba(21,101,192,.12);
  --text:#0d1e35; --muted:#5a7a9e;
  --accent:#1565c0; --accent2:#1976d2;
  --accent-bg:rgba(21,101,192,.08); --accent-bd:rgba(21,101,192,.28);
  --accent-txt:#1565c0; --btn-txt:#ffffff;
  --gold:#1565c0; --gold2:#1976d2;
  --gold-bg:rgba(21,101,192,.08); --gold-bd:rgba(21,101,192,.28);
}
/* ── RED ──────────────────────────────────────────────────── */
.theme-red {
  --bg:#fff5f5; --panel:#ffe9e9; --card:#ffffff; --surface:#ffffff;
  --border:#ffd0d0; --shadow:0 4px 20px rgba(198,40,40,.12);
  --text:#2d0a0a; --muted:#9a5a5a;
  --accent:#c62828; --accent2:#e53935;
  --accent-bg:rgba(198,40,40,.08); --accent-bd:rgba(198,40,40,.28);
  --accent-txt:#c62828; --btn-txt:#ffffff;
  --gold:#c62828; --gold2:#e53935;
  --gold-bg:rgba(198,40,40,.08); --gold-bd:rgba(198,40,40,.28);
}
/* ── EMERALD ──────────────────────────────────────────────── */
.theme-emerald {
  --bg:#f0faf4; --panel:#e2f5ea; --card:#ffffff; --surface:#ffffff;
  --border:#c3e8d0; --shadow:0 4px 20px rgba(27,122,62,.12);
  --text:#0a2018; --muted:#4a7a5a;
  --accent:#1b7a3e; --accent2:#2e9e54;
  --accent-bg:rgba(27,122,62,.08); --accent-bd:rgba(27,122,62,.28);
  --accent-txt:#1b7a3e; --btn-txt:#ffffff;
  --gold:#1b7a3e; --gold2:#2e9e54;
  --gold-bg:rgba(27,122,62,.08); --gold-bd:rgba(27,122,62,.28);
  --green:#1b7a3e;
}
/* ── VIOLET ───────────────────────────────────────────────── */
.theme-violet {
  --bg:#f6f3ff; --panel:#ede8ff; --card:#ffffff; --surface:#ffffff;
  --border:#d8ceff; --shadow:0 4px 20px rgba(94,53,177,.12);
  --text:#1a0e35; --muted:#6e5a9a;
  --accent:#5e35b1; --accent2:#7e57c2;
  --accent-bg:rgba(94,53,177,.08); --accent-bd:rgba(94,53,177,.28);
  --accent-txt:#5e35b1; --btn-txt:#ffffff;
  --gold:#5e35b1; --gold2:#7e57c2;
  --gold-bg:rgba(94,53,177,.08); --gold-bd:rgba(94,53,177,.28);
}
/* ── TEAL ─────────────────────────────────────────────────── */
.theme-teal {
  --bg:#f0fafa; --panel:#e0f4f4; --card:#ffffff; --surface:#ffffff;
  --border:#b8e0e0; --shadow:0 4px 20px rgba(0,121,107,.12);
  --text:#082020; --muted:#3a7070;
  --accent:#00796b; --accent2:#00897b;
  --accent-bg:rgba(0,121,107,.08); --accent-bd:rgba(0,121,107,.28);
  --accent-txt:#00796b; --btn-txt:#ffffff;
  --gold:#00796b; --gold2:#00897b;
  --gold-bg:rgba(0,121,107,.08); --gold-bd:rgba(0,121,107,.28);
}

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

html {
  font-family: var(--font);
  font-size: 15px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  direction: rtl;
}

/* Radial ambient */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 500px at 85% -5%, var(--accent-bg) 0%, transparent 65%),
    radial-gradient(ellipse 600px 400px at -10% 80%, var(--accent-bg) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1160px, 93%); margin: 0 auto; position: relative; z-index: 1; }

/* ============================================================
   SERVICE PROVIDER STYLES
============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.service-card {
  background: linear-gradient(180deg, rgba(255,255,255,.035) 0%, rgba(255,255,255,.015) 100%);
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 20px; transition: border-color .2s, transform .2s;
  cursor: pointer;
}
.service-card:hover { border-color: var(--accent-bd); transform: translateY(-2px); }
.service-card-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.service-avatar {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-bg) 0%, rgba(30,80,160,.15) 100%);
  border: 1px solid var(--gold-bd); display: grid; place-items: center; font-size: 22px;
}
.service-name { font-weight: 800; font-size: 15px; font-family: 'Syne', sans-serif; line-height: 1.3; }
.service-type { color: var(--accent-txt); font-size: 12px; font-weight: 600; margin-top: 2px; }
.service-desc { color: var(--muted); font-size: 12.5px; line-height: 1.7; margin-bottom: 12px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.service-tag { padding: 4px 9px; border-radius: 999px; font-size: 11px; background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--muted); }
.service-price { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); }
.service-price-val { color: var(--accent-txt); font-weight: 800; font-size: 14px; }
.service-price-lbl { color: var(--muted); font-size: 11px; }
.service-single-header {
  background: linear-gradient(180deg, rgba(255,255,255,.04) 0%, transparent 100%);
  border: 1px solid var(--border); border-radius: var(--r); padding: 28px; margin-bottom: 24px;
}
.service-single-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.provider-dashboard-grid { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.rfq-card {
  background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--r); padding: 16px; margin-bottom: 12px;
}
.rfq-card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.rfq-from { font-weight: 700; font-size: 13.5px; }
.rfq-body { color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.plan-card {
  background: var(--card);
  border: 1px solid var(--border); border-radius: var(--r); padding: 28px;
  display: flex; flex-direction: column;
}
.plan-card.featured { border-color: var(--accent-bd); background: linear-gradient(180deg, var(--accent-bg) 0%, rgba(255,255,255,.01) 100%); }
.plan-name { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 900; margin-bottom: 4px; }
.plan-price { font-size: 36px; font-weight: 900; color: var(--accent-txt); line-height: 1; margin: 12px 0 4px; }
.plan-price span { font-size: 14px; color: var(--muted); font-weight: 400; }
.plan-desc { color: var(--muted); font-size: 13px; line-height: 1.7; margin-bottom: 18px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; margin-bottom: 20px; }
.plan-features li { font-size: 13px; display: flex; gap: 8px; align-items: flex-start; }
.plan-features li::before { content: '✓'; color: var(--accent-txt); font-weight: 900; flex-shrink: 0; margin-top: 1px; }
.plan-features li.no::before { content: '✗'; color: var(--muted); }
.plan-features li.no { color: var(--muted); }

/* ============================================================
   PAGE SWITCHER (meta UI, not part of site design)
============================================================ */

/* ============================================================
   SITE HEADER
============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 6px rgba(0,0,0,.07);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.brand-mark { display: none; }
.brand-text {
  font-size: 20px; font-family: 'Syne', sans-serif;
  font-weight: 900; letter-spacing: -.5px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brand-text .muted { opacity: 1; }
.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-links a {
  padding: 8px 12px; border-radius: 10px; color: var(--muted); font-size: 13.5px;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--accent-bg); color: var(--accent-txt); }
.nav-links a.active { color: var(--accent-txt); background: var(--accent-bg); }
.header-actions { display: flex; gap: 8px; align-items: center; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 14px; border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel); color: var(--text); border-color: var(--border);
  font-family: var(--font); font-size: 13.5px; font-weight: 600;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px var(--accent-bg); }
.btn-ghost { background: transparent; }
.btn-gold {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: var(--btn-txt); border-color: var(--accent-bd); font-weight: 800;
  box-shadow: 0 4px 16px var(--accent-bg);
}
.btn-gold:hover { box-shadow: 0 8px 26px var(--accent-bd); }
.btn-lg { padding: 12px 18px; border-radius: 14px; font-size: 14.5px; }
.btn-sm { padding: 6px 11px; border-radius: 9px; font-size: 12px; }
.btn-danger { background: rgba(192,57,43,.15); border-color: rgba(192,57,43,.35); color: #e74c3c; }

/* ============================================================
   BADGES
============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
  border: 1px solid var(--border); background: rgba(255,255,255,.04); color: var(--muted);
}
.badge-gold { border-color: var(--accent-bd); color: var(--accent-txt); background: var(--accent-bg); }
.badge-green { border-color: rgba(26,122,74,.5); color: #2ecc71; background: rgba(26,122,74,.1); }
.badge-red { border-color: rgba(192,57,43,.4); color: #e74c3c; background: rgba(192,57,43,.1); }
.badge-blue { border-color: rgba(52,120,220,.4); color: #5dade2; background: rgba(52,120,220,.1); }

/* ============================================================
   MISC HELPERS
============================================================ */
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }
.hr { height: 1px; background: var(--border); margin: 14px 0; }
.notice {
  padding: 12px 14px; border-radius: 14px;
  border: 1px solid var(--border); background: rgba(255,255,255,.03); color: var(--muted);
  font-size: 13px; line-height: 1.8;
}
.section { padding: 32px 0 48px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-title { font-size: 21px; font-weight: 900; font-family: 'Syne', sans-serif; }
.section-desc { margin-top: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.8; }
.card-meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 12px; margin-top: 6px; }
.card-meta span { display: inline-flex; gap: 5px; align-items: center; }

/* ============================================================
   PANEL
============================================================ */
.panel {
  background: var(--card);
  border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: var(--shadow);
}
.panel-inner { padding: 18px; }
.panel-title { font-weight: 900; font-size: 15px; margin-bottom: 12px; font-family: 'Syne', sans-serif; }

/* ============================================================
   FORM ELEMENTS
============================================================ */
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 13px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--card);
  color: var(--text); font-family: var(--font); font-size: 13.5px; outline: none;
  transition: border-color .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-bd);
}
.form-input::placeholder { color: var(--muted); opacity: .7; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ============================================================
   CARDS
============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  border-radius: 16px; border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden; transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card:hover { border-color: var(--accent-bd); transform: translateY(-2px); box-shadow: 0 10px 28px var(--accent-bg); }
.card-thumb {
  height: 140px;
  background: linear-gradient(135deg, rgba(212,168,75,.08) 0%, rgba(30,60,110,.25) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: rgba(255,255,255,.15);
  border-bottom: 1px solid var(--border);
}
.card-body { padding: 14px; }
.card-kicker { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.card-title { font-weight: 800; font-size: 15px; line-height: 1.5; margin: 6px 0; }
.card-title a { display: block; transition: color .2s; cursor: pointer; }
.card-title a:hover { color: var(--accent-txt); text-decoration: none; }
.card-excerpt { color: var(--muted); font-size: 13px; line-height: 1.8; margin-top: 8px; }
.card-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* ============================================================
   PAGE LAYERS
============================================================ */

/* ============================================================
   PAGE: HOME / HERO
============================================================ */
.hero { padding: 64px 0 40px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--accent-bd); background: var(--accent-bg);
  color: var(--accent-txt); font-weight: 700; font-size: 13px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 46px; line-height: 1.18; font-weight: 900;
  font-family: 'Syne', sans-serif; letter-spacing: -1px; margin-bottom: 14px;
}
.hero-accent { color: var(--accent-txt); }
.hero-desc { color: var(--muted); font-size: 15.5px; line-height: 1.9; max-width: 520px; margin-bottom: 22px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.stat {
  padding: 12px 16px; border-radius: 14px; border: 1px solid var(--border);
  background: var(--card); min-width: 110px;
}
.stat-num { font-size: 22px; font-weight: 900; font-family: 'Syne', sans-serif; }
.stat-lbl { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ============================================================
   PAGE: ARCHIVE (events, press, orgs)
============================================================ */
.archive-head {
  padding: 36px 0 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.archive-filters {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px;
}
.filter-chip {
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--card);
  color: var(--muted); font-size: 12.5px; font-weight: 600; cursor: pointer;
  transition: all .2s;
}
.filter-chip:hover, .filter-chip.active {
  border-color: var(--accent-bd); background: var(--accent-bg); color: var(--accent-txt);
}
.archive-layout { display: grid; grid-template-columns: 260px 1fr; gap: 22px; padding-bottom: 50px; }
.sidebar { display: flex; flex-direction: column; gap: 14px; }
.sidebar-box { border: 1px solid var(--border); border-radius: 14px; padding: 14px; background: var(--card); }
.sidebar-title { font-size: 13px; font-weight: 800; color: var(--muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px; }
.sidebar-item { padding: 8px 10px; border-radius: 10px; font-size: 13px; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.sidebar-item:hover, .sidebar-item.active { background: var(--accent-bg); color: var(--text); }
.sidebar-item.active { color: var(--accent-txt); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 24px 0; }

/* ============================================================
   PAGE: SINGLE EVENT / PRESS / ORG
============================================================ */
.single-wrap { padding: 40px 0 60px; }
.single-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; }
.single-hero {
  height: 220px; border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-bg) 0%, var(--panel) 100%);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 60px; margin-bottom: 18px;
  position: relative; overflow: hidden;
}
.single-hero::after {
  content: '';
  position: absolute; bottom: 0; right: 0; left: 0; height: 80px;
  background: linear-gradient(to top, var(--panel), transparent);
}
.single-heading { font-size: 28px; font-weight: 900; font-family: 'Syne', sans-serif; line-height: 1.3; margin-bottom: 10px; }
.single-meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.single-meta span { display: inline-flex; gap: 5px; align-items: center; }
.article-body {
  border: 1px solid var(--border); border-radius: 16px;
  background: var(--panel); padding: 18px;
  line-height: 2; color: var(--muted); font-size: 14px;
}
.article-body p { margin-bottom: 14px; }
.article-body p:last-child { margin-bottom: 0; }
.aside-box { border: 1px solid var(--border); border-radius: 14px; padding: 16px; background: var(--card); margin-bottom: 14px; }
.aside-title { font-weight: 800; font-size: 14px; margin-bottom: 12px; }
.info-row { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.info-row:last-child { border-bottom: none; }
.info-key { color: var(--muted); }

/* ============================================================
   PAGE: REGISTER
============================================================ */
.auth-wrap { min-height: calc(100vh - 80px); display: flex; align-items: center; justify-content: center; padding: 40px 0; }
.auth-box {
  width: min(500px, 95%);
  background: var(--card);
  border: 1px solid var(--border); border-radius: 22px; padding: 32px;
  box-shadow: var(--shadow);
}
.auth-logo { text-align: center; margin-bottom: 24px; }
.auth-title { font-size: 24px; font-weight: 900; font-family: 'Syne', sans-serif; text-align: center; margin-bottom: 6px; }
.auth-sub { color: var(--muted); font-size: 13.5px; text-align: center; margin-bottom: 24px; }
.type-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 22px; }
.type-tab {
  padding: 12px 8px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--panel); text-align: center; cursor: pointer;
  transition: all .2s; font-size: 13px;
}
.type-tab:hover { border-color: var(--border); }
.type-tab.active { border-color: var(--accent-bd); background: var(--accent-bg); color: var(--accent-txt); }
.type-tab .type-icon { font-size: 22px; margin-bottom: 6px; }
.type-tab .type-name { font-weight: 700; font-size: 12.5px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-footer { margin-top: 18px; text-align: center; color: var(--muted); font-size: 13px; }
.auth-footer a { color: var(--accent-txt); }

/* ============================================================
   PAGE: DASHBOARD
============================================================ */
.dash-layout { display: grid; grid-template-columns: 220px 1fr; gap: 18px; padding: 30px 0 50px; }
.dash-sidebar {
  border: 1px solid var(--border); border-radius: 16px;
  background: var(--card); padding: 14px;
  height: fit-content; position: sticky; top: 80px;
}
.dash-user { text-align: center; padding: 16px 0; border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.dash-avatar {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--btn-txt); font-weight: 900;
}
.dash-name { font-weight: 800; font-size: 14px; }
.dash-role { color: var(--muted); font-size: 12px; margin-top: 3px; }
.dash-nav-item {
  display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 10px;
  color: var(--muted); font-size: 13px; cursor: pointer; transition: all .2s; margin-bottom: 2px;
}
.dash-nav-item:hover { background: var(--panel); color: var(--text); }
.dash-nav-item.active { background: var(--accent-bg); color: var(--accent-txt); }
.dash-nav-item .nav-icon { font-size: 15px; width: 20px; text-align: center; }
.dash-content { min-height: 500px; }
.dash-tab { display: none; }
.dash-tab.active { display: block; }

/* Stats row */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.stat-card {
  border: 1px solid var(--border); border-radius: 14px;
  background: var(--card); padding: 14px;
}
.stat-card-num { font-size: 28px; font-weight: 900; font-family: 'Syne', sans-serif; color: var(--accent-txt); }
.stat-card-lbl { color: var(--muted); font-size: 12px; margin-top: 4px; }

/* Data table */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
  padding: 10px 12px; text-align: right; color: var(--muted); font-size: 12px;
  border-bottom: 1px solid var(--border); font-weight: 600; text-transform: uppercase; letter-spacing: .4px;
}
.data-table td { padding: 11px 12px; border-bottom: 1px solid var(--border); color: var(--text); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--panel); }
.table-wrap { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--card); }

/* ============================================================
   PAGE: CHECK-IN
============================================================ */
.checkin-wrap { min-height: calc(100vh - 80px); display: flex; align-items: center; justify-content: center; padding: 40px 0; }
.checkin-box {
  width: min(460px, 95%);
  background: var(--card); border: 1px solid var(--border);
  border-radius: 22px; padding: 32px; box-shadow: var(--shadow);
  text-align: center;
}
.checkin-icon { font-size: 56px; margin-bottom: 16px; }
.checkin-title { font-size: 22px; font-weight: 900; font-family: 'Syne', sans-serif; margin-bottom: 6px; }
.checkin-sub { color: var(--muted); font-size: 13.5px; line-height: 1.8; margin-bottom: 22px; }
.qr-mock {
  width: 140px; height: 140px; margin: 0 auto 20px;
  border: 2px solid var(--accent-bd); border-radius: 14px;
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px;
  padding: 10px; background: var(--panel);
}
.qr-cell { border-radius: 2px; background: var(--accent); }
.qr-cell.empty { background: transparent; }
.status-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px;
  margin: 16px auto 0;
}
.status-ok { background: rgba(26,122,74,.15); border: 1px solid rgba(26,122,74,.4); color: #2ecc71; }
.status-fail, .status-err { background: rgba(192,57,43,.15); border: 1px solid rgba(192,57,43,.4); color: #e74c3c; }

/* Empty state */
.empty-state {
  text-align: center; padding: 40px 20px;
  color: var(--muted); border: 1px dashed var(--border);
  border-radius: 16px; background: var(--panel);
}

/* Badge status variants (used in app.js) */
.badge--info { border-color: rgba(52,120,220,.35); color: #5dade2; background: rgba(52,120,220,.08); }
.badge--ok   { border-color: rgba(26,122,74,.4); color: #2ecc71; background: rgba(26,122,74,.1); }
.badge--warn { border-color: rgba(212,168,75,.4); color: var(--gold); background: var(--gold-bg); }
.badge--danger { border-color: rgba(192,57,43,.4); color: #e74c3c; background: rgba(192,57,43,.1); }
.status-err { background: rgba(192,57,43,.15); border: 1px solid rgba(192,57,43,.4); color: #e74c3c; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--panel);
  position: relative; z-index: 1;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 22px; padding: 34px 0;
}
.footer-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.footer-desc { color: var(--muted); font-size: 13px; line-height: 1.9; }
.footer-heading { font-weight: 800; font-size: 13px; margin-bottom: 12px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: var(--muted); font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--accent-txt); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 14px 0;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--muted); font-size: 12.5px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a { color: var(--muted); font-size: 15px; transition: color .2s; }
.footer-social a:hover { color: var(--accent-txt); }

/* ============================================================
   MODAL (RSVP / ACCREDITATION)
============================================================ */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  display: none; align-items: center; justify-content: center; z-index: 999;
  padding: 18px;
}
.modal-backdrop.open { display: flex; }
.modal {
  width: min(480px, 97%); border-radius: 20px; border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  animation: modalIn .3s ease;
}
@keyframes modalIn { from { transform: scale(.94) translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--border);
}
.modal-title { font-weight: 900; font-size: 16px; font-family: 'Syne', sans-serif; }
.modal-close {
  background: var(--panel); border: 1px solid var(--border);
  color: var(--muted); border-radius: 10px; padding: 6px 10px; cursor: pointer; font-size: 13px;
}
.modal-body { padding: 16px 18px 18px; }
.modal-desc { color: var(--muted); line-height: 1.8; font-size: 13.5px; margin-bottom: 14px; }
.modal-actions { display: flex; gap: 8px; margin-top: 16px; }

/* ============================================================
   TOAST
============================================================ */
#prv-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--text); border: 1px solid var(--accent-bd);
  color: var(--bg); padding: 11px 22px; border-radius: 12px;
  font-size: 13.5px; z-index: 9999; box-shadow: 0 8px 30px rgba(0,0,0,.5);
  max-width: 90vw; text-align: center; display: none;
}

/* ============================================================
   ORG PROFILE PAGE
============================================================ */
.org-cover {
  height: 180px; border-radius: 16px; margin-bottom: -50px;
  background: linear-gradient(135deg, var(--panel) 0%, var(--accent-bg) 100%);
  border: 1px solid var(--border);
}
.org-avatar {
  width: 90px; height: 90px; border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: 3px solid var(--card); display: flex; align-items: center; justify-content: center;
  font-size: 36px; margin-right: 18px; flex-shrink: 0;
}
.org-meta-bar {
  display: flex; align-items: flex-end; gap: 0; padding: 0 0 16px;
}
.org-info { flex: 1; padding-bottom: 4px; }
.org-name { font-size: 24px; font-weight: 900; font-family: 'Syne', sans-serif; margin-bottom: 4px; }

/* =========================================================/* ============================================================
   AGENDA HERO
============================================================ */
.prv-agenda-hero{ padding: 28px 0 10px; }
.prv-agenda-hero__box{
  position:relative;border-radius:22px;
  border:1px solid var(--border);overflow:hidden;padding:34px;
  background:
    radial-gradient(1200px 400px at 85% 10%, var(--accent-bg), transparent 60%),
    radial-gradient(900px 380px at 10% 80%, var(--accent-bg), transparent 60%),
    linear-gradient(180deg, var(--panel) 0%, var(--card) 100%);
}
.prv-agenda-hero__box::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,.35) 0%,transparent 55%);
  pointer-events:none;
}
.prv-agenda-hero__txt{ position:relative;z-index:1;max-width:720px; }
.prv-agenda-hero__title{ font-size:34px;font-weight:900;font-family:'Syne',sans-serif;margin:10px 0 8px; }
.prv-agenda-hero__desc{ color:var(--muted);line-height:1.8;max-width:620px; }
.prv-agenda-hero__actions{ position:relative;z-index:1;display:flex;gap:10px;margin-top:16px;flex-wrap:wrap; }

/* ============================================================
   WHEN PILLS (replaces old tabs)
============================================================ */
.prv-when-pills{
  display:flex;gap:8px;flex-wrap:wrap;
  padding:16px 0 14px;
}
.prv-when-pill{
  display:inline-flex;align-items:center;gap:5px;
  padding:8px 18px;border-radius:999px;
  border:1.5px solid var(--border);
  background:var(--card);
  font-size:13px;font-weight:700;
  color:var(--muted);cursor:pointer;
  font-family:inherit;white-space:nowrap;
  transition:all .18s;
}
.prv-when-pill:hover{
  border-color:var(--accent-bd);
  background:var(--accent-bg);
  color:var(--accent-txt);
}
.prv-when-pill.active{
  border-color:var(--accent-bd);
  background:var(--accent-bg);
  color:var(--accent-txt);
  box-shadow:0 2px 10px var(--accent-bg);
}

/* ============================================================
   FILTER BAR (marketplace-style single line)
============================================================ */
.prv-fbar{
  display:flex;gap:8px;align-items:center;
  flex-wrap:wrap;
  padding:12px 16px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  margin-bottom:18px;
  position:sticky;top:70px;z-index:30;
  backdrop-filter:blur(12px);
  box-shadow:0 2px 12px rgba(0,0,0,.05);
}
.prv-fbar__search{
  flex:2;min-width:180px;
  position:relative;display:flex;align-items:center;
}
.prv-fbar__search svg{
  position:absolute;right:12px;
  color:var(--muted);pointer-events:none;
  flex-shrink:0;
}
.prv-fbar__input{
  width:100%;
  padding:9px 38px 9px 12px;
  border-radius:10px;
  border:1px solid var(--border);
  background:var(--panel,var(--bg));
  color:var(--text);
  font-size:13.5px;font-family:inherit;
  outline:none;transition:border-color .18s;
}
.prv-fbar__input:focus{ border-color:var(--accent-bd); box-shadow:0 0 0 3px var(--accent-bg); }
.prv-fbar__input::placeholder{ color:var(--muted);opacity:.7; }
.prv-fbar__select{
  flex:1;min-width:120px;
  padding:9px 13px;border-radius:10px;
  border:1px solid var(--border);
  background:var(--panel,var(--bg));
  color:var(--text);font-size:13px;
  font-family:inherit;outline:none;cursor:pointer;
  transition:border-color .18s;
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238a7040' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:left 10px center;
  padding-left:28px;
}
.prv-fbar__select:focus{ border-color:var(--accent-bd); }
.prv-fbar__select option{ background:var(--card);color:var(--text); }
.prv-fbar__reset{
  width:36px;height:36px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  border-radius:10px;border:1px solid var(--border);
  background:transparent;color:var(--muted);
  cursor:pointer;transition:all .18s;
}
.prv-fbar__reset:hover{ border-color:var(--accent-bd);color:var(--accent-txt);background:var(--accent-bg); }

@media(max-width:900px){
  .prv-agenda-hero__box{ padding:22px; }
  .prv-agenda-hero__title{ font-size:26px; }
  .prv-fbar{ position:static;backdrop-filter:none; }
  .prv-fbar__select{ min-width:100px; }
}
@media(max-width:580px){
  .prv-when-pills{ gap:6px; }
  .prv-when-pill{ padding:7px 13px;font-size:12px; }
  .prv-fbar__input,.prv-fbar__select{ font-size:12.5px; }
}


/* ============================================================
   SCROLLBAR
============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .hero-grid, .single-grid, .archive-layout, .dash-layout, .card-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .nav-links { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .form-grid-2 { grid-template-columns: 1fr; }
}


/* Agenda Eventbrite-like topline (city quick filter) */
.prv-agenda-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 18px 20px;
  border:1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: var(--card);
  backdrop-filter: none;
  margin: 14px 0 10px;
}
.prv-agenda-topline__title{
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .2px;
}
.prv-agenda-inline{
  display:flex;
  align-items:center;
  gap:10px;
}
.prv-agenda-inline .form-select{
  min-width: 260px;
  height: 44px;
  border-radius: 14px;
}
.prv-agenda-inline .btn{
  height: 44px;
  border-radius: 14px;
  padding: 0 16px;
}
@media (max-width: 900px){
  .prv-agenda-topline{
    flex-direction:column;
    align-items:stretch;
  }
  .prv-agenda-inline{
    width:100%;
  }
  .prv-agenda-inline .form-select{
    flex:1;
    min-width:0;
  }
}


/* Resend verification block (login) */
.prv-lp-resend{margin-top:12px;padding:12px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(255,255,255,.04)}
.prv-lp-resend-title{font-weight:800;margin-bottom:6px}
.prv-lp-resend-desc{margin:0 0 10px;font-size:13px;opacity:.85}
.prv-lp-resend-row{display:flex;gap:10px;align-items:center}
.prv-lp-resend-row input{flex:1;min-width:0;padding:10px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.18);background:rgba(0,0,0,.18);color:inherit;direction:ltr}
.prv-lp-resend-row .btn{padding:10px 14px;border-radius:12px;border:0;cursor:pointer;font-weight:800}
.prv-lp-resend-msg{margin-top:8px;font-size:13px;opacity:.9}


/* ============================================================
   GENERIC PAGE HERO / BREADCRUMBS / SMART NEWSROOM
============================================================ */
.page-shell { padding-top: 22px; }
.page-hero {
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(232,241,252,.7));
  border: 1px solid var(--border); border-radius: 24px; padding: 24px; margin-bottom: 18px;
  box-shadow: 0 18px 45px rgba(15,23,42,.06);
}
.page-hero-simple { padding-bottom: 18px; }
.prv-breadcrumbs { display:flex; align-items:center; gap:10px; flex-wrap:wrap; color:var(--muted); font-size:12px; margin-bottom:12px; }
.prv-breadcrumbs a { color:var(--muted); text-decoration:none; }
.prv-breadcrumbs .sep { opacity:.55; }
.page-hero-grid { display:grid; grid-template-columns: 1.2fr .8fr; gap:18px; align-items:start; }
.page-hero-kicker { display:inline-flex; align-items:center; gap:8px; padding:7px 12px; border-radius:999px; background:var(--accent-bg); color:var(--accent-txt); font-size:12px; font-weight:800; }
.page-hero-title { margin:10px 0 8px; font-size: clamp(28px, 4vw, 44px); line-height:1.15; font-weight:900; }
.page-hero-desc { margin:0; color:var(--muted); max-width: 70ch; line-height:1.9; }
.page-hero-aside { display:flex; }
.page-help-card { width:100%; background: rgba(255,255,255,.8); border:1px solid var(--border); border-radius:18px; padding:18px; }
.page-help-title { font-size:15px; font-weight:900; margin-bottom:10px; }
.page-help-card ul { margin:0; padding-inline-start:20px; color:var(--muted); line-height:1.9; }
.page-meta-row { display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; }
.meta-chip { display:inline-flex; gap:6px; align-items:center; padding:8px 12px; border-radius:999px; background:rgba(255,255,255,.88); border:1px solid var(--border); font-size:12px; }
.page-content-card { background: var(--card); border:1px solid var(--border); border-radius:24px; overflow:hidden; box-shadow: var(--shadow); }
.page-cover img { width:100%; height:auto; display:block; }
.prose { padding: 24px; line-height: 2; font-size: 15px; }
.prose p:first-child { margin-top: 0; }
.newsroom-hero {
  display:grid; grid-template-columns: 1.2fr .8fr; gap:18px; align-items:center;
  padding:20px; border-radius:22px; border:1px solid rgba(255,255,255,.35);
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(240,246,255,.7));
  box-shadow: 0 16px 44px rgba(15,23,42,.06);
}
.newsroom-hero-kicker { color:var(--accent-txt); font-weight:800; font-size:12px; }
.newsroom-hero-actions { display:flex; justify-content:flex-end; gap:8px; flex-wrap:wrap; }
.newsroom-panel { position:relative; overflow:hidden; }
.newsroom-panel::before { content:''; position:absolute; inset:0 auto auto 0; width:100%; height:3px; background:linear-gradient(90deg,var(--accent),transparent); }
.newsroom-list { display:flex; flex-direction:column; gap:10px; }
.newsroom-item { display:flex; flex-direction:column; gap:4px; padding:12px; border:1px solid var(--border); border-radius:14px; text-decoration:none; color:inherit; background:rgba(255,255,255,.86); }
.newsroom-item:hover { border-color:var(--accent-bd); transform:translateY(-1px); }
.newsroom-item span { color:var(--muted); font-size:12px; }
.newsroom-empty { padding:16px; border-radius:14px; background:var(--panel); color:var(--muted); font-size:13px; }
.dash-layout { grid-template-columns: 260px 1fr; gap: 22px; }
.dash-sidebar {
  padding:16px; border-radius:24px; background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.86));
  box-shadow: 0 22px 48px rgba(15,23,42,.08); border-color: rgba(15,23,42,.08);
}
.dash-user { padding-bottom:18px; margin-bottom:14px; }
.dash-avatar { width:64px; height:64px; border-radius:20px; box-shadow: 0 14px 28px rgba(0,0,0,.12); }
.dash-nav-item { padding:11px 12px; border-radius:14px; font-weight:700; }
.dash-nav-item.active { box-shadow: inset 0 0 0 1px rgba(0,0,0,.04), 0 8px 20px rgba(184,134,11,.12); }
.dash-content > .dash-tab.active { animation: prvFadeUp .25s ease; }
@keyframes prvFadeUp { from { opacity:0; transform: translateY(4px); } to { opacity:1; transform:none; } }
@media (max-width: 980px) {
  .dash-layout, .page-hero-grid, .newsroom-hero, .newsroom-grid { grid-template-columns: 1fr !important; }
  .dash-sidebar { position: static; }
}
@media (max-width: 640px) {
  .page-hero, .page-content-card, .dash-sidebar { border-radius:18px; }
  .page-hero-title { font-size: 28px; }
  .prose { padding:18px; }
}


/* === Header polish: larger logo, shorter header === */
.site-header{padding:0;}
.header-inner{
  min-height:72px;
  padding:8px 0;
  gap:14px;
}
.brand,
.brand .custom-logo-link{
  display:flex;
  align-items:center;
}
.brand img,
.brand .custom-logo,
.brand .custom-logo-link img{
  height:56px !important;
  width:auto !important;
  max-height:56px;
}
.site-nav{flex:1; display:flex; justify-content:center; min-width:0;}
.nav-links{flex-wrap:wrap; justify-content:center;}
.header-actions{flex-shrink:0;}
@media (max-width: 980px){
  .header-inner{min-height:64px; padding:7px 0;}
  .brand img,
  .brand .custom-logo,
  .brand .custom-logo-link img{height:48px !important; max-height:48px;}
}

/* Institutions directory */
.inst-shell{padding:34px 0 56px;background:linear-gradient(180deg,#f6faf9 0,#fff 220px)}
.inst-head{text-align:center;margin-bottom:22px}.inst-kicker{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:#fff;border:1px solid rgba(45,106,79,.16);font-size:12px;font-weight:800;color:#2d6a4f}.inst-title{margin:14px 0 8px;font-size:clamp(30px,4vw,48px);font-weight:950;color:#0f172a}.inst-desc{max-width:760px;margin:0 auto;color:#64748b;line-height:1.9}.inst-filters{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.inst-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.inst-card{padding:18px;border-radius:24px;background:#fff;border:1px solid rgba(226,232,240,.9);box-shadow:0 18px 42px rgba(15,23,42,.05)}.inst-logo{width:72px;height:72px;border-radius:22px;overflow:hidden;background:#eef6f3;display:grid;place-items:center;font-weight:900;font-size:22px;color:#2d6a4f;margin-bottom:14px}.inst-logo img{width:100%;height:100%;object-fit:cover}.inst-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.inst-chip{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:#f8fafc;border:1px solid #e2e8f0;font-size:12px;font-weight:800;color:#334155}.inst-name{font-size:20px;font-weight:900;color:#0f172a;margin-bottom:8px}.inst-excerpt{color:#64748b;line-height:1.9;font-size:14px;min-height:74px}.inst-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.inst-single{padding:34px 0 60px;background:linear-gradient(180deg,#f8fafc 0,#fff 200px)}.inst-hero{display:grid;grid-template-columns:1.25fr .75fr;gap:18px;padding:24px;border-radius:32px;background:linear-gradient(135deg,#0f766e,#134e4a 54%,#0f172a);color:#fff;box-shadow:0 28px 60px rgba(15,23,42,.14)}.inst-summary{display:flex;gap:16px;align-items:flex-start}.inst-avatar{width:110px;height:110px;border-radius:28px;overflow:hidden;background:rgba(255,255,255,.14);display:grid;place-items:center;font-size:42px;font-weight:900;border:1px solid rgba(255,255,255,.28)}.inst-avatar img{width:100%;height:100%;object-fit:cover}.inst-body{display:grid;grid-template-columns:1.12fr .88fr;gap:18px;margin-top:18px}.inst-panel{padding:20px;border-radius:28px;background:#fff;border:1px solid rgba(226,232,240,.9);box-shadow:0 14px 34px rgba(15,23,42,.05)}.inst-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.inst-info{padding:14px;border-radius:20px;background:#f8fafc;border:1px solid #e2e8f0}.inst-info strong{display:block;font-size:12px;color:#64748b;margin-bottom:6px}.inst-info span{font-size:16px;font-weight:900;color:#0f172a}.inst-list{display:grid;gap:10px;margin-top:14px}.inst-list-item{padding:12px 14px;border-radius:18px;background:#f8fafc;border:1px solid #e2e8f0}.inst-list-item b{display:block;margin-bottom:4px}@media (max-width:980px){.inst-hero,.inst-body,.inst-filters{grid-template-columns:1fr}}@media (max-width:640px){.inst-info-grid{grid-template-columns:1fr}}
