/* AccraDrive Dashboard System */
:root{
  --dash-sidebar: #0c0c0c;
  --dash-panel: #141414;
  --dash-border: rgba(242,194,56,.14);
  --dash-gold: #F2C238;
  --dash-muted: #9a9588;
  --dash-text: #FCFAF4;
  --dash-success: #22C55E;
  --dash-warn: #F59E0B;
  --dash-danger: #EF4444;
  --dash-info: #3B82F6;
}
*{box-sizing:border-box}
body.dash-body{
  margin:0; font-family:Inter,system-ui,sans-serif; background:#0a0a0a; color:var(--dash-text);
  min-height:100vh; display:flex; flex-direction:column;
}
.dash-layout{display:flex; min-height:100vh}
.dash-sidebar{
  width:260px; background:var(--dash-sidebar); border-right:1px solid var(--dash-border);
  padding:20px 16px; display:flex; flex-direction:column; position:sticky; top:0; height:100vh;
}
.dash-brand{display:flex; align-items:center; gap:10px; padding:8px 10px 20px; border-bottom:1px solid var(--dash-border); margin-bottom:16px}
.dash-brand img{height:36px}
.dash-brand span{font-family:Orbitron,sans-serif; font-weight:800; font-size:14px; letter-spacing:.04em}
.dash-nav{display:flex; flex-direction:column; gap:4px; flex:1}
.dash-nav a{
  display:flex; align-items:center; gap:10px; padding:11px 14px; border-radius:10px;
  color:var(--dash-muted); text-decoration:none; font-size:13.5px; font-weight:600;
  transition:background .2s, color .2s;
}
.dash-nav a:hover,.dash-nav a.active{background:rgba(242,194,56,.1); color:var(--dash-gold)}
.dash-nav .nav-label{font-size:10px; text-transform:uppercase; letter-spacing:.1em; color:#5c574c; padding:16px 14px 6px; font-weight:700}
.dash-main{flex:1; padding:28px 32px 48px; overflow-x:auto}
.dash-top{display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:28px; flex-wrap:wrap}
.dash-top h1{font-family:Orbitron,sans-serif; font-size:1.5rem; margin:0 0 4px; font-weight:800}
.dash-top p{margin:0; color:var(--dash-muted); font-size:14px}
.dash-actions{display:flex; gap:10px; flex-wrap:wrap}
.d-btn{
  display:inline-flex; align-items:center; gap:6px; padding:10px 16px; border-radius:10px;
  font-size:13px; font-weight:700; text-decoration:none; border:none; cursor:pointer;
  font-family:Inter,sans-serif; transition:transform .2s, box-shadow .2s;
}
.d-btn:hover{transform:translateY(-1px)}
.d-btn-gold{background:linear-gradient(135deg,#F2C238,#E8A917); color:#161302; box-shadow:0 4px 16px rgba(242,194,56,.3)}
.d-btn-line{background:transparent; border:1px solid var(--dash-border); color:var(--dash-text)}
.d-btn-wa{background:#25D366; color:#fff}
.d-btn-sm{padding:7px 12px; font-size:12px}
.stat-row{display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:14px; margin-bottom:28px}
.stat-card{
  background:var(--dash-panel); border:1px solid var(--dash-border); border-radius:14px; padding:18px 16px;
  transition:border-color .2s, box-shadow .2s;
}
.stat-card:hover{border-color:rgba(242,194,56,.35); box-shadow:0 0 24px rgba(242,194,56,.08)}
.stat-card .label{font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--dash-muted); font-weight:700}
.stat-card .value{font-family:Orbitron,sans-serif; font-size:1.75rem; font-weight:800; color:var(--dash-gold); margin-top:6px}
.stat-card .sub{font-size:12px; color:var(--dash-muted); margin-top:4px}
.panel{
  background:var(--dash-panel); border:1px solid var(--dash-border); border-radius:14px;
  margin-bottom:20px; overflow:hidden;
}
.panel-head{display:flex; justify-content:space-between; align-items:center; padding:16px 20px; border-bottom:1px solid var(--dash-border); flex-wrap:wrap; gap:10px}
.panel-head h2{margin:0; font-size:15px; font-weight:700}
.panel-body{padding:0}
.d-table{width:100%; border-collapse:collapse; font-size:13px}
.d-table th{
  text-align:left; padding:11px 16px; font-size:10px; text-transform:uppercase; letter-spacing:.07em;
  color:var(--dash-muted); border-bottom:1px solid var(--dash-border); background:rgba(0,0,0,.25);
}
.d-table td{padding:14px 16px; border-bottom:1px solid rgba(255,255,255,.04); vertical-align:top}
.d-table tr:hover td{background:rgba(242,194,56,.03)}
.badge{
  display:inline-block; padding:3px 10px; border-radius:20px; font-size:11px; font-weight:700;
  text-transform:capitalize;
}
.badge-pending{background:rgba(245,158,11,.15); color:#F59E0B}
.badge-confirmed{background:rgba(34,197,94,.15); color:#22C55E}
.badge-in_progress{background:rgba(59,130,246,.15); color:#3B82F6}
.badge-completed{background:rgba(100,116,139,.2); color:#94a3b8}
.badge-cancelled{background:rgba(239,68,68,.15); color:#EF4444}
.badge-unpaid{background:rgba(239,68,68,.12); color:#f87171}
.badge-deposit_paid{background:rgba(245,158,11,.15); color:#F59E0B}
.badge-paid{background:rgba(34,197,94,.15); color:#22C55E}
.badge-refunded{background:rgba(100,116,139,.2); color:#94a3b8}
.d-select{
  font-size:12px; padding:5px 8px; border-radius:8px; background:#1a1a1a; color:var(--dash-text);
  border:1px solid var(--dash-border); max-width:130px;
}
.card-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:14px; margin-bottom:20px}
.info-card{background:var(--dash-panel); border:1px solid var(--dash-border); border-radius:14px; padding:18px}
.info-card h3{margin:0 0 8px; font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--dash-muted)}
.info-card p{margin:0; font-size:14px; line-height:1.5}
.empty{padding:40px 20px; text-align:center; color:var(--dash-muted); font-size:14px}
.flash{padding:12px 16px; border-radius:10px; margin-bottom:16px; font-size:13px; border:1px solid}
.flash-ok{background:rgba(34,197,94,.1); border-color:rgba(34,197,94,.3); color:#4ade80}
.dash-footer{padding:16px; text-align:center; font-size:11px; color:#5c574c; border-top:1px solid var(--dash-border)}
.dash-footer a{color:var(--dash-gold); text-decoration:none; font-weight:700}
@media(max-width:860px){
  .dash-layout{flex-direction:column}
  .dash-sidebar{width:100%; height:auto; position:relative; border-right:none; border-bottom:1px solid var(--dash-border)}
  .dash-nav{flex-direction:row; flex-wrap:wrap}
  .dash-main{padding:20px 16px}
}
