/* bzpro-layout.css — tata letak khas BZPRO. Dimuat PALING AKHIR (setelah user-dark.css).
   Beda dari Blastkan (dock atas, miring tebal) dan BantaiWS (sidebar lebar):
   - Desktop: rel ikon di kiri yang melebar saat disentuh
   - HP: dock melayang berbentuk pil
   - Kartu bersudut tegas dengan garis aksen, tipografi tegak (tanpa miring)
   - Masuk/Daftar: dua kolom dengan panel merek */
:root { --bz-rail:76px; --bz-rail-open:236px; --bz-radius:12px; }
body { font-feature-settings:"tnum"; }
h1,h2,h3 { font-style:normal !important; letter-spacing:-.01em; }
.hh-bal h2, .auth-card h2, .lb-row .rk { font-style:normal !important; }

/* ---------- Kartu & komponen: sudut tegas + garis aksen ---------- */
.card, .home-hero, .steps-card, .rate-list, .stat-card, .sup-wrap, .bh-rank, .bh-bal, .bh-chart, .bq { border-radius:var(--bz-radius) !important; }
.bh-stat { border-left:3px solid var(--brand) !important; border-radius:10px !important; }
.bh-bal { background:linear-gradient(135deg,rgba(16,182,126,.22),rgba(16,182,126,.04) 60%) !important; border:1px solid rgba(19,219,152,.35) !important; }
.btn { border-radius:10px !important; letter-spacing:.01em; }
.lb-row, .rate-row { border-radius:10px !important; }
.bh-head h2, .bh-hello { font-weight:800; }

/* ---------- Desktop: rel ikon kiri ---------- */
@media (min-width:1200px) {
  #dashboard-shell { display:block !important; }
  #dashboard-shell .sidebar { position:fixed !important; top:0 !important; bottom:0 !important; left:0 !important; transform:none !important; width:var(--bz-rail) !important; height:auto !important; margin:0 !important;
    display:flex !important; flex-direction:column !important; align-items:stretch; gap:6px; padding:14px 10px !important; border-radius:0 !important; overflow:hidden !important; z-index:70;
    background:rgba(8,16,13,.96) !important; backdrop-filter:blur(14px); border:0 !important; border-right:1px solid var(--border) !important; box-shadow:none !important; transition:width .22s ease; }
  #dashboard-shell .sidebar:hover { width:var(--bz-rail-open) !important; box-shadow:18px 0 40px -18px rgba(0,0,0,.7) !important; }
  body.has-banner .sidebar { top:var(--bh,40px) !important; }
  .sidebar-header { height:auto !important; padding:4px 0 12px !important; border-bottom:1px solid var(--border) !important; }
  .sidebar .logo { font-style:normal; font-weight:900 !important; font-size:18px; letter-spacing:.02em; display:flex; align-items:center; gap:12px; white-space:nowrap; }
  .sidebar .logo .logo-img { width:44px; height:44px; border-radius:12px; flex:none; }
  .sidebar-nav { display:flex !important; flex-direction:column !important; justify-content:flex-start; gap:4px !important; padding:10px 0 !important; flex:1; overflow:hidden; }
  .nav-item { display:flex !important; flex-direction:row; align-items:center; gap:14px; padding:0 16px !important; height:46px; border-radius:10px !important; font-weight:600; font-size:14px; white-space:nowrap; transform:none !important; position:relative; }
  .nav-item .nv-line, .nav-item svg { flex:none; width:22px; height:22px; }
  .nav-item span { opacity:0; transition:opacity .15s ease; }
  .sidebar:hover .nav-item span { opacity:1; }
  .nav-item.active { background:rgba(19,219,152,.14) !important; color:var(--brand) !important; box-shadow:none !important; }
  .nav-item.active::before { content:""; position:absolute; left:-10px; top:9px; bottom:9px; width:4px; border-radius:0 4px 4px 0; background:var(--brand); }
  .nav-item.active .nv-line { stroke:var(--brand); opacity:1; }
  .side-pwa { display:none !important; }
  .sidebar > div:last-child { padding:0 !important; } .sidebar > div:last-child .btn { width:100% !important; padding:0 !important; height:42px; font-size:0; }
  .sidebar > div:last-child .btn::after { content:"⏻"; font-size:18px; }
  .sidebar:hover > div:last-child .btn { font-size:13px; } .sidebar:hover > div:last-child .btn::after { content:""; }
  .app-col { margin:0 0 0 var(--bz-rail) !important; max-width:none; width:auto; padding:0 36px 40px !important; gap:18px; }
  #dashboard-shell .app-col .topbar { position:sticky !important; top:0 !important; z-index:40 !important; margin:0 -36px; padding:14px 36px !important; border-radius:0 !important; background:rgba(8,16,13,.88) !important; backdrop-filter:blur(12px); border:0 !important; border-bottom:1px solid var(--border) !important; box-shadow:none !important; }
  .main-content { max-width:1180px; width:100%; margin:0 auto; padding-top:22px; }
  .bottom-nav { display:none !important; }
}

/* ---------- HP: dock pil melayang ---------- */
@media (max-width:767px) {
  #dashboard-shell .bottom-nav { left:12px !important; right:12px !important; background:rgba(10,20,16,.94) !important; border:1px solid rgba(19,219,152,.35) !important; border-radius:999px !important;
    box-shadow:0 18px 40px -8px rgba(0,0,0,.7),0 0 0 1px rgba(0,0,0,.4) !important; backdrop-filter:blur(14px); padding:7px 8px !important; }
  .bottom-nav-item { border-radius:999px !important; color:var(--text-2) !important; }
  .bottom-nav-item.active { background:var(--brand) !important; color:#04130d !important; box-shadow:0 6px 16px rgba(19,219,152,.35) !important; }
  .bottom-nav-item.active .nv-line, .bottom-nav-item.active svg { stroke:#04130d; }
  .topbar { border-radius:12px !important; }
}

/* ---------- Masuk / Daftar: dua kolom ---------- */
.bz-hero { display:none; }
@media (min-width:960px) {
  .auth-container.av2 { display:grid !important; grid-template-columns:1.1fr 480px; gap:0; max-width:1080px; width:100%; margin:auto; padding:24px !important; align-items:stretch; min-height:0; }
  .bz-hero { display:flex; flex-direction:column; justify-content:center; gap:16px; padding:44px 44px 44px 24px; position:relative; }
  .bz-hero img { width:min(360px,80%); height:auto; margin-left:-14px; }
  .bz-hero h1 { margin:6px 0 0; font-size:36px; line-height:1.12; font-weight:900; color:#ecfdf5; max-width:460px; }
  .bz-hero p { margin:0; color:var(--text-2); font-size:15px; max-width:440px; line-height:1.55; }
  .bz-hero ul { list-style:none; margin:8px 0 0; padding:0; display:grid; gap:10px; }
  .bz-hero li { display:flex; align-items:center; gap:10px; font-size:14px; color:#d1fae5; }
  .bz-hero li::before { content:"✓"; display:grid; place-items:center; width:22px; height:22px; border-radius:7px; background:rgba(19,219,152,.16); color:var(--brand); font-weight:900; font-size:13px; flex:none; }
  .av2 .auth-card { align-self:center; max-width:none !important; }
  .av2 .auth-card .av-logo { display:none; }
}

/* ---------- Mode cerah ---------- */
html.bz-light .bh-bal { background:linear-gradient(135deg,rgba(16,182,126,.16),rgba(16,182,126,.03) 60%) !important; border-color:rgba(16,182,126,.4) !important; }
@media (min-width:1200px) {
  html.bz-light #dashboard-shell .sidebar { background:rgba(255,255,255,.97) !important; border-right-color:rgba(15,23,42,.1) !important; }
  html.bz-light .sidebar:hover { box-shadow:18px 0 40px -18px rgba(15,23,42,.25) !important; }
  html.bz-light #dashboard-shell .app-col .topbar { background:rgba(255,255,255,.9) !important; border-bottom-color:rgba(15,23,42,.1) !important; }
  html.bz-light .nav-item.active { background:rgba(16,182,126,.12) !important; color:#059669 !important; }
  html.bz-light .nav-item.active::before { background:#059669; } html.bz-light .nav-item.active .nv-line { stroke:#059669; }
}
@media (max-width:767px) {
  html.bz-light #dashboard-shell .bottom-nav { background:rgba(255,255,255,.96) !important; border-color:rgba(16,182,126,.4) !important; box-shadow:0 18px 40px -10px rgba(15,23,42,.3) !important; }
  html.bz-light .bottom-nav-item { color:#475569 !important; }
  html.bz-light .bottom-nav-item.active { background:#10b67e !important; color:#ffffff !important; }
  html.bz-light .bottom-nav-item.active .nv-line, html.bz-light .bottom-nav-item.active svg { stroke:#ffffff; }
}

/* latar penuh tanpa sambungan */
html { background:#07100d; } html.bz-light { background:#f3f8f6; }
body { min-height:100vh; background-attachment:fixed; }
@media (min-width:1200px) {
  #dashboard-shell .sidebar > div:last-child .btn { color:var(--text) !important; background:transparent !important; border:1px solid var(--border) !important; }
  #dashboard-shell .topbar .tb-date { color:var(--text-2) !important; }
}
html.bz-light #dashboard-shell .topbar .tb-date { color:#475569 !important; }
@media (min-width:1200px) {
  #dashboard-shell .sidebar .logo span { opacity:0; transition:opacity .15s ease; }
  #dashboard-shell .sidebar:hover .logo span { opacity:1; }
  html.bz-light #dashboard-shell .sidebar > div:last-child .btn { color:#0f172a !important; border-color:rgba(15,23,42,.15) !important; }
}
