
/* ══════════════════════════════════════════════════════
   SIMSPRAS – Sistem Informasi Sarana Prasarana
   Akademi Akupunktur Surabaya | style.css
   ══════════════════════════════════════════════════════ */

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

:root {
  --sidebar-w: 210px;
  --sidebar-collapsed-w: 68px;
  --topbar-h: 60px;

  /* ── LIGHT THEME (DEFAULT INSTITUSI / TAMPILAN AWAL PUTIH) ── */
  --bg-base:        #f1f5f9;
  --bg-surface:     #ffffff;
  --bg-card:        #ffffff;
  --bg-card2:       #f8fafc;
  --bg-hover:       #f1f5f9;
  --bg-input:       #ffffff;
  --border:         #e2e8f0;
  --border2:        #cbd5e1;

  --teal:           #0d9488;
  --teal-dim:       #0f766e;
  --blue:           #2563eb;
  --blue-dim:       #1d4ed8;
  --amber:          #d97706;
  --amber-dim:      #b45309;
  --green:          #16a34a;
  --green-dim:      #15803d;
  --red:            #ef4444;
  --red-dim:        #dc2626;
  --purple:         #7c3aed;

  --text-primary:   #0f172a;
  --text-secondary: #475569;
  --text-muted:     #64748b;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  20px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg:  0 12px 32px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);

  --transition: 0.2s ease;
  --transition-slow: 0.35s ease;

  --font: 'Inter', 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ── DARK THEME (MODE GELAP / HITAM) ── */
[data-theme="dark"] {
  --bg-base:        #0e1117;
  --bg-surface:     #161b26;
  --bg-card:        #1c2333;
  --bg-card2:       #212840;
  --bg-hover:       #252d40;
  --bg-input:       #1a2135;
  --border:         rgba(255,255,255,0.07);
  --border2:        rgba(255,255,255,0.12);

  --teal:           #0ed1a8;
  --teal-dim:       #0a9478;
  --blue:           #4a9eff;
  --blue-dim:       #2b6fcb;
  --amber:          #f5a623;
  --amber-dim:      #c47d0e;
  --green:          #3dd68c;
  --green-dim:      #27a869;
  --red:            #ff5c5c;
  --red-dim:        #cc3333;
  --purple:         #9b7dff;

  --text-primary:   #f0f4ff;
  --text-secondary: #8994b0;
  --text-muted:     #57637a;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.7);
}

html { font-size: 14px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-primary);
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ═══════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════ */
.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  height: 100vh;
  position: fixed;
  left: 0; top: 0;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: width var(--transition-slow);
  z-index: 200;
  overflow: hidden;
}

.sidebar.collapsed { width: var(--sidebar-collapsed-w); }
.sidebar.collapsed .logo-text,
.sidebar.collapsed .nav-label,
.sidebar.collapsed .nav-section-label,
.sidebar.collapsed .sidebar-institution,
.sidebar.collapsed .user-detail { display: none; }
.sidebar.collapsed .sidebar-header { justify-content: center; padding: 16px 8px; }
.sidebar.collapsed .nav-item { justify-content: center; padding: 12px; }
.sidebar.collapsed .user-info { justify-content: center; }

/* Header */
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.sidebar-logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { flex-shrink: 0; display: flex; }
.app-logo-img { width: 36px; height: 36px; object-fit: contain; border-radius: 4px; }
.logo-text { display: flex; flex-direction: column; }
.logo-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px; font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.5px;
  line-height: 1;
}
.logo-subtitle {
  font-size: 10px; color: var(--text-secondary);
  margin-top: 2px; white-space: nowrap;
}
.sidebar-toggle {
  background: none; border: none; cursor: pointer;
  color: var(--text-secondary); padding: 6px; border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.sidebar-toggle:hover { background: var(--bg-hover); color: var(--text-primary); }

/* Institution */
.sidebar-institution {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  font-size: 11px; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0; white-space: nowrap; overflow: hidden;
}

/* Nav */
.sidebar-nav {
  flex: 1; padding: 12px 10px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 2px;
}
.nav-section-label {
  font-size: 10px; font-weight: 600; letter-spacing: 1px;
  color: var(--text-muted); text-transform: uppercase;
  padding: 6px 8px 4px; margin-top: 4px;
}
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius-md);
  color: var(--text-secondary);
  text-decoration: none; font-size: 13.5px; font-weight: 500;
  transition: var(--transition); white-space: nowrap;
  position: relative;
}
.nav-item:hover { background: var(--bg-hover); color: var(--text-primary); }
.nav-item.active {
  background: linear-gradient(135deg, rgba(14,209,168,0.15), rgba(74,158,255,0.1));
  color: var(--teal);
  font-weight: 600;
}
.nav-item.active::before {
  content: '';
  position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 3px; background: var(--teal);
  border-radius: 0 3px 3px 0;
}
.nav-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Footer */
.sidebar-footer {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  overflow: hidden;
}
.user-info { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  min-width: 0;
}
.user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: white;
  flex-shrink: 0;
}
.user-avatar.small { width: 28px; height: 28px; font-size: 10px; }
.user-detail { 
  display: flex; 
  flex-direction: column; 
  min-width: 0;
  flex: 1;
  overflow: hidden;
}
.user-name { 
  font-size: 12.5px; 
  font-weight: 600; 
  color: var(--text-primary); 
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.user-role { 
  font-size: 11px; 
  color: var(--text-muted); 
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* ═══════════════════════════════════════════
   MAIN WRAPPER
   ═══════════════════════════════════════════ */
.main-wrapper {
  flex: 1;
  margin-left: var(--sidebar-w);
  display: flex; flex-direction: column;
  min-height: 100vh;
  transition: margin-left var(--transition-slow);
}
.sidebar.collapsed ~ .main-wrapper { margin-left: var(--sidebar-collapsed-w); }

/* ── TOPBAR ── */
.topbar {
  height: var(--topbar-h);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  position: sticky; top: 0; z-index: 100;
  flex-shrink: 0;
}
.topbar-left { display: flex; align-items: center; gap: 14px; }
.mobile-menu-btn {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--text-secondary); padding: 6px;
  border-radius: var(--radius-sm); transition: var(--transition);
}
.mobile-menu-btn:hover { color: var(--text-primary); background: var(--bg-hover); }
.topbar-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--text-secondary);
}
.topbar-breadcrumb svg { opacity: 0.5; }
.topbar-breadcrumb span { color: var(--text-primary); }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-date { font-size: 13px; font-weight: 600; color: var(--text-primary); white-space: nowrap; }
.topbar-icon-btn.theme-btn { font-size: 16px; }
.topbar-icon-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text-secondary); padding: 8px; border-radius: var(--radius-sm);
  position: relative; transition: var(--transition);
  display: flex; align-items: center;
}
.topbar-icon-btn:hover { background: var(--bg-hover); color: var(--text-primary); }
.notif-badge {
  position: absolute; top: 3px; right: 3px;
  background: var(--red); color: white;
  font-size: 9px; font-weight: 700;
  border-radius: 50%; width: 14px; height: 14px;
  display: flex; align-items: center; justify-content: center;
}
.topbar-user { display: flex; align-items: center; }

/* ── CONTENT AREA ── */
.content { flex: 1; padding: 18px 20px; overflow-y: auto; }

/* ═══════════════════════════════════════════
   PAGES
   ═══════════════════════════════════════════ */
.page { display: none; animation: fadeSlideIn 0.3s ease; }
.page.active { display: block; }
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 18px; flex-wrap: wrap; gap: 10px;
}
.page-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px; font-weight: 800;
  color: var(--text-primary); line-height: 1.2;
}
.page-subtitle { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   STAT CARDS
   ═══════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 14px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
  position: relative; overflow: hidden;
  box-shadow: 0 5px 0 var(--border2), 0 10px 20px -4px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 0 var(--border2), 0 16px 28px -4px rgba(15, 23, 42, 0.14);
}
.stat-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
}
.stat-teal { border-top: 2px solid var(--teal); }
.stat-blue { border-top: 2px solid var(--blue); }
.stat-amber { border-top: 2px solid var(--amber); }
.stat-green { border-top: 2px solid var(--green); }
.stat-red { border-top: 2px solid var(--red); }
.stat-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 3px 0 rgba(0,0,0,0.06), inset 0 1px 1px rgba(255,255,255,0.5);
}
.stat-teal .stat-icon { background: rgba(14,209,168,0.12); color: var(--teal); }
.stat-blue .stat-icon  { background: rgba(74,158,255,0.12); color: var(--blue); }
.stat-amber .stat-icon { background: rgba(245,166,35,0.12); color: var(--amber); }
.stat-green .stat-icon { background: rgba(61,214,140,0.12); color: var(--green); }
.stat-red .stat-icon   { background: rgba(255,92,92,0.12);  color: var(--red); }
.stat-info { display: flex; flex-direction: column; }
.stat-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px; font-weight: 800; line-height: 1;
  color: var(--text-primary);
}
.stat-label { font-size: 12px; color: var(--text-secondary); margin-top: 5px; }

/* ═══════════════════════════════════════════
   DASHBOARD GRID
   ═══════════════════════════════════════════ */
.dashboard-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-bottom: 14px;
}

/* ═══════════════════════════════════════════
   CARD
   ═══════════════════════════════════════════ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 0;
  box-shadow: 0 5px 0 var(--border), 0 10px 24px -6px rgba(15, 23, 42, 0.08);
}
.table-card { padding: 0; overflow: hidden; margin-bottom: 0; }
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; gap: 12px;
  padding: 16px 20px 0;
}
.table-card .card-header { border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.card-title { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.card-link {
  font-size: 12px; color: var(--teal); text-decoration: none; font-weight: 600;
  transition: var(--transition);
}
.card-link:hover { color: var(--blue); }

/* ═══════════════════════════════════════════
   DONUT CHART
   ═══════════════════════════════════════════ */
.donut-wrapper {
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap; padding: 0 20px 20px;
}
.donut-legend { display: flex; flex-direction: column; gap: 12px; }
.legend-item { display: flex; align-items: center; gap: 12px; font-size: 13.5px; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.legend-label { color: var(--text-secondary); width: 100px; }
.legend-val { font-weight: 700; color: var(--text-primary); font-size: 14px; text-align: right; width: 30px; }

/* ═══════════════════════════════════════════
   ACTIVITY LIST
   ═══════════════════════════════════════════ */
.activity-list { display: flex; flex-direction: column; gap: 0; }
.activity-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 20px; border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.activity-item:last-child { border-bottom: none; }
.activity-item:hover { background: var(--bg-hover); }
.activity-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0; margin-top: 5px;
}
.activity-dot.teal { background: var(--teal); }
.activity-dot.blue { background: var(--blue); }
.activity-dot.amber { background: var(--amber); }
.activity-dot.green { background: var(--green); }
.activity-dot.red { background: var(--red); }
.activity-text { flex: 1; }
.activity-title { font-size: 13px; font-weight: 500; color: var(--text-primary); line-height: 1.4; }
.activity-time { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ═══════════════════════════════════════════
   ANGGARAN PROGRESS
   ═══════════════════════════════════════════ */
.anggaran-progress { display: flex; flex-direction: column; gap: 14px; padding: 0 20px 20px; }
.progress-item { display: flex; flex-direction: column; gap: 6px; }
.progress-header { display: flex; justify-content: space-between; align-items: center; }
.progress-label { font-size: 12.5px; color: var(--text-secondary); font-weight: 500; }
.progress-val { font-size: 12px; color: var(--text-primary); font-weight: 600; }
.progress-bar {
  height: 7px; background: var(--bg-hover);
  border-radius: 10px; overflow: hidden;
}
.progress-fill {
  height: 100%; border-radius: 10px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  transition: width 0.8s ease;
}

/* ═══════════════════════════════════════════
   TABLES
   ═══════════════════════════════════════════ */
.table-wrapper { overflow-x: auto; }
.data-table {
  width: 100%; border-collapse: collapse;
  font-size: 13px;
}
.data-table th {
  background: var(--bg-base);
  padding: 11px 14px;
  text-align: left; font-size: 11px; font-weight: 600;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary); vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-hover); }
.compact-table th, .compact-table td { padding: 9px 14px; }
.table-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-muted);
}
.pagination { display: flex; gap: 4px; }
.page-btn {
  padding: 4px 10px; background: var(--bg-hover);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-secondary); cursor: pointer; font-size: 12px;
  transition: var(--transition);
}
.page-btn:hover, .page-btn.active {
  background: var(--teal); color: #ffffff;
  border-color: var(--teal);
}

/* Action buttons in table */
.action-btns { display: flex; gap: 6px; }
.btn-icon {
  background: none; border: none; cursor: pointer;
  padding: 5px 7px; border-radius: var(--radius-sm);
  color: var(--text-muted); transition: var(--transition);
  display: flex; align-items: center;
}
.btn-icon:hover { background: var(--bg-hover); }
.btn-icon.view:hover { color: var(--blue); }
.btn-icon.edit:hover { color: var(--amber); }
.btn-icon.del:hover { color: var(--red); }

/* ═══════════════════════════════════════════
   BADGES
   ═══════════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 20px;
  font-size: 11px; font-weight: 600;
}
.badge-info { background: rgba(74,158,255,0.15); color: var(--blue); }
.badge-success { background: rgba(61,214,140,0.15); color: var(--green); }
.badge-warning { background: rgba(245,166,35,0.15); color: var(--amber); }
.badge-danger  { background: rgba(255,92,92,0.15);  color: var(--red); }
.badge-gray    { background: rgba(137,148,176,0.15); color: var(--text-secondary); }
.badge-teal    { background: rgba(14,209,168,0.15);  color: var(--teal); }
.badge-purple  { background: rgba(155,125,255,0.15); color: var(--purple); }
.pulse-dot::before {
  content: ''; display: inline-block;
  width: 6px; height: 6px; background: var(--green);
  border-radius: 50%; margin-right: 5px;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}

/* ── Kondisi badges ── */
.kondisi-baik      { background: rgba(61,214,140,0.12); color: var(--green); padding:3px 8px; border-radius:20px; font-size:11px; font-weight:600; white-space:nowrap; }
.kondisi-cukup     { background: rgba(74,158,255,0.12); color: var(--blue);  padding:3px 8px; border-radius:20px; font-size:11px; font-weight:600; white-space:nowrap; }
.kondisi-ringan    { background: rgba(245,166,35,0.12); color: var(--amber); padding:3px 8px; border-radius:20px; font-size:11px; font-weight:600; white-space:nowrap; }
.kondisi-berat     { background: rgba(255,92,92,0.12);  color: var(--red);   padding:3px 8px; border-radius:20px; font-size:11px; font-weight:600; white-space:nowrap; }
.status-direncanakan { background:rgba(155,125,255,.12); color:var(--purple); padding:3px 8px; border-radius:20px; font-size:11px; font-weight:600; }
.status-disetujui    { background:rgba(74,158,255,.12);  color:var(--blue);   padding:3px 8px; border-radius:20px; font-size:11px; font-weight:600; }
.status-terealisasi  { background:rgba(61,214,140,.12);  color:var(--green);  padding:3px 8px; border-radius:20px; font-size:11px; font-weight:600; }
.status-ditolak      { background:rgba(255,92,92,.12);   color:var(--red);    padding:3px 8px; border-radius:20px; font-size:11px; font-weight:600; }
.status-aktif        { background:rgba(61,214,140,.12);  color:var(--green);  padding:3px 8px; border-radius:20px; font-size:11px; font-weight:600; }
.status-revisi       { background:rgba(245,166,35,.12);  color:var(--amber);  padding:3px 8px; border-radius:20px; font-size:11px; font-weight:600; }
.status-tidakaktif   { background:rgba(137,148,176,.12); color:var(--text-secondary); padding:3px 8px; border-radius:20px; font-size:11px; font-weight:600; }
.eval-layak      { background:rgba(61,214,140,.12);  color:var(--green);  padding:3px 8px; border-radius:20px; font-size:11px; font-weight:600; }
.eval-perlu      { background:rgba(245,166,35,.12);  color:var(--amber);  padding:3px 8px; border-radius:20px; font-size:11px; font-weight:600; }
.eval-tidak      { background:rgba(255,92,92,.12);   color:var(--red);    padding:3px 8px; border-radius:20px; font-size:11px; font-weight:600; }

/* ═══════════════════════════════════════════
   FILTER BAR
   ═══════════════════════════════════════════ */
.filter-bar {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.search-box {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 9px 14px;
  flex: 1; min-width: 200px; max-width: 320px;
  transition: var(--transition);
}
.search-box svg { color: var(--text-muted); flex-shrink: 0; }
.search-box input {
  background: none; border: none; outline: none;
  color: var(--text-primary); font-size: 13px; width: 100%;
  font-family: var(--font);
}
.search-box input::placeholder { color: var(--text-muted); }
.search-box:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,209,168,0.1); }
.search-box.small { max-width: 200px; flex: unset; padding: 7px 12px; }
.filter-select {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-primary); padding: 9px 12px;
  border-radius: var(--radius-md); font-size: 13px;
  cursor: pointer; transition: var(--transition);
  font-family: var(--font); outline: none;
}
.filter-select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,209,168,0.1); }
.filter-select option { background: var(--bg-card2); }

/* ═══════════════════════════════════════════
   TAB BAR
   ═══════════════════════════════════════════ */
.tab-bar {
  display: flex; gap: 4px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 4px;
  margin-bottom: 16px; width: fit-content; flex-wrap: wrap;
}
.tab-btn {
  padding: 7px 16px; border: none; cursor: pointer;
  border-radius: var(--radius-sm); font-size: 12.5px; font-weight: 600;
  color: var(--text-secondary); background: none;
  transition: var(--transition); font-family: var(--font);
}
.tab-btn:hover { color: var(--text-primary); background: var(--bg-hover); }
.tab-btn.active { background: var(--teal); color: #ffffff; }

/* ═══════════════════════════════════════════
   SOP GRID
   ═══════════════════════════════════════════ */
.sop-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.sop-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  transition: var(--transition); cursor: pointer; position: relative; overflow: hidden;
}
.sop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.sop-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.sop-nomor { font-size: 11px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.5px; }
.sop-title { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; line-height: 1.4; }
.sop-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sop-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.sop-meta { font-size: 11px; color: var(--text-muted); }
.sop-actions { display: flex; gap: 6px; }
.sop-cat-bar { height: 3px; border-radius: 3px; position: absolute; top: 0; left: 0; right: 0; }
.sop-cat-pengadaan  { background: var(--teal); }
.sop-cat-perawatan  { background: var(--blue); }
.sop-cat-penghapusan{ background: var(--amber); }
.sop-cat-peminjaman { background: var(--green); }
.empty-state {
  text-align: center; padding: 60px 20px; color: var(--text-muted);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.empty-state svg { opacity: 0.3; }
.empty-state p { font-size: 14px; }

/* ═══════════════════════════════════════════
   LAPORAN GRID
   ═══════════════════════════════════════════ */
.laporan-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.laporan-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  transition: var(--transition); cursor: pointer;
}
.laporan-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.laporan-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.laporan-jenis-icon {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: rgba(14,209,168,0.12); color: var(--teal);
}
.laporan-title { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; line-height: 1.4; }
.laporan-periode { font-size: 12px; color: var(--text-secondary); margin-bottom: 10px; }
.laporan-isi { font-size: 12px; color: var(--text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.laporan-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.laporan-meta { font-size: 11px; color: var(--text-muted); }

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: var(--radius-md);
  font-size: 13px; font-weight: 600; cursor: pointer;
  border: none; transition: var(--transition);
  font-family: var(--font); text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(14,209,168,0.3);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(14,209,168,0.4);
}
.btn-outline {
  background: none; color: var(--text-secondary);
  border: 1px solid var(--border2);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); background: rgba(14,209,168,0.05); }
.btn-danger {
  background: rgba(255,92,92,0.15); color: var(--red); border: 1px solid rgba(255,92,92,0.3);
}
.btn-danger:hover { background: var(--red); color: white; }
.btn-sm { padding: 6px 12px; font-size: 12px; }

/* ═══════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════ */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group:last-child { margin-bottom: 0; }
.form-label { font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.req { color: var(--red); }
.form-input, .form-control {
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 9px 12px;
  color: var(--text-primary); font-size: 13px; font-family: var(--font);
  transition: var(--transition); outline: none; width: 100%;
}
.form-input:focus, .form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,209,168,0.1); }
.form-input::placeholder, .form-control::placeholder { color: var(--text-muted); }
.form-input option, .form-control option { background: var(--bg-card2); color: var(--text-primary); }
textarea.form-input { resize: vertical; line-height: 1.5; }
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-grid .span-2 { grid-column: span 2; }
.form-row { display: flex; gap: 10px; }

/* ═══════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════ */
.overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  z-index: 300;
}
.overlay.active { display: block; }
.modal {
  display: none; position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: min(540px, 95vw);
  background: var(--bg-card2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xl);
  z-index: 400;
  max-height: 90vh; overflow-y: auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
  box-shadow: var(--shadow-lg);
}
.modal.modal-wide { width: min(720px, 95vw); }
.modal.active {
  display: block;
  animation: modalIn 0.25s ease forwards;
}
@keyframes modalIn {
  from { opacity: 0; transform: translate(-50%,-50%) scale(0.93); }
  to   { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--bg-card2); z-index: 1;
}
.modal-title { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.modal-close {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 22px; line-height: 1;
  padding: 4px 8px; border-radius: var(--radius-sm);
  transition: var(--transition);
}
.modal-close:hover { background: var(--bg-hover); color: var(--text-primary); }
.modal-body { padding: 20px 24px; }
.modal-footer {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  position: sticky; bottom: 0; background: var(--bg-card2);
}

/* MODAL DETAIL */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.detail-item { display: flex; flex-direction: column; gap: 4px; }
.detail-label { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.detail-value { font-size: 13.5px; color: var(--text-primary); font-weight: 500; }
.detail-divider { grid-column: span 2; border-top: 1px solid var(--border); margin: 4px 0; }

/* ═══════════════════════════════════════════
   SETTINGS
   ═══════════════════════════════════════════ */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-info { display: flex; flex-direction: column; gap: 0; }
.about-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.about-row:last-child { border-bottom: none; }
.about-row span { color: var(--text-muted); }
.about-row strong { color: var(--text-primary); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 20px;
  background: var(--bg-hover); border: 1px solid var(--border);
  font-size: 12px; color: var(--text-secondary);
  transition: var(--transition);
}
.chip button {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 14px; line-height: 1;
  padding: 0; transition: var(--transition);
}
.chip button:hover { color: var(--red); }

/* ═══════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════ */
.toast-container {
  position: fixed; bottom: 24px; right: 24px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 999; pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: var(--bg-card2); border: 1px solid var(--border2);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  font-size: 13px; font-weight: 500; color: var(--text-primary);
  animation: toastIn 0.3s ease;
  min-width: 260px;
}
.toast.success { border-left: 3px solid var(--green); }
.toast.error   { border-left: 3px solid var(--red); }
.toast.warning { border-left: 3px solid var(--amber); }
.toast.info    { border-left: 3px solid var(--blue); }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(20px); }
}

/* ═══════════════════════════════════════════
   RESPONSIVE & MOBILE OPTIMIZATION
   ═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .settings-grid { grid-template-columns: 1fr; }
  .laporan-grid { grid-template-columns: repeat(2, 1fr); }
  .sop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    width: var(--sidebar-w) !important;
    z-index: 1000;
    position: fixed;
    top: 0; left: 0; height: 100vh;
    transition: transform 0.3s ease;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0,0,0,0.25);
  }
  .main-wrapper { margin-left: 0 !important; }
  
  .topbar { padding: 0 16px; justify-content: space-between; }
  .mobile-menu-btn { display: flex !important; margin-right: 15px; }
  .topbar-date { display: none; }
  
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .laporan-grid { grid-template-columns: 1fr; }
  .sop-grid { grid-template-columns: 1fr; }
  
  .content { padding: 16px 12px; overflow-x: hidden; }
  
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .form-grid .span-2 { grid-column: span 1; }
  
  .page-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
  .page-actions { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
  .page-actions .btn { flex: 1; justify-content: center; font-size: 13px; padding: 8px 12px; }
  
  /* Tables horizontally scrollable */
  .table-wrapper { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 8px; }
  .data-table { min-width: 800px; } /* Ensures columns don't crush */
  
  .filter-bar { flex-direction: column; align-items: stretch; gap: 10px; }
  .filter-bar input, .filter-bar select { width: 100%; }
  
  .tab-bar { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 5px; }
  .tab-btn { flex: 0 0 auto; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .modal { width: 95vw; padding: 20px; }
  .modal-header h2 { font-size: 18px; }
  .page-title { font-size: 22px; }
  .page-subtitle { font-size: 13px; }
  .btn { padding: 8px 12px; font-size: 13px; }
}

/* Ensure images/charts scale properly */
canvas { max-width: 100%; height: auto !important; }
img { max-width: 100%; }

/* ── PDF Button ── */
.btn-pdf {
  border-color: var(--teal) !important;
  color: var(--teal) !important;
  background: rgba(14,209,168,0.06) !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
}
.btn-pdf:hover {
  background: rgba(14,209,168,0.15) !important;
  border-color: var(--teal) !important;
  color: var(--teal) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(14,209,168,0.25);
}
.btn-pdf svg { color: var(--teal); }

/* ── LOGIN OVERLAY (3D INTERACTIVE DESIGN) ── */
.login-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background:
    radial-gradient(circle at 20% 25%, rgba(13, 148, 136, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 80% 75%, rgba(37, 99, 235, 0.28) 0%, transparent 45%),
    linear-gradient(135deg, rgba(8, 13, 24, 0.92) 0%, rgba(15, 23, 42, 0.88) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.login-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 3D Background Scene Elements */
.login-3d-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform-style: preserve-3d;
  overflow: hidden;
  z-index: 0;
}
.grid-3d-floor {
  position: absolute;
  width: 200%;
  height: 120%;
  left: -50%;
  bottom: -45%;
  background-image:
    linear-gradient(rgba(20, 184, 166, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 184, 166, 0.14) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(600px) rotateX(68deg);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 10%, transparent 70%);
  animation: gridMove3D 14s linear infinite;
}
@keyframes gridMove3D {
  0% { background-position: 0 0; }
  100% { background-position: 0 48px; }
}

.orb-3d {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.orb-3d-1 {
  width: 220px; height: 220px;
  top: 10%; left: 14%;
  background: radial-gradient(circle at 30% 30%, #2dd4bf, #0d9488 55%, #064e3b 100%);
  box-shadow:
    inset -18px -18px 36px rgba(0,0,0,0.55),
    inset 12px 12px 24px rgba(255,255,255,0.45),
    0 25px 60px rgba(13, 148, 136, 0.45);
  opacity: 0.55;
  animation: floatOrb3D 8s ease-in-out infinite;
}
.orb-3d-2 {
  width: 170px; height: 170px;
  bottom: 12%; right: 15%;
  background: radial-gradient(circle at 30% 30%, #60a5fa, #2563eb 55%, #1e3a8a 100%);
  box-shadow:
    inset -14px -14px 30px rgba(0,0,0,0.55),
    inset 10px 10px 20px rgba(255,255,255,0.45),
    0 25px 55px rgba(37, 99, 235, 0.45);
  opacity: 0.55;
  animation: floatOrb3D 10s ease-in-out infinite reverse;
}
.orb-3d-3 {
  width: 90px; height: 90px;
  top: 20%; right: 22%;
  background: radial-gradient(circle at 30% 30%, #a7f3d0, #10b981 60%, #065f46 100%);
  box-shadow:
    inset -8px -8px 18px rgba(0,0,0,0.5),
    inset 6px 6px 14px rgba(255,255,255,0.5),
    0 15px 35px rgba(16, 185, 129, 0.4);
  opacity: 0.65;
  animation: floatOrb3D 6.5s ease-in-out infinite 1s;
}
.cube-3d {
  position: absolute;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow:
    0 12px 0 rgba(13, 148, 136, 0.25),
    0 24px 40px rgba(0,0,0,0.45),
    inset 0 2px 3px rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.cube-3d-1 {
  width: 85px; height: 85px;
  bottom: 20%; left: 18%;
  transform: rotate(18deg) skewX(-8deg);
  animation: rotateCube3D 9s ease-in-out infinite;
}
.cube-3d-2 {
  width: 68px; height: 68px;
  top: 62%; right: 24%;
  transform: rotate(-22deg) skewY(8deg);
  animation: rotateCube3D 11s ease-in-out infinite reverse;
}
@keyframes floatOrb3D {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -22px, 30px) scale(1.04); }
}
@keyframes rotateCube3D {
  0%, 100% { transform: translateY(0) rotate(18deg) rotateX(18deg) rotateY(-15deg); }
  50% { transform: translateY(-18px) rotate(32deg) rotateX(30deg) rotateY(15deg); }
}

/* 3D Extruded Login Card */
.login-card {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  width: 100%;
  max-width: 415px;
  padding: 36px 32px 32px;
  transform-style: preserve-3d;
  box-shadow:
    0 10px 0 #cbd5e1,
    0 12px 0 #94a3b8,
    0 28px 60px -8px rgba(0, 0, 0, 0.65),
    0 0 45px rgba(13, 148, 136, 0.25),
    inset 0 2px 4px rgba(255, 255, 255, 1);
  transform: translateY(25px) rotateX(8deg) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.2, 0.85, 0.3, 1), box-shadow 0.25s ease;
}
[data-theme="dark"] .login-card {
  background: linear-gradient(180deg, #1e2738 0%, #151c28 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 10px 0 #0b111e,
    0 12px 0 rgba(14, 209, 168, 0.35),
    0 32px 65px -8px rgba(0, 0, 0, 0.85),
    0 0 50px rgba(14, 209, 168, 0.18),
    inset 0 2px 3px rgba(255, 255, 255, 0.12);
}
.login-overlay.active .login-card {
  transform: translateY(0) rotateX(0deg) rotateY(0deg) scale(1);
}

/* Specular Glare Overlay on 3D Card */
.login-card-glare {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.45), transparent 65%);
  opacity: 0.5;
  z-index: 0;
  transition: opacity 0.2s ease;
}
[data-theme="dark"] .login-card-glare {
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.12), transparent 65%);
}

.login-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 24px;
  transform: translateZ(32px);
  transform-style: preserve-3d;
}

/* 3D Floating Logo Pedestal */
.login-logo-3d {
  margin: 0 auto 14px auto;
  width: 86px;
  height: 86px;
  padding: 10px;
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff, #f1f5f9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow:
    0 6px 0 #cbd5e1,
    0 14px 28px -4px rgba(13, 148, 136, 0.32),
    inset 0 2px 4px #ffffff;
  transform: translateZ(42px);
  animation: logoFloat3D 4s ease-in-out infinite;
}
[data-theme="dark"] .login-logo-3d {
  background: linear-gradient(145deg, #243047, #182030);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 6px 0 #0d1320,
    0 14px 28px -4px rgba(0, 0, 0, 0.6),
    inset 0 2px 3px rgba(255, 255, 255, 0.12);
}
@keyframes logoFloat3D {
  0%, 100% { transform: translateZ(42px) translateY(0); }
  50% { transform: translateZ(48px) translateY(-5px); }
}

.login-header h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 25px;
  font-weight: 800;
  background: linear-gradient(135deg, #0d9488 0%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(13, 148, 136, 0.18));
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  transform: translateZ(26px);
}
[data-theme="dark"] .login-header h2 {
  background: linear-gradient(135deg, #2dd4bf 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.login-header p {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.5;
  transform: translateZ(18px);
}

/* 3D Form Fields & Tactile Inputs */
#loginForm {
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
}
.login-field-3d {
  transform: translateZ(22px);
  transition: transform 0.2s ease;
}
.login-field-3d label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.login-card .form-control {
  border-radius: 12px;
  padding: 11px 14px;
  border: 1.5px solid #cbd5e1;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  box-shadow:
    inset 0 2px 4px rgba(15, 23, 42, 0.06),
    0 3px 0 #e2e8f0,
    0 6px 12px rgba(15, 23, 42, 0.05);
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
[data-theme="dark"] .login-card .form-control {
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, #131926 0%, #1a2234 100%);
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.45),
    0 3px 0 #0d121d;
}
.login-card .form-control:focus {
  border-color: var(--teal);
  background: var(--bg-input);
  transform: translateY(-2px);
  box-shadow:
    0 4px 0 rgba(13, 148, 136, 0.35),
    0 10px 22px -4px rgba(13, 148, 136, 0.25),
    0 0 0 3px rgba(13, 148, 136, 0.14);
}

/* 3D Tactile Push Button (Login ke Sistem) */
.login-btn-3d {
  position: relative;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0d9488 0%, #0284c7 50%, #2563eb 100%);
  color: #ffffff;
  transform: translateZ(30px) translateY(0);
  box-shadow:
    0 6px 0 #0f5257,
    0 12px 24px -2px rgba(13, 148, 136, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.login-btn-3d:hover {
  transform: translateZ(34px) translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 8px 0 #0f5257,
    0 16px 30px -2px rgba(13, 148, 136, 0.55),
    inset 0 1px 2px rgba(255, 255, 255, 0.55);
}
.login-btn-3d:active {
  transform: translateZ(24px) translateY(4px);
  box-shadow:
    0 2px 0 #0f5257,
    0 5px 12px rgba(13, 148, 136, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

/* 3D Raised Self-Service Link Button */
.login-footer-3d {
  transform: translateZ(20px);
}
.pinjam-link-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.12) 0%, rgba(20, 184, 166, 0.2) 100%);
  border: 1px solid rgba(20, 184, 166, 0.35);
  box-shadow:
    0 4px 0 rgba(13, 148, 136, 0.28),
    0 8px 16px -2px rgba(13, 148, 136, 0.16),
    inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.pinjam-link-3d:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.18) 0%, rgba(20, 184, 166, 0.28) 100%);
  box-shadow:
    0 6px 0 rgba(13, 148, 136, 0.32),
    0 12px 22px -2px rgba(13, 148, 136, 0.24),
    inset 0 1px 1px rgba(255, 255, 255, 0.7);
}
.pinjam-link-3d:active {
  transform: translateY(2px);
  box-shadow:
    0 2px 0 rgba(13, 148, 136, 0.28),
    0 4px 8px rgba(13, 148, 136, 0.14);
}

/* ── NOTIFICATION DROPDOWN ── */
.notif-wrapper {
  position: relative;
}
.notif-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 340px;
  max-width: 90vw;
  background: var(--bg-card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1050;
  overflow: hidden;
  animation: fadeIn 0.2s ease;
}
.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-card2);
  border-bottom: 1px solid var(--border);
}
.notif-header h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.notif-body {
  max-height: 360px;
  overflow-y: auto;
  padding: 8px 0;
}
.notif-item {
  display: flex;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.notif-item:hover {
  background: var(--bg-hover);
}
.notif-item:last-child {
  border-bottom: none;
}
.notif-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.notif-content {
  flex: 1;
}
.notif-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.notif-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.notif-empty {
  padding: 24px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ── STATUS BADGES ── */
.badge-dipinjam {
  background: rgba(245, 166, 35, 0.15);
  color: var(--amber);
  border: 1px solid rgba(245, 166, 35, 0.3);
}
.badge-kembali {
  background: rgba(61, 214, 140, 0.15);
  color: var(--green);
  border: 1px solid rgba(61, 214, 140, 0.3);
}
.badge-terlambat {
  background: rgba(255, 92, 92, 0.15);
  color: var(--red);
  border: 1px solid rgba(255, 92, 92, 0.3);
}

/* ── QR CODE STICKER PREVIEW ── */
.qr-sticker-card {
  background: #ffffff;
  color: #111827;
  border-radius: 12px;
  padding: 20px;
  max-width: 340px;
  margin: 0 auto;
  border: 2px dashed #d1d5db;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.qr-sticker-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  border-bottom: 1.5px solid #e5e7eb;
  padding-bottom: 8px;
}
.qr-sticker-header img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.qr-sticker-inst {
  font-size: 11px;
  font-weight: 700;
  color: #1f2937;
  text-transform: uppercase;
  line-height: 1.2;
}
.qr-canvas-wrap {
  background: #ffffff;
  padding: 10px;
  display: inline-block;
  border-radius: 8px;
  margin: 8px 0;
}
.qr-canvas-wrap img, .qr-canvas-wrap canvas {
  margin: 0 auto;
  display: block;
}
.qr-sticker-code {
  font-size: 14px;
  font-weight: 800;
  font-family: monospace;
  color: #111827;
  letter-spacing: 0.5px;
}
.qr-sticker-name {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-top: 4px;
}
.qr-sticker-meta {
  font-size: 10px;
  color: #6b7280;
  margin-top: 6px;
}

/* ── CSV UPLOAD DROPZONE ── */
.csv-dropzone {
  border: 2px dashed var(--border2);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  background: var(--bg-card2);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.csv-dropzone:hover {
  border-color: var(--teal);
  background: var(--bg-hover);
}
.csv-preview-table-wrap {
  max-height: 240px;
  overflow-y: auto;
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

/* ── AUTH TABS ── */
.auth-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 16px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}
.auth-tab-btn.active {
  color: var(--teal);
  border-bottom: 2px solid var(--teal);
}

/* ── STIKER STANDAR AAS (STRIP 3 BARIS) ── */
.aas-sticker-wrapper {
  background: #f8fafc;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.aas-sticker-card {
  display: flex;
  background: #ffffff;
  border: 2px solid #000000;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  color: #000000;
  width: 380px;
  height: 110px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  overflow: hidden;
  user-select: none;
}

.aas-sticker-logo-cell {
  width: 110px;
  height: 100%;
  border-right: 2px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
  background: #ffffff;
  flex-shrink: 0;
}

.aas-sticker-logo-cell img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.aas-sticker-rows-cell {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.aas-sticker-line {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-bottom: 2px solid #000000;
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 11.5px;
  font-weight: 600;
  color: #000000;
  background: #ffffff;
}

.aas-sticker-line:last-child {
  border-bottom: none;
}

.aas-sticker-line.line-title {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.2px;
}

.aas-sticker-line.line-item {
  font-size: 12px;
  font-weight: bold;
  color: #111827;
}

.aas-sticker-line.line-meta {
  font-size: 10.5px;
  font-weight: normal;
  color: #374151;
}

/* Mode Blank / Garis Polosan Persis Gambar */
.aas-sticker-card.is-blank .aas-sticker-line {
  color: transparent !important;
}

/* Stiker option selector pill */
.stiker-mode-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.stiker-pill {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid var(--border);
  background: var(--bg-card2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.stiker-pill:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.stiker-pill.active {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════
   ASSET VALUATION BANNER & AUDIT TRAIL
   ══════════════════════════════════════════════════════ */
.asset-valuation-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, var(--bg-card2) 100%);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.val-card {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.val-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.val-info {
  display: flex;
  flex-direction: column;
}

.val-label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.val-number {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2px 0;
  letter-spacing: -0.3px;
}

.val-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.val-divider {
  width: 1px;
  height: 42px;
  background: var(--border);
}

@media (max-width: 900px) {
  .asset-valuation-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .val-divider {
    width: 100%;
    height: 1px;
  }
}

/* Stat card additions */
.stat-card.stat-indigo .stat-icon {
  background: rgba(99, 102, 241, 0.15);
  color: #6366f1;
}
.stat-card.stat-cyan .stat-icon {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
}

/* WhatsApp action button */
.btn-icon.wa {
  color: #25D366;
}
.btn-icon.wa:hover {
  background: rgba(37, 211, 102, 0.15);
}

/* Badges for Berita Acara */
.badge-bast {
  background: rgba(20, 184, 166, 0.15);
  color: var(--teal);
  border: 1px solid rgba(20, 184, 166, 0.3);
}
.badge-afkir {
  background: rgba(239, 68, 68, 0.15);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.badge-so {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* ──────────────────────────────────────────
   TOPBAR ICON BUTTONS & SMART NOTIFICATIONS
   ────────────────────────────────────────── */
.topbar-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
.topbar-icon-btn:hover {
  color: var(--teal);
  border-color: var(--teal);
  background: var(--bg-card-hover);
}

.topbar-icon-btn.qr-btn:hover {
  color: var(--teal);
  box-shadow: 0 0 12px rgba(20, 184, 166, 0.25);
}

.notif-wrapper {
  position: relative;
}

.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--red);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg-main);
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ── Tombol Sinkronisasi SIMARSIP Topbar ── */
.topbar-sync-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(14, 165, 233, 0.05));
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}
.topbar-sync-btn:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(14, 165, 233, 0.35);
  transform: translateY(-1px);
}
.topbar-sync-btn:active {
  transform: translateY(0);
}
.topbar-sync-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.spin-icon {
  display: inline-block;
  animation: spinIcon 1s linear infinite;
}
@keyframes spinIcon {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  .topbar-sync-btn .sync-btn-text {
    display: none;
  }
  .topbar-sync-btn {
    padding: 0 10px;
  }
}

/* ── Dropdown Tahun Akademik Topbar ── */
.topbar-ta-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 10px;
  height: 38px;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.topbar-ta-wrapper:focus-within,
.topbar-ta-wrapper:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.15);
}
.topbar-ta-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.topbar-ta-select {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  padding: 4px 0;
  max-width: 170px;
}
.topbar-ta-select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .topbar-ta-label span {
    display: none;
  }
  .topbar-ta-select {
    max-width: 125px;
    font-size: 11px;
  }
}
@media (max-width: 480px) {
  .topbar-ta-wrapper {
    padding: 0 6px;
    height: 34px;
  }
  .topbar-ta-select {
    max-width: 100px;
  }
}

.notif-dropdown {
  position: absolute;
  top: 48px;
  right: 0;
  width: 360px;
  max-width: 90vw;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 1000;
  overflow: hidden;
  backdrop-filter: blur(16px);
  animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.notif-header {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.notif-header h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.notif-body {
  max-height: 380px;
  overflow-y: auto;
}

.notif-item {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: background 0.2s;
}
.notif-item:hover {
  background: rgba(255, 255, 255, 0.04);
}
.notif-item:last-child {
  border-bottom: none;
}

.notif-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.notif-icon.red { background: rgba(239, 68, 68, 0.15); color: var(--red); }
.notif-icon.amber { background: rgba(245, 158, 11, 0.15); color: var(--amber); }
.notif-icon.blue { background: rgba(59, 130, 246, 0.15); color: var(--blue); }
.notif-icon.teal { background: rgba(20, 184, 166, 0.15); color: var(--teal); }

.notif-content {
  flex: 1;
  min-width: 0;
}
.notif-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.notif-desc {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.notif-time {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.notif-empty {
  padding: 30px 16px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ──────────────────────────────────────────
   CAMERA QR SCANNER STYLING
   ────────────────────────────────────────── */
#qrReaderBox video {
  width: 100% !important;
  height: auto !important;
  border-radius: 8px;
  object-fit: cover;
}
#qrReaderBox img {
  display: none !important;
}
#qrReaderBox__scan_region {
  background: transparent !important;
}
#qrReaderBox__dashboard_section_csr button {
  background: var(--teal) !important;
  color: #0b0f19 !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 6px 14px !important;
  cursor: pointer !important;
}

/* Scanner Laser Line Simulation */
.qr-scanner-laser {
  position: absolute;
  left: 10%;
  width: 80%;
  height: 2px;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
  animation: scanLaser 2s infinite ease-in-out;
  pointer-events: none;
  z-index: 5;
}

@keyframes scanLaser {
  0% { top: 15%; opacity: 0.8; }
  50% { top: 85%; opacity: 1; }
  100% { top: 15%; opacity: 0.8; }
}

/* ──────────────────────────────────────────
   DEPRECIATION TABLE BADGES
   ────────────────────────────────────────── */
.badge-dep-prima {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-dep-sedang {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue);
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.badge-dep-menipis {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.badge-dep-habis {
  background: rgba(239, 68, 68, 0.15);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.3);
}/* ──────────────────────────────────────────
   ANALYTICAL CHARTS GRID & CARDS (CHART.JS)
   ────────────────────────────────────────── */
.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.charts-grid.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.charts-grid.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
  .charts-grid.grid-2,
  .charts-grid.grid-3 {
    grid-template-columns: 1fr;
  }
}

.chart-card {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.chart-card:hover {
  box-shadow: var(--shadow-md);
}

.chart-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.chart-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.2px;
  margin-bottom: 2px;
}

.chart-card-subtitle {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.chart-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(13, 148, 136, 0.12);
  color: var(--teal);
  border: 1px solid rgba(13, 148, 136, 0.25);
  white-space: nowrap;
}

.chart-body {
  position: relative;
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-body canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.chart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  text-align: center;
  padding: 20px;
  width: 100%;
  height: 100%;
}

.chart-empty-state svg {
  opacity: 0.45;
  color: var(--text-muted);
}

.chart-empty-state span {
  font-size: 12px;
  font-weight: 500;
}
