/* ============================================================
   Sir Shopalot Client Portal — Stylesheet
   Woow Reality | sirshopalot.woowreality.com
   ============================================================ */

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

/* ─── Variables ─────────────────────────────────────────── */
:root {
  --navy:       #0C2340;
  --navy-light: #112d52;
  --navy-mid:   #0f3060;
  --blue:       #185FA5;
  --blue-light: #1e74cc;
  --gold:       #C9942A;
  --gold-light: #e8ab33;
  --teal:       #0F6E56;
  --teal-light: #14956f;
  --purple:     #534AB7;
  --purple-light:#6b61d6;
  --coral:      #993C1D;
  --coral-light:#c44e25;
  --amber:      #854F0B;
  --amber-light:#b06c0f;
  --gray:       #4a5568;
  --surface:    #0e2847;
  --surface-2:  #132f58;
  --surface-3:  #183665;
  --border:     rgba(255,255,255,0.07);
  --border-gold:rgba(201,148,42,0.3);
  --text:       #e8edf5;
  --text-muted: #7a90aa;
  --text-dim:   #4d6480;
  --shadow:     0 4px 24px rgba(0,0,0,0.35);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.25);
  --radius:     12px;
  --radius-sm:  8px;
  --radius-lg:  18px;
  --transition: all 0.22s ease;
  --sidebar-w:  260px;
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; display: block; }
input, textarea, select, button { font-family: inherit; }

/* ─── Login Page ─────────────────────────────────────────── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(24,95,165,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(201,148,42,0.10) 0%, transparent 60%);
  padding: 24px;
}
.login-box {
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 52px 44px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.5);
}
.login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 36px;
  gap: 12px;
}
.login-logo .wordmark {
  font-family: 'Sora', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.5px;
}
.login-logo .sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.login-logo .icon-ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy-mid) 100%);
  border: 2px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}

/* ─── Layout ─────────────────────────────────────────────── */
.portal-wrap {
  display: flex;
  min-height: 100vh;
}

/* ─── Sidebar ────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  overflow-y: auto;
  transition: transform 0.3s ease;
}
.sidebar-header {
  padding: 28px 24px 20px;
  border-bottom: 1px solid var(--border);
}
.sidebar-logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.3px;
}
.sidebar-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 2px;
}
.sidebar-role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.7rem;
  color: var(--gold);
  background: rgba(201,148,42,0.12);
  border: 1px solid var(--border-gold);
  border-radius: 30px;
  padding: 3px 10px;
  font-weight: 500;
}
.sidebar-nav {
  flex: 1;
  padding: 16px 0;
}
.nav-section-label {
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 16px 24px 6px;
  font-weight: 600;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 24px;
  color: var(--text-muted);
  font-size: 0.87rem;
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
  cursor: pointer;
}
.nav-item:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border-left-color: var(--border-gold);
}
.nav-item.active {
  color: var(--gold);
  background: rgba(201,148,42,0.08);
  border-left-color: var(--gold);
}
.nav-item .nav-icon { width: 18px; text-align: center; font-size: 1rem; }
.sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-user-role {
  font-size: 0.68rem;
  color: var(--text-muted);
}
.logout-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  padding: 4px;
}
.logout-btn:hover { color: var(--coral-light); }

/* ─── Main Content ───────────────────────────────────────── */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 36px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar-title {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.page-content {
  padding: 36px;
  flex: 1;
}

/* ─── Hamburger (mobile) ─────────────────────────────────── */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 6px;
}

/* ─── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.card:hover { border-color: rgba(255,255,255,0.12); }
.card-title {
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-title span { color: var(--gold); }

/* ─── Stat Cards ─────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent-color, var(--gold));
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stat-icon {
  font-size: 1.4rem;
  margin-bottom: 12px;
  opacity: 0.8;
}
.stat-value {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* ─── Presentation Cards ─────────────────────────────────── */
.pres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.pres-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.pres-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(201,148,42,0.3);
}
.pres-thumb {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  position: relative;
  overflow: hidden;
}
.pres-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
}
.pres-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.pres-category {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}
.pres-title {
  font-family: 'Sora', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.35;
}
.pres-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 16px;
}
.pres-actions { display: flex; gap: 8px; }

/* ─── Tables ─────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
thead th {
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,0.03); }
tbody tr.paid-row { opacity: 0.7; }

/* ─── Progress Bar ───────────────────────────────────────── */
.progress-wrap { width: 100%; background: rgba(255,255,255,0.06); border-radius: 30px; height: 6px; overflow: hidden; }
.progress-bar { height: 100%; border-radius: 30px; background: var(--blue); transition: width 0.4s ease; }
.progress-bar.teal  { background: var(--teal); }
.progress-bar.gold  { background: var(--gold); }
.progress-bar.coral { background: var(--coral); }

/* ─── Badges ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 30px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-blue   { background: rgba(24,95,165,0.2);  color: #5ba3e0; border: 1px solid rgba(24,95,165,0.4); }
.badge-gold   { background: rgba(201,148,42,0.18); color: #e8ab33; border: 1px solid rgba(201,148,42,0.4); }
.badge-teal   { background: rgba(15,110,86,0.2);  color: #2ec4a0; border: 1px solid rgba(15,110,86,0.4); }
.badge-purple { background: rgba(83,74,183,0.2);  color: #9b93f0; border: 1px solid rgba(83,74,183,0.4); }
.badge-coral  { background: rgba(153,60,29,0.2);  color: #e06040; border: 1px solid rgba(153,60,29,0.4); }
.badge-amber  { background: rgba(133,79,11,0.2);  color: #d4882a; border: 1px solid rgba(133,79,11,0.4); }
.badge-gray   { background: rgba(74,85,104,0.2);  color: #8a9ab0; border: 1px solid rgba(74,85,104,0.4); }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-light); color: #fff; transform: translateY(-1px); }
.btn-gold {
  background: var(--gold);
  color: #0C2340;
}
.btn-gold:hover { background: var(--gold-light); color: #0C2340; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.2); color: var(--text); background: rgba(255,255,255,0.05); }
.btn-danger {
  background: rgba(153,60,29,0.2);
  color: var(--coral-light);
  border: 1px solid rgba(153,60,29,0.3);
}
.btn-danger:hover { background: var(--coral); color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 0.76rem; }
.btn-xs { padding: 4px 10px; font-size: 0.7rem; }

/* ─── Forms ──────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 7px;
  text-transform: uppercase;
}
.form-control {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 11px 15px;
  font-size: 0.87rem;
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--blue);
  background: var(--surface-3);
  box-shadow: 0 0 0 3px rgba(24,95,165,0.18);
}
.form-control::placeholder { color: var(--text-dim); }
textarea.form-control { min-height: 110px; resize: vertical; }
select.form-control { cursor: pointer; }
.form-row { display: grid; gap: 16px; }
.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
.form-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-hint {
  font-size: 0.73rem;
  color: var(--text-dim);
  margin-top: 5px;
}
.form-error {
  font-size: 0.75rem;
  color: #e06040;
  margin-top: 5px;
}

/* ─── Alerts ─────────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}
.alert-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: rgba(15,110,86,0.15); border: 1px solid rgba(15,110,86,0.3); color: #2ec4a0; }
.alert-error   { background: rgba(153,60,29,0.15); border: 1px solid rgba(153,60,29,0.3); color: #e06040; }
.alert-info    { background: rgba(24,95,165,0.15); border: 1px solid rgba(24,95,165,0.3); color: #5ba3e0; }
.alert-warning { background: rgba(133,79,11,0.15); border: 1px solid rgba(133,79,11,0.3); color: #d4882a; }

/* ─── Announcement Feed ──────────────────────────────────── */
.announcement-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 14px;
  border-left: 3px solid var(--blue);
  transition: var(--transition);
}
.announcement-item.priority-important { border-left-color: var(--gold); }
.announcement-item.priority-urgent    { border-left-color: var(--coral); }
.announcement-item:hover { background: var(--surface-2); }
.announcement-title {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.announcement-body {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}
.announcement-meta {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ─── Status Bar ─────────────────────────────────────────── */
.status-bar {
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.status-bar .status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(201,148,42,0.5);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.15); }
}
.status-bar .status-text {
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.status-bar .status-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ─── Upload Zone ────────────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--surface);
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--blue);
  background: rgba(24,95,165,0.06);
}
.upload-zone .upload-icon { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.7; }
.upload-zone p { color: var(--text-muted); font-size: 0.85rem; }
.upload-zone strong { color: var(--blue-light); }

/* ─── Budget Meter ───────────────────────────────────────── */
.budget-row { padding: 16px 0; border-bottom: 1px solid var(--border); }
.budget-row:last-child { border-bottom: none; }
.budget-label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}
.budget-amounts { font-size: 0.74rem; color: var(--text-muted); }

/* ─── Directory Cards ────────────────────────────────────── */
.dir-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}
.dir-card:hover { border-color: rgba(255,255,255,0.14); box-shadow: var(--shadow-sm); }
.dir-name {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.dir-type {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.dir-meta { font-size: 0.78rem; color: var(--text-muted); line-height: 1.8; }
.dir-meta a { color: var(--blue-light); }
.dir-meta a:hover { color: var(--gold-light); }

/* ─── Checklist Form ─────────────────────────────────────── */
.checklist-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}
.checklist-section-title {
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.checklist-option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.checklist-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.checklist-option input[type="checkbox"],
.checklist-option input[type="radio"] {
  accent-color: var(--blue);
  width: 16px; height: 16px;
}
.checklist-option span {
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* ─── Modal ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%;
  max-width: 560px;
  box-shadow: 0 16px 64px rgba(0,0,0,0.6);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-close {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1.3rem;
  transition: var(--transition);
}
.modal-close:hover { color: var(--text); }

/* ─── Page Header ────────────────────────────────────────── */
.page-header {
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.page-header-left {}
.page-header h1 {
  font-family: 'Sora', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}
.page-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ─── Empty State ────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { font-family: 'Sora', sans-serif; font-size: 1rem; color: var(--text); margin-bottom: 8px; }
.empty-state p { font-size: 0.83rem; }

/* ─── Divider ────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

/* ─── Tags ───────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 30px;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: var(--surface-3);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ─── Utilities ──────────────────────────────────────────── */
.mt-0  { margin-top: 0; }
.mt-12 { margin-top: 12px; }
.mt-20 { margin-top: 20px; }
.mt-28 { margin-top: 28px; }
.mb-0  { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.flex  { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center  { display: flex; align-items: center; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.text-muted { color: var(--text-muted); }
.text-gold   { color: var(--gold); }
.text-teal   { color: var(--teal-light); }
.text-coral  { color: var(--coral-light); }
.text-sm     { font-size: 0.82rem; }
.text-xs     { font-size: 0.72rem; }
.font-sora   { font-family: 'Sora', sans-serif; }
.fw-600      { font-weight: 600; }
.fw-700      { font-weight: 700; }
.text-center { text-align: center; }
.w-100       { width: 100%; }

/* ─── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ─── Thumb colors for pres cards ───────────────────────── */
.thumb-blue   { background: linear-gradient(135deg, #0f3060 0%, #185FA5 100%); }
.thumb-gold   { background: linear-gradient(135deg, #5a3a06 0%, #C9942A 100%); }
.thumb-teal   { background: linear-gradient(135deg, #063d2d 0%, #0F6E56 100%); }
.thumb-purple { background: linear-gradient(135deg, #2a2570 0%, #534AB7 100%); }
.thumb-coral  { background: linear-gradient(135deg, #4d1a0a 0%, #993C1D 100%); }

/* ─── Mobile Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
  .hamburger {
    display: block;
  }
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99;
  }
  .sidebar-overlay.open {
    display: block;
  }
  .page-content {
    padding: 24px 20px;
  }
  .topbar {
    padding: 0 20px;
  }
  .form-row.cols-2, .form-row.cols-3 { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .page-header { flex-direction: column; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .login-box { padding: 36px 24px; }
  .stat-grid { grid-template-columns: 1fr; }
  .pres-grid { grid-template-columns: 1fr; }
}
