:root {
  --adm-bg-base: #0a0d14;
  --adm-bg-sidebar: #0f1523;
  --adm-bg-surface: #141c2e;
  --adm-bg-elevated: #1a253c;
  --adm-border: rgba(255, 255, 255, 0.08);
  --adm-border-active: rgba(82, 136, 193, 0.4);
  
  --adm-accent-blue: #5288c1;
  --adm-accent-blue-hover: #639bd6;
  --adm-gold: #f59e0b;
  --adm-gold-dim: rgba(245, 158, 11, 0.15);
  --adm-green: #10b981;
  --adm-green-dim: rgba(16, 185, 129, 0.15);
  --adm-red: #ef4444;
  --adm-red-dim: rgba(239, 68, 68, 0.15);
  --adm-purple: #a855f7;
  --adm-purple-dim: rgba(168, 85, 247, 0.15);
  --adm-cyan: #06b6d4;
  --adm-cyan-dim: rgba(6, 182, 212, 0.15);
  
  --adm-text-title: #f8fafc;
  --adm-text-body: #cbd5e1;
  --adm-text-muted: #64748b;
  
  --adm-radius-sm: 6px;
  --adm-radius-md: 10px;
  --adm-radius-lg: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body.admin-theme {
  background-color: var(--adm-bg-base);
  color: var(--adm-text-body);
  min-height: 100vh;
  overflow-x: hidden;
}

.hidden { display: none !important; }

/* --- AUTH MODAL --- */
.auth-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 13, 20, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--adm-bg-surface);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius-lg);
  padding: 32px 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.auth-logo {
  width: 50px;
  height: 50px;
  border-radius: var(--adm-radius-md);
  background: linear-gradient(135deg, #2b5278, #5288c1);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(82, 136, 193, 0.3);
  margin-bottom: 4px;
}

.auth-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--adm-text-title);
}

.auth-desc {
  font-size: 0.8rem;
  color: var(--adm-text-muted);
  line-height: 1.4;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-input-group label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--adm-text-muted);
  letter-spacing: 0.5px;
}

.auth-input-group input {
  background: var(--adm-bg-base);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius-sm);
  padding: 12px 14px;
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  font-family: 'JetBrains Mono', monospace;
  transition: border-color 0.2s;
}

.auth-input-group input:focus {
  border-color: var(--adm-accent-blue);
}

.btn-auth-submit {
  background: var(--adm-accent-blue);
  color: #ffffff;
  border: none;
  border-radius: var(--adm-radius-sm);
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-auth-submit:hover {
  background: var(--adm-accent-blue-hover);
}

.auth-error-text {
  font-size: 0.75rem;
  color: var(--adm-red);
  text-align: center;
  font-weight: 600;
}

/* --- MAIN LAYOUT --- */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR */
.admin-sidebar {
  width: 260px;
  background: var(--adm-bg-sidebar);
  border-right: 1px solid var(--adm-border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 20px;
  border-bottom: 1px solid var(--adm-border);
}

.brand-badge {
  width: 36px;
  height: 36px;
  border-radius: var(--adm-radius-sm);
  background: linear-gradient(135deg, #2b5278, #5288c1);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--adm-text-title);
}

.brand-version {
  font-size: 0.68rem;
  color: var(--adm-accent-blue);
  font-weight: 600;
}

.sidebar-nav {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--adm-radius-sm);
  background: transparent;
  border: none;
  color: var(--adm-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
  width: 100%;
}

.nav-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--adm-text-body);
}

.nav-tab.active {
  background: var(--adm-bg-surface);
  color: var(--adm-text-title);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.badge-pending {
  margin-left: auto;
  background: var(--adm-gold);
  color: #000000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
}

.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid var(--adm-border);
}

.btn-logout {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius-sm);
  color: var(--adm-text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-logout:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--adm-red);
  border-color: rgba(239, 68, 68, 0.3);
}

/* MAIN VIEWPORT */
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-header {
  height: 64px;
  background: var(--adm-bg-sidebar);
  border-bottom: 1px solid var(--adm-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
}

.header-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.bread-root { color: var(--adm-text-muted); }
.bread-sep { color: var(--adm-border); }
.bread-active { font-weight: 700; color: var(--adm-text-title); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-tool-header {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--adm-bg-surface);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius-sm);
  padding: 7px 12px;
  color: var(--adm-text-body);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-tool-header:hover {
  border-color: var(--adm-accent-blue);
}

.system-status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--adm-green);
  background: var(--adm-green-dim);
  padding: 5px 10px;
  border-radius: var(--adm-radius-pill);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.pulse-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--adm-green);
}

.admin-content {
  padding: 28px;
  flex: 1;
}

.admin-section {
  display: none;
  flex-direction: column;
  gap: 24px;
}

.admin-section.active {
  display: flex;
}

/* --- METRICS GRID --- */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.metric-card {
  background: var(--adm-bg-surface);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metric-lbl {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--adm-text-muted);
  letter-spacing: 0.6px;
}

.metric-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--adm-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.metric-icon.blue { background: rgba(82, 136, 193, 0.15); color: #5288c1; }
.metric-icon.gold { background: var(--adm-gold-dim); color: var(--adm-gold); }
.metric-icon.green { background: var(--adm-green-dim); color: var(--adm-green); }
.metric-icon.purple { background: var(--adm-purple-dim); color: var(--adm-purple); }
.metric-icon.cyan { background: var(--adm-cyan-dim); color: var(--adm-cyan); }
.metric-icon.amber { background: var(--adm-gold-dim); color: var(--adm-gold); }

.metric-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--adm-text-title);
  margin-top: 4px;
}

.text-gold { color: var(--adm-gold) !important; }
.text-green { color: var(--adm-green) !important; }
.text-amber { color: var(--adm-gold) !important; }

.metric-sub {
  font-size: 0.72rem;
  color: var(--adm-text-muted);
}

/* --- PANELS & TABLES --- */
.dashboard-panel {
  background: var(--adm-bg-surface);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius-lg);
  overflow: hidden;
}

.panel-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--adm-border);
}

.panel-header.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.panel-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.panel-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--adm-text-title);
}

.panel-sub {
  font-size: 0.75rem;
  color: var(--adm-text-muted);
}

.panel-body {
  padding: 20px 24px;
}

.panel-note {
  font-size: 0.82rem;
  color: var(--adm-text-body);
  line-height: 1.5;
}

.table-search-box {
  display: flex;
  gap: 8px;
}

.table-search-box input {
  background: var(--adm-bg-base);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius-sm);
  padding: 8px 14px;
  color: #ffffff;
  font-size: 0.8rem;
  outline: none;
  min-width: 240px;
}

.btn-search {
  background: var(--adm-accent-blue);
  color: #ffffff;
  border: none;
  border-radius: var(--adm-radius-sm);
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.filter-pills-group {
  display: flex;
  gap: 6px;
}

.filter-pill {
  padding: 6px 12px;
  border-radius: var(--adm-radius-sm);
  background: var(--adm-bg-base);
  border: 1px solid var(--adm-border);
  color: var(--adm-text-muted);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-pill.active {
  background: var(--adm-accent-blue);
  color: #ffffff;
  border-color: transparent;
}

.table-responsive {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  padding: 14px 20px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--adm-text-muted);
  border-bottom: 1px solid var(--adm-border);
  background: rgba(0, 0, 0, 0.25);
  letter-spacing: 0.5px;
}

.admin-table td {
  padding: 16px 20px;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--adm-border);
  color: var(--adm-text-body);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.td-empty {
  text-align: center;
  color: var(--adm-text-muted);
  padding: 36px 0 !important;
}

.badge-tag {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
}

.badge-vip { background: var(--adm-gold-dim); color: var(--adm-gold); border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-reguler { background: rgba(255, 255, 255, 0.05); color: var(--adm-text-muted); }
.badge-banned { background: var(--adm-red-dim); color: var(--adm-red); border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-active { background: var(--adm-green-dim); color: var(--adm-green); }

.table-actions-row {
  display: flex;
  gap: 6px;
}

.btn-table-action {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid var(--adm-border);
  background: var(--adm-bg-elevated);
  color: var(--adm-text-body);
  cursor: pointer;
  transition: all 0.15s;
}

.btn-table-action:hover {
  border-color: var(--adm-accent-blue);
  color: #ffffff;
}

.btn-table-action.vip-act { color: var(--adm-gold); border-color: rgba(245, 158, 11, 0.3); }
.btn-table-action.ban-act { color: var(--adm-red); border-color: rgba(239, 68, 68, 0.3); }
.btn-table-action.approve-act { background: var(--adm-green); color: #ffffff; border-color: transparent; }
.btn-table-action.reject-act { background: var(--adm-red); color: #ffffff; border-color: transparent; }

/* FORMS */
.panel-form-container {
  padding: 24px;
  max-width: 650px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--adm-text-title);
}

.form-field input, .form-field textarea {
  background: var(--adm-bg-base);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius-sm);
  padding: 10px 14px;
  color: #ffffff;
  font-size: 0.85rem;
  outline: none;
}

.form-field textarea {
  resize: vertical;
}

.field-hint {
  font-size: 0.7rem;
  color: var(--adm-text-muted);
}

.btn-broadcast-send, .btn-save-settings {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--adm-accent-blue);
  color: #ffffff;
  border: none;
  border-radius: var(--adm-radius-sm);
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-broadcast-send:hover, .btn-save-settings:hover {
  background: var(--adm-accent-blue-hover);
}

.broadcast-result {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--adm-bg-elevated);
  border-radius: var(--adm-radius-sm);
  font-size: 0.8rem;
}

/* --- VIP PACKAGES & QRIS POLISH --- */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.badge-tag.badge-active {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.badge-tag.badge-reguler {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.form-drawer-box {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.25);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.2s ease-out;
}

.voucher-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.btn-submit-voucher {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
  transition: all 0.2s ease;
}

.btn-submit-voucher:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-cancel-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  border-radius: 8px;
  padding: 9px 16px;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel-form:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

.table-actions-row {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-table-action {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-table-action:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.btn-table-action.reject-act {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.25);
}

.btn-table-action.reject-act:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ffffff;
}

.btn-table-action.approve-act {
  background: rgba(34, 197, 94, 0.1);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.25);
}

.btn-table-action.approve-act:hover {
  background: rgba(34, 197, 94, 0.2);
  color: #ffffff;
}

/* =====================================================
   COCKPIT SPEEDOMETER & VPS TELEMETRY STYLES
   ===================================================== */

/* Cockpit HUD Header */
.cockpit-hud-header {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(20, 28, 46, 0.8) 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--adm-radius-lg);
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.cockpit-hud-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #38bdf8, #818cf8);
}

.hud-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #38bdf8;
  text-transform: uppercase;
  margin-bottom: 6px;
  background: rgba(56, 189, 248, 0.1);
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.hud-main-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 4px;
  letter-spacing: -0.3px;
}

.hud-subtitle {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0;
}

.hud-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.hud-status-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 4px 12px;
}

.chip-label {
  font-size: 0.65rem;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 1px;
}

.chip-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: #38bdf8;
}

.hud-clock-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #64748b;
}

/* Top Telemetry Strip */
.cockpit-telemetry-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.tele-item {
  background: rgba(20, 28, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--adm-radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.tele-item:hover {
  background: rgba(26, 37, 60, 0.8);
  border-color: rgba(56, 189, 248, 0.25);
  transform: translateY(-1px);
}

.tele-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.text-cyan { color: #38bdf8; }
.text-purple { color: #c084fc; }
.text-green { color: #4ade80; }
.text-amber { color: #fbbf24; }
.text-orange { color: #fb923c; }
.text-indigo { color: #818cf8; }
.text-teal { color: #2dd4bf; }

.tele-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tele-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.tele-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 800;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Cockpit Speedometer Cluster */
.cockpit-cluster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.cockpit-dial-card {
  background: linear-gradient(180deg, rgba(20, 28, 46, 0.9) 0%, rgba(15, 22, 36, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--adm-radius-lg);
  padding: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.cockpit-dial-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

.dial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.dial-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: 0.5px;
}

.dial-status-pill {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.dial-status-pill.warn-pill {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.3);
}

.dial-status-pill.danger-pill {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

.dial-status-pill.online-pill {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border-color: rgba(6, 182, 212, 0.3);
}

/* SVG Speedometer Gauge Wrap */
.speedo-gauge-wrap {
  position: relative;
  width: 100%;
  max-width: 200px;
  height: 125px;
  margin: 6px auto 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.speedo-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.speedo-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 10;
  stroke-linecap: round;
}

.speedo-fill {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.speedo-center-readout {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  width: 100%;
  text-align: center;
}

.speedo-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.35rem;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.5px;
  line-height: 1;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

.speedo-unit {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #64748b;
  text-transform: uppercase;
  margin-top: 4px;
}

.dial-footer-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 8px 6px;
  margin-top: 4px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.dfs-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dfs-k {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #64748b;
  text-transform: uppercase;
}

.dfs-v {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-top: 2px;
}

/* =====================================================
   PROJECT RESOURCE FOOTPRINT SECTION
   ===================================================== */

.project-footprint-card {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: var(--adm-radius-lg);
  padding: 22px 24px;
  margin-bottom: 22px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.project-footprint-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #a855f7, #ec4899);
}

.pfc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.pfc-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #c084fc;
  background: rgba(168, 85, 247, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(168, 85, 247, 0.3);
  margin-bottom: 6px;
}

.pfc-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 4px;
}

.pfc-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0;
}

.pfc-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 99px;
}

.pfc-body-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.pfc-subbox {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--adm-radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
}

.psb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.psb-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.psb-pct-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
  color: #cbd5e1;
}

.psb-big-value-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.psb-big-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.psb-sub-text {
  font-size: 0.75rem;
  color: #64748b;
}

.psb-bar-wrap {
  margin-bottom: 16px;
}

.psb-bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 6px;
}

.psb-bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.6s ease;
}

.bg-cyan {
  background: linear-gradient(90deg, #38bdf8, #818cf8);
}

.psb-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #64748b;
  font-family: 'JetBrains Mono', monospace;
}

.psb-detail-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

.pdl-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #94a3b8;
}

.pdl-row strong {
  font-family: 'JetBrains Mono', monospace;
  color: #f8fafc;
}

/* Multi-Segment Storage Bar */
.segmented-storage-wrap {
  margin-bottom: 16px;
}

.segmented-storage-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
  display: flex;
  gap: 2px;
}

.seg-fill {
  height: 100%;
  transition: width 0.6s ease;
}

.seg-venv { background: linear-gradient(90deg, #c084fc, #a855f7); }
.seg-web { background: linear-gradient(90deg, #38bdf8, #0ea5e9); }
.seg-code { background: linear-gradient(90deg, #4ade80, #22c55e); }
.seg-db { background: linear-gradient(90deg, #f59e0b, #eab308); }

.storage-breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

.sbg-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sbg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-venv { background: #c084fc; box-shadow: 0 0 6px #c084fc; }
.dot-web { background: #38bdf8; box-shadow: 0 0 6px #38bdf8; }
.dot-code { background: #4ade80; box-shadow: 0 0 6px #4ade80; }
.dot-db { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }

.sbg-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sbg-name {
  font-size: 0.68rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sbg-size {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: #f8fafc;
}

/* Secondary Telemetry Cluster */
.cockpit-secondary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.tele-hud-card {
  background: rgba(20, 28, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--adm-radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s ease;
}

.tele-hud-card:hover {
  background: rgba(26, 37, 60, 0.8);
  border-color: rgba(56, 189, 248, 0.25);
  transform: translateY(-1px);
}

.thc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.thc-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.thc-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.thc-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.05rem;
  font-weight: 800;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thc-sub {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 2px;
  font-family: 'JetBrains Mono', monospace;
}

