/* Syahzara AI Office · identitas: Navy #0B1F4B, Electric Blue #1677FF, Cyan #20D5F5 (Rancangan v1.0) */
:root, [data-bs-theme=light] {
  --oz-navy: #0B1F4B; --oz-navy-2: #13306b; --oz-biru: #1677FF; --oz-cyan: #20D5F5;
  --oz-bg: #F4F7FC; --oz-kartu: #ffffff; --oz-garis: #e4eaf4; --oz-teks-lembut: #5b6b85;
  --bs-body-bg: var(--oz-bg); --bs-body-font-family: Inter, "Segoe UI", system-ui, sans-serif;
  --bs-primary: #1677FF; --bs-primary-rgb: 22, 119, 255; --bs-link-color: #1677FF; --bs-link-color-rgb: 22, 119, 255;
  --bs-border-color: var(--oz-garis);
}
[data-bs-theme=dark] {
  --oz-bg: #0a1226; --oz-kartu: #111c36; --oz-garis: #22304f; --oz-teks-lembut: #9fb0cf;
  --bs-body-bg: var(--oz-bg); --bs-body-color: #e6ecf8; --bs-border-color: var(--oz-garis);
  --bs-primary: #4b95ff; --bs-primary-rgb: 75, 149, 255; --bs-link-color: #6aa8ff; --bs-link-color-rgb: 106, 168, 255;
  --bs-secondary-bg: #16223f; --bs-tertiary-bg: #142041;
}
body { font-size: .94rem; }
.btn-primary { --bs-btn-bg: var(--bs-primary); --bs-btn-border-color: var(--bs-primary); --bs-btn-hover-bg: #0f63d9; --bs-btn-hover-border-color: #0f63d9; }

/* tata letak */
.oz-sidebar { width: 264px; background: var(--oz-navy) !important; color: #c9d5ee; }
.oz-sidebar .offcanvas-body { display: flex; flex-direction: column; padding: 0; height: 100%; }
.oz-merek { display: flex; align-items: center; gap: .7rem; padding: 1.15rem 1.2rem; color: #fff; text-decoration: none; }
.oz-lencana { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-weight: 900; font-size: 1.25rem; color: var(--oz-navy);
  background: linear-gradient(135deg, var(--oz-cyan), #7fe9fb); flex: 0 0 auto; }
.oz-merek b { display: block; font-size: 1rem; line-height: 1.15; }
.oz-merek small { color: #8fa3cc; font-size: .72rem; }
.oz-menu { padding: .3rem .7rem 1rem; overflow-y: auto; flex: 1; }
.oz-menu .judul { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #7489b5; font-weight: 700; padding: .75rem .6rem .3rem; }
.oz-menu a { display: flex; align-items: center; gap: .7rem; color: #c9d5ee; text-decoration: none; padding: .4rem .7rem; font-size: .9rem; border-radius: 9px; font-weight: 500; }
.oz-menu a i { font-size: 1.05rem; width: 1.2rem; text-align: center; }
.oz-menu a:hover { background: rgba(255,255,255,.07); color: #fff; }
.oz-menu a.aktif { background: var(--oz-biru); color: #fff; box-shadow: 0 6px 16px rgba(22,119,255,.35); }
.oz-menu a.segera { color: #7f92bb; }
.oz-menu a .badge { margin-left: auto; font-size: .62rem; background: rgba(32,213,245,.14); color: var(--oz-cyan); font-weight: 600; }
.oz-kaki-sidebar { padding: .9rem 1.2rem; font-size: .72rem; color: #7489b5; border-top: 1px solid rgba(255,255,255,.07); }
@media (min-width: 992px) {
  .oz-sidebar { position: fixed; inset: 0 auto 0 0; }
  .oz-isi { margin-left: 264px; }
}
.oz-atas { position: sticky; top: 0; z-index: 1020; background: color-mix(in srgb, var(--oz-bg) 88%, transparent); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--oz-garis); }
.oz-cari { max-width: 460px; }
.oz-cari .form-control { border-radius: 999px; padding-left: 2.4rem; background: var(--oz-kartu); }
.oz-cari i { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--oz-teks-lembut); }
.oz-konten { padding: 1.4rem; max-width: 1400px; }
@media (max-width: 575.98px) { .oz-konten { padding: 1rem; } }

/* komponen */
.kartu { background: var(--oz-kartu); border: 1px solid var(--oz-garis); border-radius: 16px; }
.kartu-kepala { display: flex; align-items: center; gap: .6rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--oz-garis); }
.kartu-kepala h2 { font-size: 1rem; font-weight: 700; margin: 0; }
.kartu-isi { padding: 1.1rem 1.2rem; }
.judul-hal { font-weight: 800; font-size: 1.45rem; margin: 0; }
.sub-hal { color: var(--oz-teks-lembut); margin: .2rem 0 0; }
.teks-lembut { color: var(--oz-teks-lembut) !important; }

.angka { border-radius: 16px; padding: 1.1rem 1.2rem; color: #fff; position: relative; overflow: hidden; min-height: 112px; }
.angka i.ikon { font-size: 1.35rem; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.16); }
.angka .nilai { font-size: 1.9rem; font-weight: 800; line-height: 1.1; margin-top: .55rem; }
.angka .ket { font-size: .8rem; opacity: .85; }
.angka::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.08); }
.angka.a1 { background: linear-gradient(135deg, #0B1F4B, #1d3f8f); }
.angka.a2 { background: linear-gradient(135deg, #1677FF, #3a8dff); }
.angka.a3 { background: linear-gradient(135deg, #0e9fbf, #20D5F5); }
.angka.a4 { background: linear-gradient(135deg, #4338ca, #6d5cf0); }

.ava { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-weight: 800; flex: 0 0 auto; }
.ava.kecil { width: 30px; height: 30px; font-size: .8rem; }
.ava.besar { width: 72px; height: 72px; font-size: 1.8rem; border-radius: 20px; }
.ava.calon { filter: grayscale(1); opacity: .55; }
.tumpuk .ava { border: 2px solid var(--oz-kartu); margin-left: -8px; }
.tumpuk .ava:first-child { margin-left: 0; }

.lencana-status { font-size: .72rem; font-weight: 700; padding: .28rem .6rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .3rem; }
.st-aktif { background: #dcfce7; color: #166534; }
.st-uji_coba, .st-calon { background: #fef3c7; color: #92400e; }
.st-nonaktif, .st-ditarik { background: #e5e7eb; color: #4b5563; }
[data-bs-theme=dark] .st-aktif { background: #14532d; color: #bbf7d0; }
[data-bs-theme=dark] .st-uji_coba, [data-bs-theme=dark] .st-calon { background: #78350f; color: #fde68a; }
[data-bs-theme=dark] .st-nonaktif, [data-bs-theme=dark] .st-ditarik { background: #374151; color: #e5e7eb; }

.tabel { margin: 0; }
.tabel th { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--oz-teks-lembut); font-weight: 700; background: transparent; border-bottom-width: 1px; white-space: nowrap; }
.tabel td, .tabel th { padding: .75rem 1.2rem; vertical-align: middle; background: transparent; }
.tabel tbody tr:hover td { background: color-mix(in srgb, var(--bs-primary) 5%, transparent); }

.kartu-agen { transition: transform .12s, box-shadow .12s; height: 100%; text-decoration: none; color: inherit; display: block; }
.kartu-agen:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11,31,75,.09); color: inherit; }
.chip { display: inline-block; font-size: .72rem; padding: .18rem .55rem; border-radius: 999px; background: color-mix(in srgb, var(--bs-primary) 10%, transparent); color: var(--bs-primary); margin: 0 .25rem .25rem 0; font-weight: 600; }
.chip.abu { background: var(--bs-tertiary-bg); color: var(--oz-teks-lembut); }

.garis-waktu { list-style: none; padding: 0; margin: 0; }
.garis-waktu li { display: flex; gap: .75rem; padding: .6rem 0; border-bottom: 1px dashed var(--oz-garis); }
.garis-waktu li:last-child { border-bottom: 0; }
.garis-waktu i { font-size: 1.1rem; }

.segera-kotak { border: 2px dashed var(--oz-garis); border-radius: 18px; padding: 3rem 1.5rem; text-align: center; }
.segera-kotak i.besar { font-size: 3rem; color: var(--oz-cyan); }

/* halaman masuk */
.oz-masuk { min-height: 100vh; display: grid; place-items: center; padding: 16px;
  background: radial-gradient(circle at 15% 20%, rgba(32,213,245,.25), transparent 40%), radial-gradient(circle at 85% 80%, rgba(22,119,255,.35), transparent 45%), var(--oz-navy); }
.oz-masuk .kartu { width: 100%; max-width: 410px; padding: 2rem; }
.oz-masuk .kode { font-size: 1.8rem; letter-spacing: .5em; text-align: center; font-weight: 700; }

.oz-toast { position: fixed; right: 16px; bottom: 16px; z-index: 1080; max-width: calc(100vw - 32px); }
pre.prompt { white-space: pre-wrap; background: var(--bs-tertiary-bg); border-radius: 10px; padding: .9rem 1rem; font-size: .82rem; max-height: 340px; overflow: auto; }
.chip, .kartu-kepala a, .oz-merek, .list-group-item { text-decoration: none; }
.angka { height: 100%; }
