/* ═══════════════════════════════════════════════════════════════════
   FLEETPRO — Transport & Fleet Management System
   Design: Command Center / Industrial Bold
   Fonts: Barlow Condensed (display) + Nunito (body) + JetBrains Mono
═══════════════════════════════════════════════════════════════════ */

/* ── Google Fonts ───────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800;900&family=Nunito:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ── CSS Variables ──────────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --orange:     #FF6B2B;
  --orange-dk:  #E85A1A;
  --orange-lt:  #FF8A55;
  --orange-bg:  #FFF3EE;
  --orange-bg2: #FFE0D0;

  /* Sidebar */
  --sidebar-bg:   #0F1923;
  --sidebar-bg2:  #1A2535;
  --sidebar-act:  #FF6B2B;
  --sidebar-text: #8FA0B0;
  --sidebar-head: #FFFFFF;
  --sidebar-hov:  rgba(255,107,43,0.12);
  --sidebar-sep:  rgba(255,255,255,0.07);

  /* Status Colors */
  --green:      #10B981;
  --green-dk:   #059669;
  --green-bg:   #ECFDF5;
  --green-bg2:  #D1FAE5;

  --blue:       #2563EB;
  --blue-dk:    #1D4ED8;
  --blue-bg:    #EFF6FF;
  --blue-bg2:   #DBEAFE;

  --amber:      #F59E0B;
  --amber-dk:   #D97706;
  --amber-bg:   #FFFBEB;
  --amber-bg2:  #FEF3C7;

  --red:        #EF4444;
  --red-dk:     #DC2626;
  --red-bg:     #FEF2F2;
  --red-bg2:    #FEE2E2;

  --violet:     #7C3AED;
  --violet-bg:  #F5F3FF;
  --violet-bg2: #EDE9FE;

  --sky:        #0EA5E9;
  --sky-bg:     #F0F9FF;
  --sky-bg2:    #E0F2FE;

  --slate:      #64748B;
  --slate-bg:   #F8FAFC;

  /* Surfaces */
  --bg:         #F0F2F7;
  --surface:    #FFFFFF;
  --surface-2:  #F8FAFC;
  --surface-3:  #F1F4F9;
  --border:     #E2E8F0;
  --border-2:   #CBD5E1;

  /* Text */
  --text-1:     #0F172A;
  --text-2:     #334155;
  --text-3:     #64748B;
  --text-4:     #94A3B8;

  /* Typography */
  --font:       'Nunito', sans-serif;
  --display:    'Barlow Condensed', sans-serif;
  --mono:       'JetBrains Mono', monospace;

  /* Layout */
  --sidebar-w:  272px;
  --header-h:   62px;

  /* Effects */
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  14px;
  --radius-xl:  20px;
  --radius-pill:9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg:  0 10px 36px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.15);
  --shadow-orange: 0 6px 20px rgba(255,107,43,.35);

  --t:          .18s ease;
}

/* ── Reset ──────────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { font-size:14px; scroll-behavior:smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ════════════════════════════════════════════════════════════════
   LAYOUT
════════════════════════════════════════════════════════════════ */

/* ── Sidebar ────────────────────────────────────────────────────── */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--sidebar-bg);
  z-index: 200;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 4px 0 24px rgba(0,0,0,.25);
}

/* Brand */
.sb-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 18px;
  border-bottom: 1px solid var(--sidebar-sep);
  flex-shrink: 0;
}
.sb-logo {
  width: 42px; height: 42px;
  background: var(--orange);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(255,107,43,.4);
  flex-shrink: 0;
}
.sb-brand-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  color: var(--sidebar-head);
  letter-spacing: .03em;
  line-height: 1;
}
.sb-brand-tag {
  font-size: 10.5px;
  color: var(--sidebar-text);
  letter-spacing: .06em;
  margin-top: 2px;
}

/* Company Switcher */
.sb-company {
  margin: 12px 14px;
  background: var(--sidebar-bg2);
  border: 1px solid var(--sidebar-sep);
  border-radius: var(--radius);
  padding: 10px 12px;
  cursor: pointer;
  transition: background var(--t);
  flex-shrink: 0;
}
.sb-company:hover { background: rgba(255,255,255,.05); }
.sb-company-label { font-size:10px; color:var(--sidebar-text); text-transform:uppercase; letter-spacing:.08em; }
.sb-company-name { font-size:13.5px; font-weight:700; color:var(--sidebar-head); display:flex; align-items:center; justify-content:space-between; margin-top:2px; }
.sb-company-loc { font-size:11.5px; color:var(--orange); margin-top:1px; display:flex; align-items:center; gap:4px; }

/* Nav scroll */
.sb-nav { flex:1; overflow-y:auto; padding:8px 0; }
.sb-nav::-webkit-scrollbar { width:4px; }
.sb-nav::-webkit-scrollbar-track { background:transparent; }
.sb-nav::-webkit-scrollbar-thumb { background:rgba(255,255,255,.1); border-radius:2px; }

/* Section titles */
.nav-section-title {
  font-family: var(--display);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--sidebar-text);
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 14px 20px 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--sidebar-sep);
}

/* Nav items */
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 16px 9px 18px;
  margin: 1px 10px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--sidebar-text);
  font-size: 13.5px;
  font-weight: 600;
  transition: all var(--t);
  position: relative;
  cursor: pointer;
}
.nav-item:hover {
  background: var(--sidebar-hov);
  color: #fff;
}
.nav-item.active {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,107,43,.4);
}
.nav-item.active .nav-icon { color: #fff; }
.nav-icon {
  font-size: 17px;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
  color: var(--sidebar-text);
  transition: color var(--t);
}
.nav-item:hover .nav-icon { color: var(--orange-lt); }
.nav-label { flex: 1; }
.nav-badge {
  background: var(--red);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  font-family: var(--display);
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  min-width: 20px;
  text-align: center;
  letter-spacing: .02em;
}
.nav-badge-orange { background: var(--orange); }
.nav-badge-green  { background: var(--green); }
.nav-badge-amber  { background: var(--amber); }

/* Submenu */
.nav-sub { display:none; }
.nav-sub.open { display:block; }
.nav-sub-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 46px;
  margin: 1px 10px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--sidebar-text);
  font-size: 12.5px;
  font-weight: 500;
  transition: all var(--t);
  cursor: pointer;
}
.nav-sub-item:hover { background:var(--sidebar-hov); color:#fff; }
.nav-sub-item.active { color:var(--orange-lt); font-weight:700; }
.nav-sub-item::before { content:''; width:5px; height:5px; border-radius:50%; background:var(--sidebar-sep); flex-shrink:0; transition:background var(--t); }
.nav-sub-item:hover::before,.nav-sub-item.active::before { background:var(--orange); }

/* Sidebar footer */
.sb-footer {
  border-top: 1px solid var(--sidebar-sep);
  padding: 14px;
  flex-shrink: 0;
}
.sb-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--t);
}
.sb-user:hover { background: var(--sidebar-bg2); }
.sb-avatar {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}
.sb-user-name { font-size:13px; font-weight:700; color:var(--sidebar-head); }
.sb-user-role { font-size:11px; color:var(--sidebar-text); }

/* ── Top Header ─────────────────────────────────────────────────── */
.top-header {
  position: fixed;
  top: 0; left: var(--sidebar-w); right: 0;
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.hb-item { font-size:13px; color:var(--text-3); font-weight:500; }
.hb-item.active { color:var(--text-1); font-weight:700; }
.hb-sep { color:var(--text-4); font-size:11px; }

.header-search {
  position: relative;
  width: 260px;
}
.header-search input {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 36px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  font-family: var(--font);
  font-size: 13px;
  color: var(--text-1);
  transition: all var(--t);
}
.header-search input:focus { outline:none; border-color:var(--orange); background:var(--surface); box-shadow:0 0 0 3px var(--orange-bg); }
.header-search i { position:absolute; left:11px; top:50%; transform:translateY(-50%); color:var(--text-4); font-size:13px; }

.header-actions { display:flex; align-items:center; gap:8px; }
.hdr-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--t);
  position: relative;
}
.hdr-btn:hover { border-color:var(--orange); color:var(--orange); background:var(--orange-bg); }
.hdr-notif::after {
  content: '';
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  position: absolute;
  top: 5px; right: 5px;
  border: 2px solid var(--surface);
}
.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--green-bg);
  border: 1px solid var(--green-bg2);
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green-dk);
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-live 1.8s ease-in-out infinite;
}
@keyframes pulse-live {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:.5; transform:scale(.7); }
}

/* ── Main Area ──────────────────────────────────────────────────── */
.main-area {
  margin-left: var(--sidebar-w);
  margin-top: var(--header-h);
  padding: 24px;
  min-height: calc(100vh - var(--header-h));
}

/* ── Page Header ────────────────────────────────────────────────── */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 14px;
}
.page-title {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: .01em;
  line-height: 1;
}
.page-subtitle { font-size:13px; color:var(--text-3); margin-top:5px; font-weight:500; }

/* ════════════════════════════════════════════════════════════════
   CARDS
════════════════════════════════════════════════════════════════ */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.card-title {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: .02em;
}
.card-icon { font-size: 18px; }
.card-body { padding: 20px; }
.card-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}

/* Accent card — left border */
.card-accent { border-left: 4px solid var(--orange); }
.card-accent-green { border-left: 4px solid var(--green); }
.card-accent-blue { border-left: 4px solid var(--blue); }
.card-accent-red { border-left: 4px solid var(--red); }

/* ════════════════════════════════════════════════════════════════
   STAT CARDS
════════════════════════════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
}
.stat-card.orange::after { background:var(--orange); }
.stat-card.green::after  { background:var(--green); }
.stat-card.blue::after   { background:var(--blue); }
.stat-card.amber::after  { background:var(--amber); }
.stat-card.red::after    { background:var(--red); }
.stat-card.violet::after { background:var(--violet); }
.stat-card.sky::after    { background:var(--sky); }

.stat-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-md); }
.stat-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.si-orange { background:var(--orange-bg); color:var(--orange); }
.si-green  { background:var(--green-bg);  color:var(--green); }
.si-blue   { background:var(--blue-bg);   color:var(--blue); }
.si-amber  { background:var(--amber-bg);  color:var(--amber); }
.si-red    { background:var(--red-bg);    color:var(--red); }
.si-violet { background:var(--violet-bg); color:var(--violet); }
.si-sky    { background:var(--sky-bg);    color:var(--sky); }

.stat-label { font-size:12px; color:var(--text-3); font-weight:600; text-transform:uppercase; letter-spacing:.05em; }
.stat-value { font-family:var(--display); font-size:28px; font-weight:800; color:var(--text-1); line-height:1.1; margin-top:2px; letter-spacing:.01em; }
.stat-change { font-size:11.5px; margin-top:5px; font-weight:600; display:flex; align-items:center; gap:3px; }
.sc-up   { color:var(--green); }
.sc-down { color:var(--red); }
.sc-neu  { color:var(--text-3); }

/* ════════════════════════════════════════════════════════════════
   VEHICLE CARDS
════════════════════════════════════════════════════════════════ */
.vehicle-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  transition: all var(--t);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.vehicle-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.vehicle-card.running   { border-top: 3px solid var(--green); }
.vehicle-card.idle      { border-top: 3px solid var(--amber); }
.vehicle-card.stopped   { border-top: 3px solid var(--red); }
.vehicle-card.maintenance { border-top: 3px solid var(--violet); }

.vc-header { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:14px; }
.vc-reg {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: .04em;
}
.vc-type { font-size:12px; color:var(--text-3); font-weight:600; margin-top:2px; }
.vc-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--surface-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.vc-stats { display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; margin-top:14px; }
.vc-stat { text-align:center; }
.vc-stat-val { font-family:var(--mono); font-size:14px; font-weight:700; color:var(--text-1); }
.vc-stat-lbl { font-size:10px; color:var(--text-4); text-transform:uppercase; letter-spacing:.04em; margin-top:2px; }
.vc-footer {
  margin-top:14px; padding-top:12px;
  border-top:1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between;
}
.vc-driver { display:flex; align-items:center; gap:7px; }

/* Status Pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.status-dot-sm {
  width: 6px; height: 6px;
  border-radius: 50%;
}
.sp-running   { background:var(--green-bg);  color:var(--green-dk); }
.sp-idle      { background:var(--amber-bg);  color:var(--amber-dk); }
.sp-stopped   { background:var(--red-bg);    color:var(--red-dk); }
.sp-maintenance { background:var(--violet-bg); color:var(--violet); }
.sp-available { background:var(--blue-bg);   color:var(--blue-dk); }
.sp-green  { background:var(--green); }
.sp-amber  { background:var(--amber); }
.sp-red    { background:var(--red); }
.sp-violet { background:var(--violet); }

/* ════════════════════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--t);
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .01em;
}
.btn:disabled { opacity:.55; cursor:not-allowed; }
.btn-sm { padding:6px 13px; font-size:12.5px; }
.btn-lg { padding:11px 24px; font-size:15px; }
.btn-icon { padding:8px; width:36px; height:36px; }

.btn-primary  { background:var(--orange); color:#fff; border-color:var(--orange); box-shadow:0 2px 8px rgba(255,107,43,.3); }
.btn-primary:hover  { background:var(--orange-dk); border-color:var(--orange-dk); box-shadow:var(--shadow-orange); transform:translateY(-1px); }

.btn-success  { background:var(--green); color:#fff; border-color:var(--green); }
.btn-success:hover  { background:var(--green-dk); transform:translateY(-1px); }

.btn-danger   { background:var(--red); color:#fff; border-color:var(--red); }
.btn-danger:hover   { background:var(--red-dk); transform:translateY(-1px); }

.btn-blue     { background:var(--blue); color:#fff; border-color:var(--blue); }
.btn-blue:hover     { background:var(--blue-dk); transform:translateY(-1px); }

.btn-ghost    { background:transparent; color:var(--text-2); border-color:var(--border); }
.btn-ghost:hover    { background:var(--surface-3); border-color:var(--border-2); color:var(--text-1); }

.btn-outline-orange { background:transparent; color:var(--orange); border-color:var(--orange); }
.btn-outline-orange:hover { background:var(--orange); color:#fff; }

/* ════════════════════════════════════════════════════════════════
   FORMS
════════════════════════════════════════════════════════════════ */
.form-group { display:flex; flex-direction:column; gap:5px; }
.form-label { font-size:12.5px; font-weight:700; color:var(--text-2); letter-spacing:.02em; }
.req { color:var(--red); margin-left:2px; }

.form-control {
  height: 40px;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #FFFFFF;
  font-family: var(--font);
  font-size: 13.5px;
  color: #0F172A;
  transition: all var(--t);
  width: 100%;
}
.form-control:focus { outline:none; border-color:var(--orange); box-shadow:0 0 0 3px var(--orange-bg); }
.form-control::placeholder { color:#94A3B8; }
.form-control.is-invalid { border-color:var(--red); }
.form-control.is-invalid:focus { box-shadow:0 0 0 3px var(--red-bg); }

textarea.form-control { height:auto; padding:10px 12px; resize:vertical; }
select.form-control { cursor:pointer; }

.input-wrap { position:relative; }
.input-icon-l { position:absolute; left:12px; top:50%; transform:translateY(-50%); font-size:14px; pointer-events:none; z-index:1; }
.has-icon-l { padding-left:36px; }
.input-icon-r { position:absolute; right:12px; top:50%; transform:translateY(-50%); font-size:14px; }

.field-error { font-size:12px; color:var(--red); display:flex; align-items:center; gap:4px; margin-top:3px; }

/* ════════════════════════════════════════════════════════════════
   TABLE
════════════════════════════════════════════════════════════════ */
.table-wrap { overflow-x:auto; }
.data-table { width:100%; border-collapse:collapse; }
.data-table thead th {
  background: var(--surface-2);
  color: var(--text-3);
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 11px 16px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
  cursor: default;
}
.data-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-2);
  vertical-align: middle;
}
.data-table tbody tr:last-child td { border-bottom:none; }
.data-table tbody tr { transition:background var(--t); }
.data-table tbody tr:hover { background:var(--orange-bg); }
.data-table tbody tr.critical-row { background:var(--red-bg); }
.table-checkbox { width:16px; height:16px; accent-color:var(--orange); cursor:pointer; }

/* Cell helpers */
.cell-id   { font-family:var(--mono); font-size:12.5px; font-weight:600; color:var(--orange); background:var(--orange-bg); padding:2px 8px; border-radius:5px; }
.cell-name { font-weight:700; font-size:13.5px; color:var(--text-1); }
.cell-sub  { font-size:11.5px; color:var(--text-3); }
.cell-mono { font-family:var(--mono); font-weight:600; }

/* Avatar */
.avatar {
  width:36px; height:36px; border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--display); font-weight:800; font-size:13px; color:#fff;
  flex-shrink:0;
}
.av-orange { background:linear-gradient(135deg,var(--orange),var(--orange-dk)); }
.av-green  { background:linear-gradient(135deg,var(--green),var(--green-dk)); }
.av-blue   { background:linear-gradient(135deg,var(--blue),var(--blue-dk)); }
.av-amber  { background:linear-gradient(135deg,var(--amber),var(--amber-dk)); }
.av-red    { background:linear-gradient(135deg,var(--red),var(--red-dk)); }
.av-violet { background:linear-gradient(135deg,var(--violet),#5B21B6); }
.av-sky    { background:linear-gradient(135deg,var(--sky),#0284C7); }
.av-slate  { background:linear-gradient(135deg,var(--slate),#475569); }
.avatar-cell { display:flex; align-items:center; gap:10px; }

/* ════════════════════════════════════════════════════════════════
   BADGES
════════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
}
.badge-orange { background:var(--orange-bg); color:var(--orange-dk); }
.badge-green  { background:var(--green-bg);  color:var(--green-dk); }
.badge-blue   { background:var(--blue-bg);   color:var(--blue-dk); }
.badge-amber  { background:var(--amber-bg);  color:var(--amber-dk); }
.badge-red    { background:var(--red-bg);    color:var(--red-dk); }
.badge-violet { background:var(--violet-bg); color:var(--violet); }
.badge-sky    { background:var(--sky-bg);    color:var(--sky); }
.badge-slate  { background:var(--slate-bg);  color:var(--slate); }

/* ════════════════════════════════════════════════════════════════
   TABS
════════════════════════════════════════════════════════════════ */
.tabs-bar { display:flex; gap:2px; }
.tab-btn {
  padding: 8px 18px;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-3);
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
}
.tab-btn:hover { background:var(--surface-3); color:var(--text-1); }
.tab-btn.active { background:var(--orange); color:#fff; box-shadow:0 2px 8px rgba(255,107,43,.3); }
.tab-panel { display:none; }
.tab-panel.active { display:block; }

/* ════════════════════════════════════════════════════════════════
   MODAL
════════════════════════════════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,15,25,.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
  animation: fadeIn .3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay.open { display:flex; }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.modal {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  width: 100%;
  animation: modalSlideIn .35s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes modalSlideIn { 
  0% { transform:translateY(40px) scale(0.95); opacity:0; } 
  100% { transform:translateY(0) scale(1); opacity:1; } 
}
.modal-overlay.closing .modal {
  animation: modalSlideOut .25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes modalSlideOut {
  0% { transform:translateY(0) scale(1); opacity:1; }
  100% { transform:translateY(40px) scale(0.95); opacity:0; }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.modal-title { font-family:var(--display); font-size:20px; font-weight:800; color:var(--text-1); letter-spacing:.02em; display:flex; align-items:center; gap:8px; }
.modal-close {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1.5px solid var(--border); background:var(--surface-2);
  cursor:pointer; font-size:16px; color:var(--text-3);
  display:flex; align-items:center; justify-content:center;
  transition:all var(--t);
}
.modal-close:hover { background:var(--red-bg); border-color:var(--red); color:var(--red); }
.modal-body { flex:1; overflow-y:auto; background: var(--surface); }
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  flex-shrink: 0;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* ════════════════════════════════════════════════════════════════
   FILTER ROW
════════════════════════════════════════════════════════════════ */
.filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  background: var(--surface-2);
}

/* ════════════════════════════════════════════════════════════════
   PROGRESS / METER
════════════════════════════════════════════════════════════════ */
.progress-bar { height:6px; background:var(--surface-3); border-radius:3px; overflow:hidden; }
.progress-fill { height:100%; border-radius:3px; transition:width .6s ease; }
.pf-orange { background:var(--orange); }
.pf-green  { background:var(--green); }
.pf-amber  { background:var(--amber); }
.pf-red    { background:var(--red); }
.pf-blue   { background:var(--blue); }

/* ════════════════════════════════════════════════════════════════
   FUEL GAUGE
════════════════════════════════════════════════════════════════ */
.fuel-gauge { position:relative; display:inline-flex; align-items:center; }
.fuel-bar { width:70px; height:8px; background:var(--surface-3); border-radius:4px; overflow:hidden; }
.fuel-fill { height:100%; border-radius:4px; }

/* ════════════════════════════════════════════════════════════════
   TIMELINE (Trip status)
════════════════════════════════════════════════════════════════ */
.timeline { display:flex; flex-direction:column; gap:0; }
.timeline-item { display:flex; gap:14px; position:relative; }
.timeline-item:not(:last-child) .tl-line { flex:1; width:2px; background:var(--border); margin:0 auto; }
.tl-dot { width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; flex-shrink:0; }
.tl-dot-done    { background:var(--green-bg); color:var(--green); border:2px solid var(--green); }
.tl-dot-active  { background:var(--orange); color:#fff; box-shadow:0 0 0 4px var(--orange-bg); }
.tl-dot-pending { background:var(--surface-3); color:var(--text-4); border:2px solid var(--border); }
.tl-content { flex:1; padding-bottom:16px; }

/* ════════════════════════════════════════════════════════════════
   MAP PLACEHOLDER
════════════════════════════════════════════════════════════════ */
.map-placeholder {
  background: linear-gradient(135deg, #1a2535 0%, #0f1923 100%);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
  color: rgba(255,255,255,.4);
  position: relative;
  overflow: hidden;
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,107,43,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,43,.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-pulse {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255,107,43,.6);
  animation: pulse-map 2s ease-in-out infinite;
  position: absolute;
}
@keyframes pulse-map {
  0%   { box-shadow: 0 0 0 0 rgba(255,107,43,.6); }
  70%  { box-shadow: 0 0 0 20px rgba(255,107,43,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,43,0); }
}

/* ════════════════════════════════════════════════════════════════
   TOAST NOTIFICATION SYSTEM
════════════════════════════════════════════════════════════════ */
#toast-container {
  position: fixed;
  top: 78px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--orange);
  min-width: 280px;
  max-width: 360px;
  pointer-events: all;
  animation: toastIn .3s ease forwards;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
}
.toast.out { animation: toastOut .3s ease forwards; }
@keyframes toastIn  { from { transform:translateX(110%); opacity:0; } to { transform:translateX(0); opacity:1; } }
@keyframes toastOut { from { transform:translateX(0); opacity:1; } to { transform:translateX(110%); opacity:0; } }
.toast-icon { font-size:18px; flex-shrink:0; }
.toast.success { border-left-color:var(--green); }
.toast.warning { border-left-color:var(--amber); }
.toast.danger  { border-left-color:var(--red); }
.toast.info    { border-left-color:var(--blue); }
.toast-progress { position:absolute; bottom:0; left:0; height:2px; background:var(--orange); border-radius:0 0 0 var(--radius); animation: progress var(--dur,3s) linear forwards; }
@keyframes progress { from { width:100%; } to { width:0%; } }

/* ════════════════════════════════════════════════════════════════
   DATATABLE OVERRIDE
════════════════════════════════════════════════════════════════ */
.dataTables_wrapper .dataTables_filter input {
  border:1.5px solid var(--border); border-radius:var(--radius);
  padding:6px 12px; font-family:var(--font); font-size:13px; color:var(--text-1);
  margin-left:6px;
}
.dataTables_wrapper .dataTables_filter input:focus { outline:none; border-color:var(--orange); box-shadow:0 0 0 3px var(--orange-bg); }
.dataTables_wrapper .dataTables_length select { border:1.5px solid var(--border); border-radius:var(--radius); padding:5px 8px; font-family:var(--font); }
.dataTables_wrapper .dataTables_paginate .paginate_button { border-radius:var(--radius-sm)!important; font-family:var(--font)!important; font-weight:600!important; font-size:12.5px!important; }
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover { background:var(--orange)!important; border-color:var(--orange)!important; color:#fff!important; box-shadow:none!important; }
.dataTables_wrapper .dataTables_paginate .paginate_button:hover { background:var(--orange-bg)!important; border-color:var(--orange-bg2)!important; color:var(--orange)!important; }
.dataTables_info,.dataTables_length,.dataTables_filter { font-family:var(--font); font-size:12.5px; color:var(--text-3); }
div.dt-toolbar { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; border-bottom:1px solid var(--border); background:var(--surface-2); }
div.dt-footer { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; border-top:1px solid var(--border); background:var(--surface-2); }

/* ════════════════════════════════════════════════════════════════
   SELECT2 OVERRIDE
════════════════════════════════════════════════════════════════ */
.select2-container { max-width: 100%; }
.select2-container .select2-selection--single { height:40px; border:1.5px solid var(--border); border-radius:var(--radius); background:var(--surface); }
.select2-container .select2-selection--single .select2-selection__rendered { line-height:38px; padding:0 12px; color:var(--text-1); font-family:var(--font); font-size:13.5px; }
.select2-container.select2-container--open .select2-selection--single,
.select2-container .select2-selection--single:focus { border-color:var(--orange); box-shadow:0 0 0 3px var(--orange-bg); outline:none; }
.select2-container .select2-dropdown { border:1.5px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow-lg); font-family:var(--font); font-size:13.5px; }
.select2-container .select2-results__option--highlighted { background:var(--orange-bg); color:var(--orange-dk); }
.select2-container .select2-search--dropdown .select2-search__field { border:1.5px solid var(--border); border-radius:var(--radius); padding:7px 10px; font-family:var(--font); }
.select2-container .select2-search--dropdown .select2-search__field:focus { border-color:var(--orange); outline:none; }

/* Select2 classic theme override */
.select2-container--classic .select2-selection--single { height:40px; border:1.5px solid var(--border); border-radius:var(--radius); background:var(--surface); }
.select2-container--classic .select2-selection--single .select2-selection__rendered { line-height:38px; padding:0 12px; color:var(--text-1); font-family:var(--font); font-size:13.5px; }
.select2-container--classic.select2-container--open .select2-selection--single,
.select2-container--classic .select2-selection--single:focus { border-color:var(--orange); box-shadow:0 0 0 3px var(--orange-bg); outline:none; }
.select2-container--classic .select2-dropdown { border:1.5px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow-lg); font-family:var(--font); font-size:13.5px; }
.select2-container--classic .select2-results__option--highlighted { background:var(--orange-bg); color:var(--orange-dk); }
.select2-container--classic .select2-search--dropdown .select2-search__field { border:1.5px solid var(--border); border-radius:var(--radius); padding:7px 10px; font-family:var(--font); }
.select2-container--classic .select2-search--dropdown .select2-search__field:focus { border-color:var(--orange); outline:none; }

/* ════════════════════════════════════════════════════════════════
   FLATPICKR OVERRIDE
════════════════════════════════════════════════════════════════ */
.flatpickr-calendar { border-radius:var(--radius-lg)!important; box-shadow:var(--shadow-lg)!important; border:1px solid var(--border)!important; font-family:var(--font)!important; }
.flatpickr-day.selected,.flatpickr-day.selected:hover { background:var(--orange)!important; border-color:var(--orange)!important; }
.flatpickr-day:hover { background:var(--orange-bg)!important; }
.flatpickr-months .flatpickr-month { background:var(--orange)!important; border-radius:var(--radius-lg) var(--radius-lg) 0 0!important; }
.flatpickr-weekday,.numInputWrapper { font-family:var(--font)!important; }

/* ════════════════════════════════════════════════════════════════
   NOTIFICATION SYSTEM
════════════════════════════════════════════════════════════════ */

/* Bell button active state */
.hdr-notif.has-alerts { color: var(--red) !important; border-color: var(--red) !important; }
.hdr-notif.has-alerts:hover { background: var(--red-bg) !important; }

/* Badge */
.notif-badge {
  position: absolute;
  top: 3px; right: 3px;
  min-width: 17px; height: 17px;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 800;
  font-family: var(--font);
  line-height: 17px;
  text-align: center;
  padding: 0 4px;
  border: 2px solid var(--surface);
  pointer-events: none;
  animation: notif-pop 0.3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes notif-pop {
  0%   { transform: scale(0); }
  100% { transform: scale(1); }
}

/* Dropdown panel */
.notif-dropdown {
  position: absolute;
  top: calc(var(--header-h) - 6px);
  right: 80px;
  width: 380px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.08);
  z-index: 9999;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: notif-slide-in 0.2s ease-out;
}
.notif-dropdown.open { display: flex; }
@keyframes notif-slide-in {
  0%   { opacity: 0; transform: translateY(-8px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Arrow pointer */
.notif-dropdown::before {
  content: '';
  position: absolute;
  top: -7px; right: 54px;
  width: 12px; height: 12px;
  background: var(--surface);
  border-left: 1.5px solid var(--border);
  border-top: 1.5px solid var(--border);
  transform: rotate(45deg);
  border-radius: 2px 0 0 0;
  z-index: 1;
}

/* Header */
.notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  border-bottom: 1.5px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
}
.notif-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.notif-header-icon {
  width: 30px; height: 30px;
  border-radius: var(--radius);
  background: var(--orange-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--orange);
}
.notif-title {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: 0.3px;
}
.notif-subtitle {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 1px;
}
.notif-header-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.notif-close {
  width: 26px; height: 26px;
  border: none;
  background: none;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--text-3);
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t);
  padding: 0;
}
.notif-close:hover { background: var(--red-bg); color: var(--red); }

/* Tab bar */
.notif-tabs {
  display: flex;
  border-bottom: 1.5px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
  padding: 0 10px;
  gap: 2px;
}
.notif-tab {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 10px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: var(--display);
  color: var(--text-3);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--t);
  letter-spacing: 0.3px;
  white-space: nowrap;
  background: none;
  border-top: none; border-left: none; border-right: none;
  margin-bottom: -1.5px;
}
.notif-tab:hover { color: var(--text-1); }
.notif-tab.active { color: var(--orange); border-bottom-color: var(--orange); }
.notif-tab-count {
  min-width: 16px; height: 16px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  padding: 0 4px;
  background: var(--border);
  color: var(--text-3);
}
.notif-tab.active .notif-tab-count { background: var(--orange); color: #fff; }
.notif-tab-count.danger { background: var(--red-bg2); color: var(--red-dk); }
.notif-tab.active .notif-tab-count.danger { background: var(--red); color: #fff; }

/* Body / scroll area */
.notif-body {
  flex: 1;
  overflow-y: auto;
  max-height: 340px;
  padding: 6px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.notif-body::-webkit-scrollbar { width: 4px; }
.notif-body::-webkit-scrollbar-track { background: transparent; }
.notif-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* Tab panels */
.notif-panel { display: none; }
.notif-panel.active { display: block; }

/* Section labels */
.notif-section-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 4px;
  font-size: 10px;
  font-weight: 800;
  font-family: var(--display);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-3);
}
.notif-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Notification item */
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background var(--t);
  border-left: 3px solid transparent;
  text-decoration: none;
}
.notif-item:hover {
  background: var(--bg);
  text-decoration: none;
}
.notif-item.severity-expired  { border-left-color: var(--red); }
.notif-item.severity-critical { border-left-color: var(--red); }
.notif-item.severity-urgent   { border-left-color: var(--amber); }
.notif-item.severity-warning  { border-left-color: var(--blue); }
.notif-item.severity-info     { border-left-color: var(--green); }

/* Item icon avatar */
.notif-item-icon {
  width: 34px; height: 34px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}
.notif-item-icon.red    { background: var(--red-bg);   color: var(--red); }
.notif-item-icon.amber  { background: var(--amber-bg); color: var(--amber-dk); }
.notif-item-icon.blue   { background: var(--blue-bg);  color: var(--blue); }
.notif-item-icon.green  { background: var(--green-bg); color: var(--green-dk); }
.notif-item-icon.orange { background: var(--orange-bg); color: var(--orange); }

/* Item content */
.notif-item-content { flex: 1; min-width: 0; }
.notif-item-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 3px;
}
.notif-item-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--display);
  flex: 1;
  min-width: 0;
}
.notif-item-badge {
  font-size: 9.5px;
  font-weight: 800;
  font-family: var(--display);
  letter-spacing: 0.4px;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.notif-item-badge.expired  { background: var(--red-bg2);   color: var(--red-dk); }
.notif-item-badge.critical { background: var(--red-bg2);   color: var(--red-dk); }
.notif-item-badge.urgent   { background: var(--amber-bg2); color: var(--amber-dk); }
.notif-item-badge.warning  { background: var(--blue-bg2);  color: var(--blue-dk); }
.notif-item-badge.info     { background: var(--green-bg2); color: var(--green-dk); }

.notif-item-detail {
  font-size: 11.5px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.notif-item-detail .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-3);
  flex-shrink: 0;
}
.notif-item-days {
  font-weight: 700;
  font-family: var(--mono);
  font-size: 11px;
}
.notif-item-days.red    { color: var(--red); }
.notif-item-days.amber  { color: var(--amber-dk); }
.notif-item-days.blue   { color: var(--blue); }
.notif-item-days.green  { color: var(--green-dk); }

/* Empty state */
.notif-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
  gap: 10px;
  color: var(--text-3);
}
.notif-empty-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--green-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--green);
}
.notif-empty-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  font-family: var(--display);
}
.notif-empty-sub {
  font-size: 11.5px;
  color: var(--text-3);
  text-align: center;
}

/* Loading skeleton */
.notif-skeleton {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}
.notif-skeleton-icon {
  width: 34px; height: 34px;
  border-radius: var(--radius);
  background: var(--border);
  flex-shrink: 0;
  animation: skeleton-pulse 1.4s ease-in-out infinite;
}
.notif-skeleton-lines { flex: 1; }
.notif-skeleton-line {
  height: 10px;
  background: var(--border);
  border-radius: 6px;
  margin-bottom: 7px;
  animation: skeleton-pulse 1.4s ease-in-out infinite;
}
.notif-skeleton-line:last-child { width: 60%; margin-bottom: 0; }
@keyframes skeleton-pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

/* Footer */
.notif-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 1.5px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
  gap: 8px;
}
.notif-footer-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: var(--display);
  color: var(--orange);
  text-decoration: none;
  transition: color var(--t);
}
.notif-footer-link:hover { color: var(--orange-dk); }
.notif-mark-read {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font);
  transition: color var(--t);
}
.notif-mark-read:hover { color: var(--text-1); }

/* ════════════════════════════════════════════════════════════════
   UTILITY
════════════════════════════════════════════════════════════════ */
.text-orange  { color:var(--orange)!important; }
.text-green   { color:var(--green)!important; }
.text-red     { color:var(--red)!important; }
.text-amber   { color:var(--amber)!important; }
.text-blue    { color:var(--blue)!important; }
.text-muted   { color:var(--text-3)!important; }
.text-mono    { font-family:var(--mono)!important; }
.fw-bold      { font-weight:700!important; }
.fw-black     { font-weight:800!important; }
.font-display { font-family:var(--display)!important; }
.w-100        { width:100%; }
.gap-8        { gap:8px; }
.gap-12       { gap:12px; }
.gap-16       { gap:16px; }

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

/* Print */
@media print {
  .sidebar,.top-header,.no-print { display:none!important; }
  .main-area { margin-left:0!important; padding:0!important; }
  .card { box-shadow:none!important; }
  body { background:#fff!important; font-size:12px; }
}

/* Responsive */
@media (max-width:1200px) { .stats-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:768px) {
  .sidebar { transform:translateX(-100%); transition:transform .3s ease; }
  .sidebar.open { transform:translateX(0); }
  .main-area { margin-left:0; padding:16px; }
  .top-header { left:0; }
  .stats-grid { grid-template-columns:1fr; }
}
