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

:root {
  --navy: #0D1B2A;
  --navy-mid: #1A2E42;
  --navy-soft: #243D55;
  --gold: #C8973A;
  --gold-light: #E8B85A;
  --gold-pale: rgba(200,151,58,0.1);
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --gray-50: #F8F7F5;
  --gray-100: #EFEFED;
  --gray-200: #E0DEDB;
  --gray-300: #C8C6C0;
  --gray-500: #888780;
  --gray-700: #444441;
  --success: #1D9E75;
  --success-bg: #E1F5EE;
  --danger: #E24B4A;
  --danger-bg: #FCEBEB;
  --warning: #BA7517;
  --warning-bg: #FAEEDA;
  --info: #185FA5;
  --info-bg: #E6F1FB;
  --font-display: 'Fraunces', serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.05);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --sidebar-w: 240px;
  --transition: 0.18s ease;
}

html { font-size: 15px; scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--navy); background: var(--gray-50); line-height: 1.6; -webkit-font-smoothing: antialiased; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }
code { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 12px; background: var(--gray-100); padding: 2px 7px; border-radius: 4px; color: var(--navy); letter-spacing: -0.01em; }
small { font-size: 12px; color: var(--gray-500); }

/* ─── SVG Icons ──────────────────────────────────── */
.icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon svg { display: block; }
.icon-sm svg { width: 14px; height: 14px; }
.icon-md svg { width: 16px; height: 16px; }
.icon-lg svg { width: 20px; height: 20px; }
.icon-xl svg { width: 24px; height: 24px; }

/* ─── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 500;
  padding: 9px 18px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: all var(--transition); text-decoration: none;
  white-space: nowrap; letter-spacing: 0.01em; line-height: 1;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn svg { width: 15px; height: 15px; }

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

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

.btn-ghost { background: transparent; color: var(--gray-700); border-color: var(--gray-200); }
.btn-ghost:hover { border-color: var(--gray-500); color: var(--navy); background: var(--gray-50); }

.btn-success { background: var(--success); color: white; border-color: var(--success); }
.btn-success:hover { background: #178A64; }
.btn-danger  { background: var(--danger); color: white; border-color: var(--danger); }
.btn-danger:hover  { background: #C73B3A; }

.btn-sm  { padding: 6px 13px; font-size: 12.5px; }
.btn-lg  { padding: 12px 24px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* ─── Alerts ────────────────────────────────────── */
.alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 13px 16px; border-radius: var(--radius); font-size: 14px;
  margin-bottom: 20px; border: 1px solid;
}
.alert svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: var(--success-bg); color: #085041; border-color: #A8DECE; }
.alert-danger  { background: var(--danger-bg);  color: #501313; border-color: #F5BFBF; }
.alert-warning { background: var(--warning-bg); color: #412402; border-color: #E8C98A; }
.alert-info    { background: var(--info-bg);    color: #042C53; border-color: #9DC0E8; }

/* ─── Badges ────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 20px; font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.01em;
}
.badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.badge-success  { background: var(--success-bg); color: #085041; }
.badge-danger   { background: var(--danger-bg);  color: #791F1F; }
.badge-warning  { background: var(--warning-bg); color: #633806; }
.badge-info     { background: var(--info-bg);    color: #0C447C; }
.badge-primary  { background: #EEEDFE; color: #3C3489; }
.badge-dark     { background: var(--gray-700); color: white; }
.badge-secondary { background: var(--gray-100); color: var(--gray-700); }

/* ─── Forms ─────────────────────────────────────── */
.field { margin-bottom: 18px; }
.field label {
  display: flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600; color: var(--gray-500);
  margin-bottom: 7px; letter-spacing: 0.05em; text-transform: uppercase;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 14px;
  color: var(--navy); background: var(--white);
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  padding: 10px 13px; outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--gray-300); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gray-300); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,151,58,0.12);
}
.field textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23888780' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 36px; cursor: pointer;
}
.field-hint { font-size: 12px; color: var(--gray-500); margin-top: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* ─── Tables ────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.data-table thead { background: var(--gray-50); }
.data-table th {
  text-align: left; padding: 11px 16px;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--gray-500);
  border-bottom: 1.5px solid var(--gray-100);
}
.data-table td { padding: 13px 16px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr { transition: background var(--transition); }
.data-table tbody tr:hover td { background: #FAFAF8; }
.empty-row { text-align: center; color: var(--gray-500); padding: 48px 16px !important; }
.empty-row-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty-row-inner svg { width: 32px; height: 32px; color: var(--gray-300); }
.empty-row-inner p { font-size: 14px; }

/* ─── AUTH PAGE ─────────────────────────────────── */
.auth-page {
  background: var(--navy);
  background-image: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(200,151,58,0.06) 0%, transparent 70%);
  display: flex; align-items: center; justify-content: center; min-height: 100vh;
}
.auth-wrap { width: 100%; max-width: 420px; padding: 24px; }
.auth-card { background: white; border-radius: var(--radius-xl); padding: 48px 44px; box-shadow: var(--shadow-lg); }
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo img { height: 26px; display: block; margin: 0 auto; }
.auth-badge {
  display: inline-block; font-size: 10.5px; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.12em;
  border: 1px solid rgba(200,151,58,0.3); padding: 3px 10px;
  border-radius: 20px; margin-top: 10px;
}
.auth-card h1 { font-family: var(--font-display); font-weight: 300; font-size: 24px; color: var(--navy); margin-bottom: 4px; }
.auth-sub { color: var(--gray-500); font-size: 14px; margin-bottom: 28px; }
.auth-divider { height: 1px; background: var(--gray-100); margin: 20px 0; }
.auth-footer { text-align: center; font-size: 13px; color: var(--gray-500); margin-top: 20px; }
.logo-text { font-family: var(--font-display); font-size: 20px; font-weight: 300; color: var(--navy); }

/* ─── APPLICATION PAGE ──────────────────────────── */
.application-page { background: var(--gray-50); }
.app-wrap { display: grid; grid-template-columns: 320px 1fr; min-height: 100vh; }
.app-sidebar {
  background: var(--navy);
  background-image: radial-gradient(ellipse 100% 50% at 50% 80%, rgba(200,151,58,0.08) 0%, transparent 70%);
  color: white; padding: 48px 36px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column;
}
.sidebar-logo { height: 26px; margin-bottom: 48px; display: block; }
.logo-text-light { font-family: var(--font-display); font-size: 18px; font-weight: 300; color: white; display: block; margin-bottom: 48px; }
.app-sidebar h2 { font-family: var(--font-display); font-weight: 300; font-size: 22px; line-height: 1.35; margin-bottom: 14px; }
.app-sidebar > p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.75; margin-bottom: 36px; }
.sidebar-checklist { list-style: none; flex: 1; }
.sidebar-checklist li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: rgba(255,255,255,0.75);
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sidebar-checklist li svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }
.sidebar-note { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 32px; }
.sidebar-note a { color: rgba(200,151,58,0.8); }

.app-form { padding: 48px 60px; max-width: 760px; }
.app-form-title { font-family: var(--font-display); font-weight: 300; font-size: 26px; color: var(--navy); margin-bottom: 6px; }
.app-form-sub { font-size: 14px; color: var(--gray-500); margin-bottom: 36px; }

/* Step indicator */
.step-indicator { display: flex; align-items: center; gap: 0; margin-bottom: 40px; }
.step-item { display: flex; align-items: center; gap: 10px; }
.step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
  border: 2px solid var(--gray-200); color: var(--gray-500);
  background: white; transition: all 0.2s; flex-shrink: 0;
}
.step-dot.active { border-color: var(--navy); background: var(--navy); color: white; }
.step-dot.done { border-color: var(--success); background: var(--success); color: white; }
.step-dot.done::before { content: ''; }
.step-label { font-size: 12.5px; font-weight: 500; color: var(--gray-500); white-space: nowrap; }
.step-label.active { color: var(--navy); }
.step-connector { width: 40px; height: 1.5px; background: var(--gray-200); margin: 0 4px; flex-shrink: 0; }
.step-connector.done { background: var(--success); }

.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step-nav { display: flex; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--gray-100); }
.terms-note { font-size: 12px; color: var(--gray-400); margin-top: 14px; text-align: center; line-height: 1.6; }

/* Category checkboxes */
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cat-group-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--gold); margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.cat-group-label::after { content: ''; flex: 1; height: 1px; background: rgba(200,151,58,0.2); }
.cat-item {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 13px; border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  cursor: pointer; font-size: 13px; margin-bottom: 6px;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}
.cat-item:hover { border-color: var(--gold); background: var(--gold-pale); }
.cat-item input { flex-shrink: 0; accent-color: var(--gold); width: 15px; height: 15px; cursor: pointer; }
.cat-item input:checked ~ span { font-weight: 500; color: var(--navy); }
.cat-item:has(input:checked) { border-color: var(--gold); background: var(--gold-pale); }

/* Upload area */
.upload-area {
  border: 2px dashed var(--gray-200); border-radius: var(--radius-lg);
  padding: 32px 20px; text-align: center; cursor: pointer;
  transition: all 0.2s; margin-bottom: 6px; background: white;
}
.upload-area:hover { border-color: var(--gold); background: var(--gold-pale); }
.upload-area.dragging { border-color: var(--gold); background: var(--gold-pale); }
.upload-icon { display: flex; justify-content: center; margin-bottom: 10px; color: var(--gray-300); }
.upload-icon svg { width: 32px; height: 32px; }
.upload-area p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }
.upload-area strong { color: var(--navy); }
.upload-hint { font-size: 12px; color: var(--gold); margin-top: 6px; font-weight: 500; }

/* ─── ADMIN / PANEL SHARED LAYOUT ───────────────── */
.admin-page, .panel-page { background: var(--gray-50); }

.admin-layout { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }
.panel-layout  { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }

/* Sidebar shared */
.cs-sidebar {
  background: var(--navy); color: white;
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
  overflow-y: auto;
}
.cs-sidebar-brand {
  padding: 22px 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; gap: 10px;
}
.cs-sidebar-brand img { height: 22px; display: block; }
.cs-sidebar-brand .brand-text { font-family: var(--font-display); font-size: 16px; font-weight: 300; color: white; }
.cs-sidebar-badge {
  font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em;
  background: rgba(200,151,58,0.2); color: var(--gold-light);
  padding: 2px 7px; border-radius: 10px; white-space: nowrap;
}

.cs-sidebar-nav { flex: 1; padding: 10px 0; }
.cs-sidebar-section {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25); padding: 14px 20px 6px; font-weight: 600;
}
.cs-sidebar-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 20px; font-size: 13.5px; color: rgba(255,255,255,0.6);
  text-decoration: none; transition: all var(--transition);
  border-left: 2px solid transparent; margin: 1px 0;
}
.cs-sidebar-nav a svg { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.7; }
.cs-sidebar-nav a:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.9); }
.cs-sidebar-nav a:hover svg { opacity: 1; }
.cs-sidebar-nav a.active {
  background: rgba(200,151,58,0.12); color: var(--gold-light);
  border-left-color: var(--gold); font-weight: 500;
}
.cs-sidebar-nav a.active svg { opacity: 1; }

.cs-sidebar-footer {
  padding: 14px 20px; border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: space-between;
}
.cs-sidebar-user { display: flex; align-items: center; gap: 9px; }
.cs-sidebar-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(200,151,58,0.2); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; flex-shrink: 0;
}
.cs-sidebar-name { font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 500; }
.cs-sidebar-logout {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: rgba(255,255,255,0.3);
  text-decoration: none; transition: color var(--transition);
  padding: 6px 8px; border-radius: var(--radius-sm);
}
.cs-sidebar-logout:hover { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.06); }
.cs-sidebar-logout svg { width: 13px; height: 13px; }

/* Main content */
.cs-main { padding: 0; overflow-y: auto; display: flex; flex-direction: column; min-height: 100vh; }
.cs-topbar {
  background: white; border-bottom: 1px solid var(--gray-100);
  padding: 0 36px; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 10;
}
.cs-topbar-left { display: flex; align-items: center; gap: 8px; }
.cs-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-500); }
.cs-breadcrumb a { color: var(--gray-500); text-decoration: none; }
.cs-breadcrumb a:hover { color: var(--navy); }
.cs-breadcrumb svg { width: 14px; height: 14px; color: var(--gray-300); }
.cs-breadcrumb-current { color: var(--navy); font-weight: 500; }
.cs-topbar-actions { display: flex; align-items: center; gap: 10px; }

.cs-content { padding: 32px 36px; flex: 1; }
.cs-page-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; gap: 16px; }
.cs-page-header-left h1 { font-family: var(--font-display); font-weight: 300; font-size: 24px; color: var(--navy); line-height: 1.2; }
.cs-page-header-left p { font-size: 13.5px; color: var(--gray-500); margin-top: 4px; }
.cs-page-header-right { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

/* ─── Stat Cards ────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card {
  background: white; border-radius: var(--radius-lg);
  padding: 20px 22px; border: 1px solid var(--gray-100);
  display: flex; flex-direction: column; gap: 14px;
  transition: box-shadow var(--transition);
  position: relative; overflow: hidden;
}
.stat-card:hover { box-shadow: var(--shadow); }
.stat-card-icon {
  width: 36px; height: 36px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.stat-card-icon svg { width: 18px; height: 18px; }
.stat-card-icon--blue   { background: var(--info-bg);    color: var(--info); }
.stat-card-icon--gold   { background: var(--warning-bg); color: var(--warning); }
.stat-card-icon--green  { background: var(--success-bg); color: var(--success); }
.stat-card-icon--red    { background: var(--danger-bg);  color: var(--danger); }
.stat-card-icon--navy   { background: rgba(13,27,42,0.08); color: var(--navy); }
.stat-num { font-family: var(--font-display); font-size: 28px; font-weight: 300; color: var(--navy); line-height: 1; }
.stat-label { font-size: 12px; color: var(--gray-500); margin-top: 2px; font-weight: 500; }
.stat-action { font-size: 12px; color: var(--gold); font-weight: 500; display: flex; align-items: center; gap: 3px; }
.stat-action svg { width: 12px; height: 12px; }
.stat-card--accent-warning { border-top: 3px solid var(--warning); }
.stat-card--accent-success { border-top: 3px solid var(--success); }
.stat-card--accent-info    { border-top: 3px solid var(--info); }
.stat-card--accent-navy    { border-top: 3px solid var(--navy); }

/* ─── Panel Box ─────────────────────────────────── */
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel-box {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100); overflow: hidden;
}
.panel-box-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid var(--gray-100);
}
.panel-box-header h2 { font-size: 14px; font-weight: 600; color: var(--navy); }
.panel-box-header .header-action { font-size: 12.5px; color: var(--gold); display: flex; align-items: center; gap: 4px; }
.panel-box-header .header-action svg { width: 13px; height: 13px; }

/* ─── Filter Tabs ───────────────────────────────── */
.filter-tabs { display: flex; gap: 4px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 20px; font-size: 12.5px; font-weight: 500;
  border: 1.5px solid var(--gray-200); color: var(--gray-700);
  cursor: pointer; text-decoration: none; transition: all var(--transition);
  background: white;
}
.filter-tab:hover { border-color: var(--gray-400); color: var(--navy); }
.filter-tab.active { background: var(--navy); color: white; border-color: var(--navy); }
.filter-tab-count {
  background: rgba(255,255,255,0.2); color: white;
  padding: 1px 6px; border-radius: 10px; font-size: 11px;
}
.filter-tab:not(.active) .filter-tab-count { background: var(--danger); color: white; }

/* ─── Search Bar ────────────────────────────────── */
.search-bar {
  display: flex; align-items: center; gap: 8px;
  background: white; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); padding: 8px 14px;
  transition: border-color var(--transition);
}
.search-bar:focus-within { border-color: var(--gold); }
.search-bar svg { width: 15px; height: 15px; color: var(--gray-400); flex-shrink: 0; }
.search-bar input { border: none; outline: none; font-family: var(--font-body); font-size: 13.5px; color: var(--navy); width: 200px; background: transparent; }
.search-bar input::placeholder { color: var(--gray-300); }

/* ─── Detail Grid ───────────────────────────────── */
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.detail-grid-wide { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; }

/* Detail table */
.detail-table { width: 100%; font-size: 14px; }
.detail-table tr td:first-child { color: var(--gray-500); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; padding: 8px 0; width: 140px; vertical-align: top; padding-top: 10px; }
.detail-table tr td:last-child { padding: 8px 0; color: var(--navy); }

/* Action card */
.action-card { background: white; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; }
.action-card-header { padding: 14px 18px; border-bottom: 1px solid var(--gray-100); }
.action-card-header h3 { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.action-card-body { padding: 16px 18px; }

/* ─── Consultant pending/rejected ───────────────── */
.state-wrap {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 24px;
  background: var(--gray-50);
}
.state-card {
  background: white; border-radius: var(--radius-xl);
  padding: 56px 48px; text-align: center; max-width: 480px; width: 100%;
  border: 1px solid var(--gray-100); box-shadow: var(--shadow);
}
.state-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.state-icon svg { width: 28px; height: 28px; }
.state-icon--pending { background: var(--warning-bg); color: var(--warning); }
.state-icon--rejected { background: var(--danger-bg); color: var(--danger); }
.state-card h2 { font-family: var(--font-display); font-weight: 300; font-size: 24px; color: var(--navy); margin-bottom: 10px; }
.state-card p { font-size: 14px; color: var(--gray-500); line-height: 1.75; margin-bottom: 8px; }

/* ─── Thanks page ───────────────────────────────── */
.thanks-wrap { max-width: 520px; margin: 100px auto; text-align: center; padding: 24px; }
.thanks-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--success-bg); color: var(--success); display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; }
.thanks-icon svg { width: 32px; height: 32px; }
.thanks-wrap h1 { font-family: var(--font-display); font-weight: 300; font-size: 30px; color: var(--navy); margin-bottom: 14px; }
.thanks-wrap p { color: var(--gray-500); line-height: 1.8; margin-bottom: 8px; font-size: 15px; }

/* ─── Misc ──────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.35); padding: 18px 36px; font-size: 12px; display: flex; align-items: center; gap: 12px; }
.footer-logo { height: 16px; opacity: 0.4; }
.divider { height: 1px; background: var(--gray-100); margin: 24px 0; }
.text-muted { color: var(--gray-500); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }

/* Avatar initials */
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; flex-shrink: 0; text-transform: uppercase;
}

/* Inline icon-text */
.with-icon { display: inline-flex; align-items: center; gap: 5px; }
.with-icon svg { width: 14px; height: 14px; }

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid, .detail-grid-wide { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --sidebar-w: 0px; }
  .app-wrap { grid-template-columns: 1fr; }
  .app-sidebar { position: static; height: auto; }
  .app-form { padding: 32px 24px; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .panel-grid { grid-template-columns: 1fr; }
  .admin-layout, .panel-layout { grid-template-columns: 1fr; }
  .cs-sidebar { position: static; height: auto; }
  .cs-main { min-height: auto; }
  .cs-content { padding: 20px 18px; }
  .cs-topbar { padding: 0 18px; }
}
