/* ============================================================
   LEVOK ENTERPRISE — Professional Management System CSS v4.0
   Design: Clean Corporate Light Theme — Executive White Edition
   Inspired by: Odoo / SAP / Enterprise SaaS standards
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Syne:wght@600;700;800&display=swap');

:root {
  /* ── Core Backgrounds — clean white layering ── */
  --bg-base:       #f0f2f5;
  --bg-surface:    #ffffff;
  --bg-elevated:   #ffffff;
  --bg-overlay:    #f7f8fa;
  --bg-hover:      #eef1f6;
  --bg-active:     #e4e9f2;

  /* ── Brand Accent — corporate amber/gold ── */
  --gold:          #c8922a;
  --gold-light:    #e0a83a;
  --gold-dim:      rgba(200,146,42,0.10);
  --gold-glow:     rgba(200,146,42,0.18);

  /* ── Secondary Accent — professional blue ── */
  --emerald:       #1a6bce;
  --emerald-light: #3b84e0;
  --emerald-dim:   rgba(26,107,206,0.09);

  /* ── Status Colors ── */
  --red:           #d93025;
  --red-dim:       rgba(217,48,37,0.09);
  --amber:         #e07b00;
  --amber-dim:     rgba(224,123,0,0.09);
  --blue:          #1a6bce;
  --blue-dim:      rgba(26,107,206,0.09);
  --green:         #1a8a4a;
  --green-dim:     rgba(26,138,74,0.09);

  /* ── Text Hierarchy — ink tones ── */
  --text-primary:  #1a1f2e;
  --text-secondary:#4b5567;
  --text-muted:    #8a95a3;
  --text-faint:    #c4cad3;

  /* ── Borders ── */
  --border:        #e3e7ed;
  --border-hover:  #c8cfd9;
  --border-accent: rgba(200,146,42,0.35);

  /* ── Geometry ── */
  --radius-sm:     5px;
  --radius:        8px;
  --radius-lg:     12px;
  --radius-xl:     18px;

  /* ── Sidebar ── */
  --sidebar-w:     248px;

  /* ── Shadows ── */
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.07), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow:        0 2px 10px rgba(0,0,0,0.09), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-lg:     0 8px 28px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);

  /* ── Transitions ── */
  --t:             0.14s ease;
  --t-slow:        0.28s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 14px; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  display: flex;
  min-height: 100vh;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════════════ */

.sidebar {
  width: var(--sidebar-w);
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  z-index: 100;
  transition: transform var(--t-slow);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  box-shadow: var(--shadow-sm);
}
.sidebar::-webkit-scrollbar { display: none; }

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 20px 16px 18px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.brand-icon {
  width: 36px; height: 36px;
  background: linear-gradient(140deg, var(--gold-light) 0%, var(--gold) 100%);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(200,146,42,0.30);
}

.brand-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.0rem;
  letter-spacing: 0.10em;
  color: var(--text-primary);
  line-height: 1.1;
}
.brand-sub {
  font-size: 0.58rem;
  letter-spacing: 0.20em;
  color: var(--gold);
  font-weight: 600;
  margin-top: 2px;
  text-transform: uppercase;
}

.sidebar-nav {
  flex: 1;
  padding: 10px 8px;
  overflow-y: auto;
  scrollbar-width: none;
}
.sidebar-nav::-webkit-scrollbar { display: none; }

.nav-section-label {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  font-weight: 700;
  padding: 16px 10px 5px;
  text-transform: uppercase;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.855rem;
  font-weight: 400;
  transition: all var(--t);
  margin-bottom: 1px;
  position: relative;
  letter-spacing: 0.01em;
}
.nav-item svg { width: 15px; height: 15px; flex-shrink: 0; opacity: 0.55; transition: opacity var(--t); }
.nav-item:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}
.nav-item:hover svg { opacity: 0.8; }
.nav-item.active {
  background: var(--gold-dim);
  color: var(--gold);
  font-weight: 600;
}
.nav-item.active svg { opacity: 1; color: var(--gold); }
.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 60%;
  background: var(--gold);
  border-radius: 0 3px 3px 0;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg-overlay);
}

.user-avatar {
  width: 32px; height: 32px;
  background: linear-gradient(140deg, var(--gold-light) 0%, var(--gold) 100%);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(200,146,42,0.30);
}
.user-info { flex: 1; min-width: 0; }
.user-name { font-size: 0.80rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-primary); }
.user-role { font-size: 0.63rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 1px; }
.logout-btn { color: var(--text-muted); transition: color var(--t); padding: 4px; border-radius: 4px; }
.logout-btn:hover { color: var(--red); background: var(--red-dim); }
.logout-btn svg { width: 15px; height: 15px; display: block; }

/* ═══════════════════════════════════════════════════════════
   MAIN CONTENT
═══════════════════════════════════════════════════════════ */

.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg-base);
}

/* ═══════════════════════════════════════════════════════════
   TOPBAR
═══════════════════════════════════════════════════════════ */

.topbar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 0 26px;
  height: 54px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: sticky; top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 4px;
  border-radius: 4px;
}
.menu-toggle:hover { color: var(--text-primary); background: var(--bg-hover); }
.menu-toggle svg { width: 18px; height: 18px; display: block; }

.topbar-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  flex: 1;
  color: var(--text-primary);
}

.topbar-right { display: flex; align-items: center; gap: 10px; }

.topbar-date {
  font-size: 0.73rem;
  color: var(--text-muted);
  background: var(--bg-overlay);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   PAGE BODY
═══════════════════════════════════════════════════════════ */

.page-body {
  padding: 26px;
  flex: 1;
}

/* ═══════════════════════════════════════════════════════════
   ALERTS
═══════════════════════════════════════════════════════════ */

.alert {
  margin: 12px 26px 0;
  padding: 11px 16px;
  border-radius: var(--radius);
  font-size: 0.84rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert::before { font-size: 1rem; flex-shrink: 0; }
.alert-success {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(26,138,74,0.22);
}
.alert-success::before { content: '✓'; }
.alert-error {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(217,48,37,0.22);
}
.alert-error::before { content: '✕'; }

/* ═══════════════════════════════════════════════════════════
   PAGE HEADER
═══════════════════════════════════════════════════════════ */

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 26px;
  gap: 14px;
  flex-wrap: wrap;
}
.page-header h1 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.page-header p {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════
   STAT CARDS
═══════════════════════════════════════════════════════════ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--t);
}
.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.stat-card:hover::before { background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%); }

.stat-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.stat-icon svg { width: 17px; height: 17px; }
.stat-icon.gold    { background: var(--gold-dim);    color: var(--gold); }
.stat-icon.emerald { background: var(--emerald-dim); color: var(--emerald); }
.stat-icon.red     { background: var(--red-dim);     color: var(--red); }
.stat-icon.amber   { background: var(--amber-dim);   color: var(--amber); }
.stat-icon.blue    { background: var(--blue-dim);    color: var(--blue); }

.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.stat-value.gold    { color: var(--gold); }
.stat-value.emerald { color: var(--emerald); }
.stat-value.red     { color: var(--red); }
.stat-value.amber   { color: var(--amber); }
.stat-value.blue    { color: var(--blue); }
.stat-value.sm      { font-size: 1.05rem; }

/* ═══════════════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════════════ */

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  flex-wrap: wrap;
  background: var(--bg-overlay);
}

.card-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  color: var(--text-primary);
}

.card-body { padding: 20px; }

/* ═══════════════════════════════════════════════════════════
   TABLES
═══════════════════════════════════════════════════════════ */

.table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }

thead th {
  background: var(--bg-overlay);
  padding: 10px 15px;
  text-align: left;
  font-size: 0.67rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}

tbody td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: middle;
  transition: background var(--t);
}
tbody td strong { color: var(--text-primary); font-weight: 500; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--bg-hover); }

/* ═══════════════════════════════════════════════════════════
   BADGES
═══════════════════════════════════════════════════════════ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-green  { background: var(--green-dim);             color: var(--green);   border: 1px solid rgba(26,138,74,0.20); }
.badge-red    { background: var(--red-dim);               color: var(--red);     border: 1px solid rgba(217,48,37,0.20); }
.badge-amber  { background: var(--amber-dim);             color: var(--amber);   border: 1px solid rgba(224,123,0,0.20); }
.badge-teal   { background: rgba(14,165,175,0.09);        color: #0d7680;        border: 1px solid rgba(14,165,175,0.22); }
.badge-blue   { background: var(--blue-dim);              color: var(--blue);    border: 1px solid rgba(26,107,206,0.20); }
.badge-gold   { background: var(--gold-dim);              color: var(--gold);    border: 1px solid var(--border-accent); }
.badge-grey   { background: rgba(138,149,163,0.10);       color: var(--text-muted); border: 1px solid var(--border); }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all var(--t);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn svg { width: 14px; height: 14px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(140deg, var(--gold-light) 0%, var(--gold) 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(200,146,42,0.30);
}
.btn-primary:hover { box-shadow: 0 4px 14px rgba(200,146,42,0.40); }

.btn-emerald {
  background: linear-gradient(140deg, var(--emerald-light) 0%, var(--emerald) 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(26,107,206,0.22);
}

.btn-amber {
  background: linear-gradient(140deg, #f0a030 0%, var(--amber) 100%);
  color: #fff;
  font-weight: 600;
}

.btn-danger {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(217,48,37,0.22);
}
.btn-danger:hover { background: rgba(217,48,37,0.16); }

.btn-outline {
  background: var(--bg-surface);
  border: 1px solid var(--border-hover);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }

.btn-sm { padding: 5px 11px; font-size: 0.76rem; }
.btn-group { display: flex; gap: 8px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════
   FORMS
═══════════════════════════════════════════════════════════ */

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: 1 / -1; }

label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

input, select, textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  padding: 9px 13px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  transition: border-color var(--t), box-shadow var(--t);
  width: 100%;
  outline: none;
}
input:hover, select:hover { border-color: var(--border-hover); }
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
input::placeholder { color: var(--text-faint); }
textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
select option { background: var(--bg-surface); color: var(--text-primary); }

.form-section {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.form-section-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ═══════════════════════════════════════════════════════════
   FILTER BAR
═══════════════════════════════════════════════════════════ */

.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-bar input, .filter-bar select {
  max-width: 220px;
  width: auto;
  flex: 1 1 155px;
  padding: 7px 11px;
  font-size: 0.82rem;
}

/* ═══════════════════════════════════════════════════════════
   PROGRESS BARS
═══════════════════════════════════════════════════════════ */

.progress-bar {
  background: var(--bg-active);
  border-radius: 6px;
  height: 5px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  transition: width 0.5s ease;
}
.progress-fill.green   { background: linear-gradient(90deg, var(--green) 0%, #2db36a 100%); }
.progress-fill.red     { background: linear-gradient(90deg, #b91c1c 0%, var(--red) 100%); }
.progress-fill.amber   { background: linear-gradient(90deg, #c25e00 0%, var(--amber) 100%); }
.progress-fill.blue    { background: linear-gradient(90deg, var(--blue) 0%, var(--emerald-light) 100%); }

/* ═══════════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════════ */

.pagination {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 15px 0 4px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  text-decoration: none;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all var(--t);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.pagination .current {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(200,146,42,0.28);
}

/* ═══════════════════════════════════════════════════════════
   EMPTY STATES
═══════════════════════════════════════════════════════════ */

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state svg { width: 44px; height: 44px; margin: 0 auto 14px; display: block; opacity: 0.30; color: var(--text-faint); }
.empty-state h3 { font-family: 'Syne', sans-serif; color: var(--text-secondary); margin-bottom: 8px; font-size: 1rem; }
.empty-state p { font-size: 0.85rem; }

/* ═══════════════════════════════════════════════════════════
   DETAIL VIEWS
═══════════════════════════════════════════════════════════ */

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}
.detail-item .label {
  font-size: 0.67rem;
  color: var(--text-muted);
  letter-spacing: 0.09em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.detail-item .value {
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════
   LOGIN PAGE
═══════════════════════════════════════════════════════════ */

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, #eef1f7 0%, #f5f7fa 50%, #eaedf4 100%);
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,146,42,0.07) 0%, transparent 65%);
  top: -150px; right: -150px;
  pointer-events: none;
}
.login-page::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,107,206,0.06) 0%, transparent 65%);
  bottom: -120px; left: -120px;
  pointer-events: none;
}

.login-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  width: 100%;
  max-width: 415px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}

.login-logo {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 34px;
}
.login-logo .brand-icon { width: 44px; height: 44px; font-size: 1.3rem; border-radius: var(--radius); }
.login-logo .brand-name { font-size: 1.1rem; }

.login-box h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.login-box > p {
  color: var(--text-muted);
  font-size: 0.84rem;
  margin-bottom: 28px;
  line-height: 1.5;
}
.login-box .form-group { margin-bottom: 14px; }
.login-box label {
  font-size: 0.71rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.login-box .btn {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
  padding: 11px;
  font-size: 0.88rem;
}

/* ═══════════════════════════════════════════════════════════
   FILE DROP ZONE
═══════════════════════════════════════════════════════════ */

.file-drop {
  border: 2px dashed var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: all var(--t);
  background: var(--bg-overlay);
}
.file-drop:hover, .file-drop.drag-over {
  border-color: var(--gold);
  background: var(--gold-dim);
}
.file-label { color: var(--text-secondary); font-size: 0.875rem; }

/* ═══════════════════════════════════════════════════════════
   DIVIDERS & SEPARATORS
═══════════════════════════════════════════════════════════ */

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); box-shadow: none; }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 6px 0 30px rgba(0,0,0,0.14);
  }
  .main-content { margin-left: 0; }
  .menu-toggle { display: flex; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .page-body { padding: 16px; }
  .topbar { padding: 0 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .alert { margin: 10px 16px 0; }
  .login-box { padding: 28px 20px; margin: 16px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   SCROLLBAR STYLING
═══════════════════════════════════════════════════════════ */

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-faint); }

/* ═══════════════════════════════════════════════════════════
   UTILITY CLASSES
═══════════════════════════════════════════════════════════ */

.text-gold    { color: var(--gold) !important; }
.text-emerald { color: var(--emerald) !important; }
.text-red     { color: var(--red) !important; }
.text-amber   { color: var(--amber) !important; }
.text-muted   { color: var(--text-muted) !important; }
.text-green   { color: var(--green) !important; }

a { color: var(--emerald); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--gold); }

small { font-size: 0.75rem; color: var(--text-muted); }