/* ============================================================
   SI-POLA v2 — gaya tambahan (melengkapi style.css)
   Unit Oil Trap / IPAL, panel mimic, form pengaturan, laporan & cetak
   ============================================================ */

/* Tanpa ini, isi yang lebar (tabel, kartu) melebarkan halaman melewati layar HP */
.main-content { min-width: 0; }
.unit-card, .card { min-width: 0; }

/* ── Util ─────────────────────────────────────────────────── */
.mono      { font-family: 'JetBrains Mono', monospace; }
.muted     { color: var(--text-muted); }
.nowrap    { white-space: nowrap; }
.num       { font-family: 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.row-gap   { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.print-only { display: none; }

/* ── Badge tipe unit ──────────────────────────────────────── */
.type-badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
    padding: 3px 9px; border-radius: var(--radius-pill); border: 1px solid transparent; white-space: nowrap;
}
.type-badge.oil_trap { color: #f59e0b; background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.3); }
.type-badge.ipal     { color: #22c5a0; background: rgba(34,197,160,0.12); border-color: rgba(34,197,160,0.3); }
.code-tag {
    font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 600;
    color: var(--accent-bright); background: var(--accent-dim); padding: 3px 8px; border-radius: 5px; white-space: nowrap;
}

/* ── Kartu unit (dashboard) ───────────────────────────────── */
.tanks-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); }
.unit-card { cursor: default; }
.unit-card .unit-head {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; cursor: pointer;
}
.unit-card .unit-head:hover .tank-name { color: var(--accent-bright); }
.unit-head-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.unit-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }

/* Panel mimic: selalu terang supaya gambar proses terbaca di tema gelap maupun terang */
.mimic-panel {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    border: 1px solid rgba(148,163,184,0.35);
    border-radius: 12px; padding: 10px 8px; margin: 16px 0 14px;
}
.mimic-panel svg { display: block; width: 100%; height: auto; max-width: 820px; margin: 0 auto; }
.mimic-panel.offline { filter: grayscale(0.9); opacity: 0.75; }

.section-label {
    display: flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--text-muted); margin: 14px 0 8px;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.metric-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 10px; }
.metric {
    background: var(--bg-surface); border: 1px solid var(--border-card); border-radius: 10px;
    padding: 11px 12px; min-width: 0; position: relative; transition: var(--transition);
}
.metric-label {
    display: flex; align-items: center; gap: 7px; font-size: 0.7rem; font-weight: 600; color: var(--text-muted);
    margin-bottom: 6px; line-height: 1.25;
}
.metric-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.metric-value {
    font-family: 'JetBrains Mono', monospace; font-size: 1.12rem; font-weight: 700; color: var(--text-primary);
    line-height: 1.2; word-break: break-word;
}
.metric-value small { font-size: 0.68rem; font-weight: 500; color: var(--text-muted); margin-left: 3px; }
.metric-sub { font-size: 0.66rem; margin-top: 5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.metric-sub.normal { color: var(--success); }
.metric-sub.plain  { text-transform: none; letter-spacing: 0; }
.metric-sub.info   { color: var(--text-muted); text-transform: none; letter-spacing: 0; font-weight: 500; }
.metric.alarm-HH { border-color: var(--alarm-HH-border); background: var(--alarm-HH-bg); }
.metric.alarm-H  { border-color: var(--alarm-H-border);  background: var(--alarm-H-bg); }
.metric.alarm-L  { border-color: var(--alarm-L-border);  background: var(--alarm-L-bg); }
.metric.alarm-LL { border-color: var(--alarm-LL-border); background: var(--alarm-LL-bg); }
.metric.alarm-HH .metric-sub { color: var(--alarm-HH); }
.metric.alarm-H  .metric-sub { color: var(--alarm-H); }
.metric.alarm-L  .metric-sub { color: var(--alarm-L); }
.metric.alarm-LL .metric-sub { color: var(--alarm-LL); }
.metric.highlight { border-color: rgba(245,158,11,0.35); background: rgba(245,158,11,0.07); }
.valve-open  { color: var(--success) !important; }
.valve-close { color: var(--danger) !important; }

.unit-foot {
    display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--border); font-size: 0.75rem; color: var(--text-muted);
}
.unit-foot a { color: var(--accent-bright); text-decoration: none; font-weight: 600; }
.unit-foot a:hover { text-decoration: underline; }

/* ── Filter, ringkasan, tab ───────────────────────────────── */
.filter-bar {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-sm);
    padding: 12px 14px; margin-bottom: 14px;
}
.filter-bar .form-control { width: auto; min-width: 150px; max-width: 230px; }
.filter-bar label { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; }
.filter-divider { width: 1px; height: 26px; background: var(--border); }
.data-summary {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.8rem; color: var(--text-secondary);
    margin-bottom: 12px;
}
.data-summary svg { width: 15px; height: 15px; color: var(--accent-bright); flex-shrink: 0; }

.tab-bar {
    display: flex; gap: 4px; padding: 5px; background: var(--bg-card); border: 1px solid var(--border-card);
    border-radius: var(--radius-sm); width: fit-content; max-width: 100%; overflow-x: auto; margin-bottom: 22px;
}
.tab-btn {
    display: flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 8px; border: 1px solid transparent;
    background: transparent; color: var(--text-muted); font-size: 0.82rem; font-weight: 600; cursor: pointer;
    transition: var(--transition); font-family: 'Inter', sans-serif; white-space: nowrap;
}
.tab-btn svg { width: 14px; height: 14px; }
.tab-btn:hover { color: var(--text-primary); background: var(--bg-hover); }
.tab-btn.active { background: var(--accent-dim); color: var(--accent-bright); border-color: var(--border-active); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.seg { display: inline-flex; background: var(--bg-card); border: 1px solid var(--border-card); padding: 3px; border-radius: 8px; gap: 2px; flex-wrap: wrap; }
.seg button {
    border: 0; background: transparent; color: var(--text-muted); font: 600 0.76rem 'Inter', sans-serif;
    padding: 6px 12px; border-radius: 6px; cursor: pointer; white-space: nowrap;
}
.seg button:hover { color: var(--text-primary); }
.seg button.active { background: var(--accent-dim); color: var(--accent-bright); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 20px; font: 600 0.75rem 'Inter', sans-serif;
    border: 1.5px solid var(--border-card); background: transparent; color: var(--text-muted); cursor: pointer; transition: var(--transition);
}
.chip .chip-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.35; }
.chip.active { color: var(--chip-color, var(--accent-bright)); border-color: var(--chip-color, var(--accent-bright)); background: var(--bg-hover); }
.chip.active .chip-dot { opacity: 1; }

/* ── Halaman detail ───────────────────────────────────────── */
.detail-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; align-items: start; }
.now-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px; align-items: start; }
@media (max-width: 1100px) { .now-grid { grid-template-columns: minmax(0, 1fr); } }
.detail-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 1100px) { .detail-grid { grid-template-columns: minmax(0, 1fr); } }
.kv-list { display: flex; flex-direction: column; }
.kv { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 0.82rem; }
.kv:last-child { border-bottom: 0; }
.kv span:first-child { color: var(--text-muted); }
.kv span:last-child { color: var(--text-primary); font-weight: 600; text-align: right; word-break: break-word; }
.limit-table td, .limit-table th { padding: 9px 10px; font-size: 0.8rem; }
.limit-table td.num { font-size: 0.8rem; }
.lim-HH { color: var(--alarm-HH); } .lim-H { color: var(--alarm-H); } .lim-L { color: var(--alarm-L); } .lim-LL { color: var(--alarm-LL); }
.chart-box { height: 360px; position: relative; }
.chart-empty {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
    color: var(--text-muted); font-size: 0.82rem; padding: 20px;
}

/* ── Tabel data ───────────────────────────────────────────── */
table.data td { font-size: 0.8rem; vertical-align: middle; }
table.data td.num { color: var(--text-secondary); }
table.data th.num { text-align: right; }
table.data tfoot td { padding: 12px 14px; font-weight: 700; border-top: 2px solid var(--border-hover); background: var(--bg-surface); }
.cell-alarm { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }

/* ── Pengaturan (admin) ───────────────────────────────────── */
.config-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.config-card {
    background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius);
    padding: 20px 22px; box-shadow: var(--shadow-card); min-width: 0;
}
.config-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.config-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.config-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.98rem; font-weight: 700; color: var(--text-primary); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.form-grid .form-group { margin-bottom: 0; }
.form-hint { font-size: 0.72rem; color: var(--text-muted); margin-top: 5px; line-height: 1.45; }
.param-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; min-width: 820px; }
.param-table th { font-size: 0.66rem; padding: 4px 6px; border: 0; text-align: left; white-space: nowrap; }
.param-table td { padding: 2px 4px; border: 0; }
.param-table .form-control { padding: 7px 9px; font-size: 0.8rem; min-width: 0; }
.param-table td.pname { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); white-space: nowrap; padding-right: 10px; }
.param-table input[type=number] { width: 84px; font-family: 'JetBrains Mono', monospace; }
.param-table tr.disabled { opacity: 0.45; }
.th-HH { color: var(--alarm-HH) !important; } .th-H { color: var(--alarm-H) !important; }
.th-L { color: var(--alarm-L) !important; } .th-LL { color: var(--alarm-LL) !important; }
.switch { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; color: var(--text-secondary); cursor: pointer; white-space: nowrap; }
.switch input { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }

.list-rows { display: flex; flex-direction: column; gap: 10px; }
.list-row {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--bg-card); border: 1px solid var(--border-card);
    border-radius: var(--radius-sm); padding: 14px 18px; box-shadow: var(--shadow-card);
}
.list-row .grow { flex: 1; min-width: 180px; }
.list-row .title { font-weight: 700; color: var(--text-primary); font-size: 0.9rem; }
.list-row .sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 3px; word-break: break-all; }
.avatar-sm {
    width: 38px; height: 38px; border-radius: 50%; background: var(--grad-accent); color: #fff; display: flex;
    align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; flex-shrink: 0;
}
.danger-zone { border-color: rgba(239,68,68,0.3); }

/* ── Modal & menu user ────────────────────────────────────── */
.modal-backdrop.hidden { display: none; }
.modal-backdrop.open { opacity: 1; }
.modal-backdrop.open .modal { transform: none; }
.modal.wide { max-width: 720px; }
.modal { max-height: calc(100vh - 40px); overflow-y: auto; }
.user-menu {
    position: fixed; top: calc(var(--header-h) - 4px); right: 16px; z-index: 150; min-width: 210px;
    background: var(--bg-card); border: 1px solid var(--border-hover); border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg); padding: 6px; display: none;
}
.user-menu.open { display: block; }
.user-menu button {
    display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 12px; border: 0; background: transparent;
    color: var(--text-secondary); font: 500 0.82rem 'Inter', sans-serif; border-radius: 7px; cursor: pointer; text-align: left;
}
.user-menu button:hover { background: var(--bg-hover); color: var(--text-primary); }
.user-menu button svg { width: 15px; height: 15px; }
.header-btn.muted-on { color: var(--warning); }

/* ── Laporan ──────────────────────────────────────────────── */
.report-head { display: none; }
.sum-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 16px; }

@media (max-width: 768px) {
    /* Header tidak boleh melebarkan halaman di layar HP */
    .app-layout { grid-template-columns: minmax(0, 1fr); }
    .header { min-width: 0; }
    .header-brand { width: auto; min-width: 0; }
    .header-subtitle, .header-time, .user-info-text, .user-badge > svg { display: none; }
    .user-badge { padding: 4px; margin-left: 0; }
    .main-content { padding: 20px 14px; }
    .filter-bar .form-control { max-width: none; flex: 1 1 140px; }
    .filter-divider { display: none; }
    .metric-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}

/* ── Cetak / printout ─────────────────────────────────────── */
@media print {
    @page { size: A4 landscape; margin: 12mm; }
    :root, [data-theme] {
        --bg-base: #fff; --bg-surface: #fff; --bg-card: #fff; --bg-card-2: #fff; --bg-hover: #fff; --bg-input: #fff;
        --text-primary: #000; --text-secondary: #111; --text-muted: #444;
        --border: #bbb; --border-card: #bbb; --border-hover: #888; --shadow-card: none; --shadow-md: none; --shadow-lg: none;
    }
    html, body { background: #fff !important; color: #000 !important; }
    .header, .sidebar, .sidebar-overlay, .toast-container, .no-print, .filter-bar, .pagination, .tab-bar,
    .page-actions, .user-menu, .modal-backdrop { display: none !important; }
    html, body { overflow: visible !important; min-height: 0 !important; height: auto !important; }
    .app-layout { display: block !important; min-height: 0 !important; }
    /* Di layar, konten di-scroll di dalam .main-content; saat cetak harus mengalir ke banyak halaman */
    .main-content { margin: 0 !important; padding: 0 !important; width: 100% !important; max-width: none !important;
                    max-height: none !important; overflow: visible !important; }
    .print-only { display: block; }
    .report-head {
        display: flex; align-items: center; gap: 14px; border-bottom: 2px solid #000; padding-bottom: 10px; margin-bottom: 12px;
    }
    .report-head img { height: 46px; width: auto; }
    .report-head h1 { font: 700 15pt 'Plus Jakarta Sans', Arial, sans-serif; margin: 0; color: #000; }
    .report-head p { font: 9pt Arial, sans-serif; margin: 2px 0 0; color: #222; }
    .page-header { margin-bottom: 8px !important; }
    .page-title { font-size: 13pt !important; color: #000 !important; }
    .card, .config-card, .stat-card, .metric { box-shadow: none !important; border: 1px solid #999 !important; background: #fff !important; break-inside: avoid; }
    .table-wrap { overflow: visible !important; }
    table { width: 100% !important; min-width: 0 !important; }
    thead { display: table-header-group; }
    tr { break-inside: avoid; }
    thead th, table.data td, table.data tfoot td { font-size: 7.5pt !important; padding: 3px 5px !important; color: #000 !important; border: 1px solid #999 !important; background: #fff !important; white-space: normal; }
    thead th { background: #e5e7eb !important; -webkit-print-color-adjust: exact; print-color-adjust: exact;
               white-space: normal !important; letter-spacing: 0 !important; font-family: Arial, sans-serif !important; font-size: 7pt !important; text-transform: none !important; }
    thead th .muted { color: #333 !important; font-weight: 400; }
    .card { overflow: visible !important; border: 0 !important; border-radius: 0 !important; }
    .sum-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 10px; }
    .metric { padding: 6px 8px !important; border-radius: 4px !important; }
    .metric-value { font-size: 11pt !important; } .metric-label, .metric-sub { font-size: 7pt !important; color: #222 !important; }
    .data-summary { font-size: 8pt; margin-bottom: 6px; }
    .alarm-badge, .type-badge, .code-tag, .badge { border: 0 !important; background: none !important; color: #000 !important; padding: 0 !important; }
    .print-sign { display: flex !important; justify-content: flex-end; margin-top: 28px; font: 9pt Arial, sans-serif; }
    .print-sign div { text-align: center; width: 220px; }
    .print-sign .line { margin-top: 56px; border-top: 1px solid #000; padding-top: 4px; }
}
.print-sign { display: none; }

/* ── Sidebar: kelompok Oil Trap / IPAL dengan submenu ─────── */
.sidebar { overflow-y: auto; }
button.nav-group { width: 100%; border: 0; background: transparent; text-align: left; cursor: pointer; font: inherit; font-weight: 700; color: var(--text-primary); }
.nav-group .nav-text { flex: 1; }
.nav-group.current { background: var(--bg-hover); }
.nav-chevron { display: inline-flex; margin-left: 4px; transition: transform 0.2s; color: var(--text-muted); }
.nav-chevron svg { width: 14px; height: 14px; }
.nav-group.open .nav-chevron { transform: rotate(180deg); }
.nav-sub { display: none; margin: 2px 0 8px 14px; padding-left: 8px; border-left: 1px solid var(--border); }
.nav-sub.open { display: block; }
.nav-sub .nav-item { padding-top: 8px; padding-bottom: 8px; font-size: 0.84rem; }
body.sidebar-minimized .nav-sub { margin-left: 0; padding-left: 0; border-left: 0; }
body.sidebar-minimized .nav-chevron { display: none; }
@media print { .nav-sub { display: none !important; } }

/* ── Overview (dashboard ringkas untuk banyak unit) ───────── */
.ov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
a.ov-card { display: block; text-decoration: none; color: inherit; padding: 16px 16px 14px; min-width: 0; }
a.ov-card:hover { border-color: var(--border-active); transform: translateY(-2px); }
a.ov-card.offline { opacity: 0.72; }
.ov-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.ov-title { min-width: 0; }
.ov-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 0.98rem; color: var(--text-primary); margin-top: 6px;
           white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-loc { font-size: 0.74rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-state { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.ov-online { display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; color: var(--text-muted); white-space: nowrap; }
.ov-level { margin-bottom: 12px; }
.ov-level-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 0.74rem; color: var(--text-muted); margin-bottom: 6px; }
.ov-level-top strong { font-family: 'JetBrains Mono', monospace; font-size: 1.25rem; color: var(--text-primary); }
.ov-level-top small { margin-left: 6px; }
.ov-bar { position: relative; height: 10px; border-radius: 6px; background: var(--bg-surface); border: 1px solid var(--border); overflow: hidden; }
.ov-fill { height: 100%; border-radius: 6px; transition: width 0.5s ease; }
.ov-tick { position: absolute; top: 0; bottom: 0; width: 2px; opacity: 0.85; }
.ov-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.ov-item { display: flex; flex-direction: column; gap: 2px; padding: 7px 9px; border-radius: 8px; background: var(--bg-surface); border: 1px solid var(--border-card); min-width: 0; }
.ov-l { font-size: 0.66rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-l b { font-weight: 800; }
.ov-v { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 0.95rem; color: var(--text-primary); white-space: nowrap; }
.ov-v small { font-size: 0.64rem; font-weight: 500; color: var(--text-muted); margin-left: 3px; }
.ov-item.hl { border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.06); }
.ov-item.alarm-HH { border-color: var(--alarm-HH-border); background: var(--alarm-HH-bg); } .ov-item.alarm-HH .ov-l b { color: var(--alarm-HH); }
.ov-item.alarm-H  { border-color: var(--alarm-H-border);  background: var(--alarm-H-bg); }  .ov-item.alarm-H .ov-l b  { color: var(--alarm-H); }
.ov-item.alarm-L  { border-color: var(--alarm-L-border);  background: var(--alarm-L-bg); }  .ov-item.alarm-L .ov-l b  { color: var(--alarm-L); }
.ov-item.alarm-LL { border-color: var(--alarm-LL-border); background: var(--alarm-LL-bg); } .ov-item.alarm-LL .ov-l b { color: var(--alarm-LL); }
.ov-table td { padding-top: 10px; padding-bottom: 10px; }
.ov-table tbody tr:hover { background: var(--bg-hover); }

.ov-table th, .ov-table td { padding-left: 10px; padding-right: 10px; white-space: nowrap; }
.ov-table td.ov-unit { min-width: 150px; max-width: 240px; white-space: normal; }
.ov-table td.ov-unit a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-table thead th { position: sticky; top: 0; }

/* Grafik histori */
.chart-panels { min-width: 0; }

/* Scrollbar: menu samping tanpa batang gulir (tetap bisa digulir); area lain tipis mengikuti tema */
.sidebar { scrollbar-width: none; -ms-overflow-style: none; }
.sidebar::-webkit-scrollbar { width: 0; height: 0; display: none; }
html { scrollbar-width: thin; scrollbar-color: rgba(128,140,170,0.35) transparent; }
.main-content, .table-wrap, .modal, .modal-body { scrollbar-width: thin; scrollbar-color: rgba(128,140,170,0.35) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(128,140,170,0.35); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(128,140,170,0.55); }
