/* bantai-theme.css — tema BantaiWS: biru navy + kartu putih lembut (mengikuti mockup).
   Dimuat PALING AKHIR (setelah user-theme.css, user-theme-2.css, space-bg.css) sehingga menimpa tema Blastkan.
   Kembali ke tema lama: hapus <link> file ini dari index.html. */
:root {
  --bg: #e6edfb; --surface: #ffffff; --surface-2: #f1f5fd; --border: #e1e8f6;
  --text: #0e1c3d; --text-2: #5d6b8a;
  --brand: #1f6bff; --brand-2: #0f4fd6; --brand-soft: #e3edff;
  --yellow: #1f6bff; --yellow-glow: #0f4fd6;
  --navy: #0d1f4a; --navy-2: #13306e; --navy-3: #1a3f8c;
  --radius: 20px;
  --shadow: 0 10px 28px rgba(18,44,110,.10), 0 2px 6px rgba(18,44,110,.06);
}
body {
  background: linear-gradient(180deg, #dfe8fb 0%, #eaf0fd 60%, #f2f6ff 100%) fixed !important;
  color: var(--text);
}
body::before { display: none; }
.btn { background: linear-gradient(180deg, #3a82ff, #1456e0); box-shadow: 0 8px 18px rgba(31,107,255,.34); border-radius: 14px; }
.btn-outline { background: #fff; border: 1px solid #d3def5; color: var(--text); }
.card { border: 1px solid rgba(255,255,255,.95); }
.card-red { background: linear-gradient(135deg, #e8f0ff, #fff); border: 1px solid #d3e1fb; }
a { color: var(--brand-2); }
.wb-info { background: #0d1f4a; }
.text-yellow { color: var(--brand-2); }
.fab-help { background: linear-gradient(180deg, #3a82ff, #1456e0); box-shadow: 0 8px 20px rgba(31,107,255,.45); }

/* ===== Sidebar navy ===== */
.sidebar { background: linear-gradient(180deg, #0d1f4a 0%, #11275c 70%, #14306f 100%) !important; color: #fff; border-radius: 22px; box-shadow: 0 16px 40px rgba(13,31,74,.35); display: flex; flex-direction: column; overflow: hidden; }
.sidebar .logo { color: #fff; font-weight: 800; font-size: 19px; letter-spacing: 0; text-transform: none; }
.sidebar .logo small, .tb-brand small { font-size: inherit; color: #5fa4ff; font-weight: 700; }
.logo-img { border-radius: 12px; box-shadow: 0 6px 14px rgba(0,0,0,.3); }
.sidebar-nav { flex: 1; overflow-y: auto; }
.nav-item { color: #b9c8ec; border-radius: 14px; }
.nav-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-item.active { background: linear-gradient(180deg, #3a82ff, #1456e0) !important; color: #fff; box-shadow: 0 8px 18px rgba(31,107,255,.45) !important; }
.sidebar .btn-outline { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #dfe9ff; }
.sb-status { margin: 10px 16px 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.sb-status b { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #fff; }
.sb-status i { width: 9px; height: 9px; border-radius: 50%; background: #35e07a; box-shadow: 0 0 0 4px rgba(53,224,122,.2); }
.sb-status span { display: block; margin-top: 4px; font-size: 11.5px; color: #9fb2de; }

/* ===== Bar atas ===== */
.topbar { background: linear-gradient(90deg, #0f2556, #152f6a) !important; box-shadow: 0 12px 28px rgba(13,31,74,.30); color: #fff; border-radius: 20px; }
.tb-date { color: #fff; }
.tb-time { background: rgba(255,255,255,.12); color: #bcd4ff; }
.tb-brand, .tb-burger, .bw-scrim { display: none; }
.tb-search { display: flex; align-items: center; gap: 10px; flex: 1; max-width: 460px; background: rgba(255,255,255,.10); border-radius: 14px; padding: 0 14px; height: 42px; border: 1px solid rgba(255,255,255,.08); }
.tb-search svg, .tb-bell svg, .tb-burger svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tb-search svg { color: #cfdcff; flex: none; }
.tb-search input { background: none !important; border: none !important; box-shadow: none !important; color: #fff; width: 100%; font-size: 14px; padding: 0; outline: none; }
.tb-search input::placeholder { color: #9fb2de; }
.tb-clock { display: none; }
.tb-right { margin-left: auto; }
.tb-bell { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.10); color: #fff; text-decoration: none; }
.tb-pill, .tb-chip, .tb-prof { background: rgba(255,255,255,.10) !important; color: #fff; }
.tb-pill { color: #cfe0ff; }
.tb-chip:hover, .tb-prof:hover { background: rgba(255,255,255,.18) !important; }
.tb-menu { color: var(--text); }
.tb-menu a, .tb-menu button.it { color: var(--text); }

/* ===== Beranda ===== */
.bw-hero { position: relative; margin: -4px 0 14px; padding: 26px 28px 22px; border-radius: 26px; overflow: hidden; color: #fff; min-height: 190px;
  background: radial-gradient(500px 220px at 85% 10%, rgba(95,164,255,.55), transparent 70%), linear-gradient(135deg, #0d1f4a 0%, #16398a 60%, #1f5fd6 120%); box-shadow: 0 16px 36px rgba(13,31,74,.28); }
.bw-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70px; background: radial-gradient(120px 40px at 15% 100%, rgba(255,255,255,.10), transparent 70%), radial-gradient(160px 46px at 60% 100%, rgba(255,255,255,.08), transparent 70%); }
.bw-hero-txt { position: relative; z-index: 2; max-width: 62%; }
.bw-hero h1 { font-size: 30px; line-height: 1.2; margin: 0 0 8px; color: #fff; font-weight: 800; }
.bw-hero h1 span { color: #6fb0ff; }
.bw-hero p { margin: 0; color: #cddcff; font-size: 15px; }
.bw-mascot { position: absolute; right: 22px; bottom: -6px; height: 100%; max-height: 210px; z-index: 2; filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); animation: bwfloat 4s ease-in-out infinite; }
@keyframes bwfloat { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-7px) } }
.bw-top { display: grid; grid-template-columns: minmax(300px, 1.05fr) 2fr; gap: 16px; margin-bottom: 16px; }
.bw-bal { padding: 20px 22px; background: linear-gradient(180deg, #fff, #eef3ff); }
.bw-bal-h { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 14px; }
.bw-bal-h svg { width: 26px; height: 26px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bw-bal h2 { font-size: 34px; margin: 6px 0 10px; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.bw-prog-r { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-2); font-weight: 600; margin-bottom: 6px; }
.bw-bar { height: 9px; border-radius: 99px; background: #dbe6fb; overflow: hidden; }
.bw-bar div { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #35c9ff, #1f6bff); }
.bw-prog small { display: block; margin-top: 6px; font-size: 12px; color: var(--text-2); }
.bw-bal-act { display: flex; gap: 10px; margin-top: 14px; }
.bw-bal-act .btn { flex: 1; justify-content: center; text-align: center; padding: 12px 10px; font-size: 14px; }
.bw-btn-soft { background: #fff !important; color: var(--brand-2) !important; border: 1px solid #d3def5; box-shadow: 0 6px 14px rgba(18,44,110,.08) !important; }
.bw-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bw-stats .stat-card { padding: 16px; display: flex; flex-direction: column; }
.bw-stats .stat-card .p { order: 0; margin: 12px 0 2px; font-size: 12px; letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--text-2); }
.bw-stats .stat-card h3 { font-size: 24px; margin: 0; color: var(--text); font-weight: 800; }
.tile.t1 { background: linear-gradient(135deg, #3ddc84, #1aa85a); }
.tile.t2 { background: linear-gradient(135deg, #ff8a6b, #f0524a); }
.tile.t3 { background: linear-gradient(135deg, #3aa0ff, #1f6bff); }
.tile.t4 { background: linear-gradient(135deg, #ffc233, #f59e0b); }
.bw-bottom { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: start; }
.bw-left, .bw-right { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.bw-cta { position: relative; overflow: hidden; display: flex; justify-content: space-between; gap: 10px; padding: 24px 26px; border-radius: 22px; color: #fff; min-height: 170px;
  background: radial-gradient(360px 200px at 90% 0, rgba(95,164,255,.5), transparent 70%), linear-gradient(135deg, #0f2a66, #1a47a8); box-shadow: 0 14px 30px rgba(13,31,74,.28); }
.bw-cta > div { position: relative; z-index: 2; max-width: 60%; }
.bw-cta h3 { margin: 0 0 8px; font-size: 24px; color: #fff; font-weight: 800; }
.bw-cta p { margin: 0 0 16px; color: #cddcff; font-size: 14px; }
.bw-cta img { position: absolute; right: 14px; bottom: -4px; height: 92%; max-height: 190px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.35)); }
.bw-cta .btn { display: inline-flex; }
.bw-card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.bw-card-h h3 { margin: 0; font-size: 17px; }
.bw-card-h a { font-size: 13px; font-weight: 700; text-decoration: none; color: var(--brand-2); }
.bw-dev-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.bw-dev-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: #f4f8ff; border: 1px solid #e1e9f8; }
.wa-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #25d366; color: #fff; flex: none; }
.wa-ic svg { width: 22px; height: 22px; }
.bw-dev-item b { display: block; font-size: 14px; word-break: break-all; }
.bw-dev-item small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #16a34a; font-weight: 600; }
.bw-dev-item small i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }

/* ===== Tablet / laptop kecil ===== */
@media (max-width: 1199px) {
  .bw-top { grid-template-columns: 1fr; }
  .bw-bottom { grid-template-columns: 1fr; }
}

/* ===== HP ===== */
@media (max-width: 767px) {
  body { background: linear-gradient(180deg, #0d1f4a 0, #16398a 260px, #e6edfb 261px, #f2f6ff 100%) fixed !important; }
  .app-col { padding: 12px 14px 118px; }
  .topbar { position: static; background: transparent !important; box-shadow: none; padding: 4px 0; gap: 8px; }
  body.has-banner .topbar { top: auto; }
  .tb-burger { display: grid; place-items: center; width: 42px; height: 42px; background: none; border: none; color: #fff; cursor: pointer; padding: 0; }
  .tb-brand { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 800; font-size: 20px; margin-right: auto; }
  .tb-brand img { width: 34px; height: 34px; border-radius: 10px; }
  .tb-brand small { font-size: inherit; color: #5fa4ff; }
  .tb-search, .tb-pill, .tb-chip { display: none; }
  .tb-bell { width: 40px; height: 40px; }
  .bw-hero { margin: 2px 0 12px; padding: 14px 4px 10px; background: none; box-shadow: none; min-height: 150px; overflow: visible; }
  .bw-hero::after { display: none; }
  .bw-hero-txt { max-width: 58%; }
  .bw-hero h1 { font-size: 25px; }
  .bw-hero p { font-size: 13.5px; }
  .bw-mascot { right: -6px; bottom: -16px; max-height: 170px; height: auto; width: 46%; max-width: 190px; }
  .bw-bal h2 { font-size: 30px; }
  .bw-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bw-stats .stat-card h3 { font-size: 20px; }
  .bw-cta { padding: 18px; min-height: 160px; }
  .bw-cta h3 { font-size: 21px; }
  .bw-cta > div { max-width: 62%; }
  .bw-cta img { max-height: 150px; right: 6px; }
  .bottom-nav { background: #fff !important; box-shadow: 0 -4px 30px rgba(13,31,74,.18), 0 14px 34px rgba(13,31,74,.2) !important; border-radius: 26px !important; left: 10px !important; right: 10px !important; padding: 8px 6px !important; display: flex; }
  .bottom-nav-item { flex: 1; min-width: 0; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 7px 2px !important; color: var(--text-2) !important; border-radius: 18px !important; font-size: 10.5px; font-weight: 600; }
  .bottom-nav-item .nv-line { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .bottom-nav-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .bottom-nav-item.active { background: linear-gradient(180deg, #3a82ff, #1456e0) !important; color: #fff !important; box-shadow: 0 8px 18px rgba(31,107,255,.45) !important; }
  /* menu samping jadi laci (dibuka lewat tombol ☰) */
  .sidebar { display: flex !important; position: fixed; top: 0; bottom: 0; left: 0; width: 280px; border-radius: 0 24px 24px 0; transform: translateX(-105%); transition: transform .25s ease; z-index: 9700; }
  .sidebar .nav-item { justify-content: flex-start; }
  #dashboard-shell.drawer-open .sidebar { transform: none; }
  .bw-scrim { display: block; position: fixed; inset: 0; background: rgba(5,12,35,.55); z-index: 9600; opacity: 0; pointer-events: none; transition: opacity .2s; }
  #dashboard-shell.drawer-open .bw-scrim { opacity: 1; pointer-events: auto; }
}

/* ===== Perbaikan lanjutan ===== */
.bw-mascot { height: 118%; max-height: 250px; }
.bw-hero { min-height: 210px; }
.bw-stats .stat-card { justify-content: center; }
@media (min-width: 768px) and (max-width: 1199px) {
  .sb-status { display: none; }
  .sidebar .btn-outline { padding: 10px 0; font-size: 11px; }
}
@media (max-width: 767px) {
  .sidebar .nav-item span, .sidebar .logo span { display: inline !important; }
  .sidebar .nav-item { justify-content: flex-start !important; padding: 12px 16px; }
  .sidebar-header { justify-content: flex-start; padding: 0 20px; }
  .bw-mascot { max-height: 170px; height: auto; }
}
.bw-mascot { height: 104%; max-height: 225px; bottom: -4px; }
#langFloat { top: auto !important; bottom: 16px !important; right: 16px !important; }
