/* BillingHub Radius — penyesuaian di atas Color Admin (transparent). Nuansa monokrom. */

:root {
    --bhr-brand: #0f626a;
    --bhr-brand-soft: #5fa7ad;
}

/* Panel memakai latar asli Color Admin (transparent). Halaman masuk/daftar dibuat monokrom. */
body.pace-top .app-cover {
    filter: grayscale(1) contrast(1.05);
}
body.pace-top .app-cover::before {
    background: rgba(14, 15, 18, .78) !important;
}

/* Logo */
.bhr-logo {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: #fff;
    text-decoration: none;
}
.bhr-logo img {
    height: 30px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .45));
}
.bhr-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.bhr-logo-text b {
    font-weight: 800;
    letter-spacing: -.01em;
    font-size: 1rem;
}
.bhr-logo-text small {
    font-size: .58rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    opacity: .6;
    margin-top: .25rem;
}
.app-header .brand .brand-logo.bhr-logo { padding-left: 0; }

/* Ikon iconify dalam menu sejajar */
.menu-icon iconify-icon { font-size: 1.15rem; }
.menu-profile-image.bhr-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: #111;
    background: rgba(255, 255, 255, .85);
}
.bhr-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    font-weight: 800;
    color: #111;
    background: rgba(255, 255, 255, .85);
}

/* Kartu: ikut gaya kartu Color Admin (komponen kaca bawaan tema) */
.card-glass {
    background: var(--bs-component-bg);
    border: 0;
    border-radius: .75rem;
}
.stat-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    opacity: .6;
}
.bg-teal { background-color: var(--bhr-brand) !important; color: #fff; }

/* Banner trial */
.bhr-trial {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem 1rem;
    border-radius: .65rem;
    background: var(--bs-component-bg);
    border: 0;
    margin-bottom: 1rem;
    font-size: .875rem;
}

/* DataTables di atas kaca */
table.dataTable td, table.dataTable th { vertical-align: middle; }
.dataTables_wrapper .dataTables_filter input, .dt-search input { min-width: 220px; }

/* Langkah wizard daftar */
.bhr-steps {
    display: flex;
    gap: .5rem;
    margin-bottom: 1.5rem;
}
.bhr-step {
    flex: 1;
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .55rem .75rem;
    border-radius: .6rem;
    border: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .55);
    font-size: .82rem;
    font-weight: 600;
}
.bhr-step span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    border: 1px solid currentColor;
}
.bhr-step.is-active {
    color: #111;
    background: #fff;
    border-color: #fff;
}
.bhr-step.is-done { color: #fff; border-color: rgba(255, 255, 255, .4); }

.auth .auth-cover img { filter: grayscale(1); }
.auth-content .bhr-logo { gap: .85rem; }
.auth-content .bhr-logo img { height: 64px; }
.auth-content .bhr-logo-text b { font-size: 1.75rem; }
.auth-content .bhr-logo-text small { font-size: .78rem; margin-top: .4rem; }
@media (max-width: 575.98px) { .auth-content .bhr-logo img { height: 52px; } .auth-content .bhr-logo-text b { font-size: 1.45rem; } }
.auth-content { max-width: 440px; }
.auth-content.is-wide { max-width: 520px; }

/* Tombol & tautan monokrom (tidak bergantung warna tema template) */
.btn.btn-mono {
    --bs-btn-bg: #f4f4f5;
    --bs-btn-color: #0b0c0e;
    --bs-btn-border-color: #f4f4f5;
    --bs-btn-hover-bg: #ffffff;
    --bs-btn-hover-color: #0b0c0e;
    --bs-btn-hover-border-color: #ffffff;
    --bs-btn-active-bg: #d9d9db;
    --bs-btn-active-color: #0b0c0e;
    --bs-btn-disabled-bg: #f4f4f5;
    --bs-btn-disabled-color: #0b0c0e;
    background: var(--bs-btn-bg);
    color: var(--bs-btn-color);
    border-color: var(--bs-btn-border-color);
}
.btn.btn-mono:hover, .btn.btn-mono:focus { background: var(--bs-btn-hover-bg); color: var(--bs-btn-hover-color); }
.btn.btn-mono-outline {
    background: rgba(255, 255, 255, .06);
    color: #f4f4f5;
    border: 1px solid rgba(255, 255, 255, .25);
}
.btn.btn-mono-outline:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }
a.link-mono { color: #f4f4f5; text-decoration: none; }
a.link-mono:hover { color: #fff; text-decoration: underline; }
a.link-mono-muted { color: rgba(244, 244, 245, .6); text-decoration: none; }
a.link-mono-muted:hover { color: #fff; }
.bhr-step.is-active { background: #f4f4f5; }
.progress-bar.bg-white { background-color: #f4f4f5 !important; }

/* Ikon urut DataTables tanpa Font Awesome (webfont tidak disertakan) */
table.dataTable thead > tr > th .dt-column-order:after,
table.dataTable thead > tr > th .dt-column-order:before,
table.dataTable thead > tr > th.dt-orderable-asc .dt-column-order:after,
table.dataTable thead > tr > th.dt-orderable-desc .dt-column-order:after {
    font-family: inherit !important;
    content: "↕" !important;
    font-weight: 400;
    font-size: .8rem;
}
table.dataTable thead > tr > th.dt-ordering-asc .dt-column-order:after { content: "↑" !important; color: #fff; }
table.dataTable thead > tr > th.dt-ordering-desc .dt-column-order:after { content: "↓" !important; color: #fff; }
table.dataTable thead > tr > th .dt-column-order:before { content: none !important; }

/* Badge peran "Pemilik" tetap putih di atas kaca */
.badge.bg-white { background-color: #f4f4f5 !important; color: #0b0c0e !important; }

/* Menu header rata kanan */
.app-header .menu { justify-content: flex-end; }

/* Kartu ringkasan dasbor (gaya Dashboard v4) */
.bhr-hero {
    min-height: 420px;
}
.bhr-hero .card-body { z-index: 1; }
.bhr-hero-bg { pointer-events: none; }
.bhr-hero-art {
    width: 100%;
    height: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 22%, rgba(0, 0, 0, .55) 42%, #000 62%);
    mask-image: linear-gradient(90deg, transparent 0%, transparent 22%, rgba(0, 0, 0, .55) 42%, #000 62%);
}
@media (max-width: 1399.98px) { .bhr-hero-art { opacity: .85; } }
.bhr-blur { backdrop-filter: blur(6px); }
.bhr-cube { animation: bhr-float 6s ease-in-out infinite; }
.bhr-led { fill: #fff; animation: bhr-blink 2.4s ease-in-out infinite; }
@keyframes bhr-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes bhr-blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (max-width: 767.98px) { .bhr-hero { min-height: 300px; } .bhr-hero-bg { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .bhr-cube, .bhr-led { animation: none; } }
.bhr-pill-white { background: #f4f4f5 !important; color: #0b0c0e !important; }

/* Webfont Font Awesome tidak disertakan: cegah request 404 (ikon memakai iconify). */
@font-face { font-family: "Font Awesome 7 Free"; font-weight: 900; src: local("BHR-none"); }
@font-face { font-family: "Font Awesome 7 Free"; font-weight: 400; src: local("BHR-none"); }
@font-face { font-family: "Font Awesome 7 Brands"; font-weight: 400; src: local("BHR-none"); }
.bhr-admin-view { border-color: rgba(47, 179, 189, .55); background: rgba(47, 179, 189, .12); }

/* Jarak kartu profil ke menu (pengganti judul seksi yang dihapus) */
.app-sidebar .menu .menu-profile { margin-bottom: 1.25rem; }

/* Logo header panel sedikit lebih besar */
.app-header .brand .bhr-logo img { height: 38px; }
.app-header .brand .bhr-logo .bhr-logo-text b { font-size: 1.2rem; }
.app-header .brand .bhr-logo .bhr-logo-text small { font-size: .62rem; margin-top: .3rem; }

/* Pilihan dropdown (option) terbaca di atas tema kaca */
.form-select option, select.form-control option { background-color: #2a2d3a; color: #fff; }
.form-select optgroup, select.form-control optgroup { background-color: #1f2230; color: rgba(255, 255, 255, .55); font-style: normal; font-weight: 600; }
/* Tombol tutup modal terlihat (ikon putih) */
.modal .btn-close { filter: invert(1) grayscale(1) brightness(2); opacity: .75; }
.modal .btn-close:hover { opacity: 1; }

/* Modal & pop-up konfirmasi: latar solid agar terbaca di atas tema kaca */
.modal-content { background-color: #262935 !important; border: 1px solid rgba(255, 255, 255, .1) !important; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.modal-backdrop.show { opacity: .7; }
.swal-overlay { background-color: rgba(8, 9, 12, .72) !important; }
.swal-modal { background-color: #262935 !important; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); backdrop-filter: none !important; }
.swal-title { color: #fff !important; }
.swal-text { color: rgba(255, 255, 255, .8) !important; text-align: center; }
.swal-icon--warning { border-color: #ff9f43 !important; }
.swal-icon--warning__body, .swal-icon--warning__dot { background-color: #ff9f43 !important; }
.swal-icon--success::before, .swal-icon--success::after, .swal-icon--success__hide-corners { background: #262935 !important; }
.swal-footer { text-align: center; }

/* Tombol aksi tabel: warna solid */
.btn-act { width: 32px; height: 32px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: .5rem; color: #fff !important; font-size: 1rem; }
.btn-act:hover { filter: brightness(1.12); }
.btn-act-edit { background: #1c75ee; }
.btn-act-danger { background: #e5372b; }
.btn-act-info { background: #4a5162; }
.btn-act-success { background: #17a34a; }
.btn-act + form, form + .btn-act, .btn-act + .btn-act { margin-left: .3rem; }

/* Blok skrip MikroTik */
.bhr-code { background: rgba(0, 0, 0, .45); color: #e6f6f7; border-radius: .6rem; padding: 1rem 1.1rem; font-size: .8rem; line-height: 1.6; white-space: pre-wrap; word-break: break-all; border: 1px solid rgba(255, 255, 255, .08); }
.bhr-steps-list { padding-left: 1.2rem; display: flex; flex-direction: column; gap: .6rem; }
.bhr-steps-list li { color: rgba(255, 255, 255, .8); }

/* Profil company */
.bhr-profile-hero { background: linear-gradient(120deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06)) !important; }
.bhr-profile-hero::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 70%); pointer-events: none; }
.bhr-company-logo { width: 96px; height: 96px; border-radius: 1.25rem; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.bhr-company-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.bhr-company-logo span { font-size: 2.6rem; font-weight: 800; color: #1b1d26; }
.bhr-mini-stat { min-width: 86px; padding: .7rem .8rem; border-radius: .8rem; background: rgba(0, 0, 0, .2); display: flex; flex-direction: column; align-items: flex-start; }
.bhr-mini-stat iconify-icon { font-size: 1.2rem; opacity: .6; }
.bhr-mini-stat b { font-size: 1.3rem; line-height: 1.2; }
.bhr-mini-stat small { opacity: .7; font-size: .72rem; }
.bhr-section-title { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem; margin-bottom: 1.1rem; }
.bhr-section-title iconify-icon { font-size: 1.25rem; opacity: .7; }
.bhr-logo-drop { position: relative; width: 128px; height: 128px; border-radius: 1rem; border: 2px dashed rgba(255, 255, 255, .3); display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; flex-shrink: 0; background: rgba(0, 0, 0, .15); transition: border-color .2s; }
.bhr-logo-drop:hover { border-color: #fff; }
.bhr-logo-drop img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 8px; }
.bhr-logo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.bhr-clickable { cursor: pointer; transition: transform .15s; }
.bhr-clickable:hover { transform: translateY(-2px); }
.menu-profile-image.bhr-initials img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 4px; border-radius: inherit; }

/* Kolom aksi tabel: semua tombol sejajar tengah & setinggi */
table.dataTable td form.d-inline, table td form.d-inline { display: inline-flex !important; vertical-align: middle; margin: 0; }
table td .btn-act, table td .btn-sm, table td .dropdown { vertical-align: middle; }
table td .btn-sm { height: 32px; display: inline-flex; align-items: center; gap: .3rem; }
table td .btn-act + .btn-act, table td form + .btn-act, table td .btn-act + form, table td form + form, table td form + .dropdown, table td .btn-act + .dropdown { margin-left: .3rem; }

/* Pilihan kartu (radio) */
.bhr-choice { display: block; padding: .8rem 1rem; border-radius: .7rem; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .05); cursor: pointer; transition: all .15s; }
.btn-check:checked + .bhr-choice { border-color: #fff; background: rgba(255, 255, 255, .18); box-shadow: 0 0 0 1px #fff inset; }
.bg-indigo { background-color: #5b5bd6 !important; color: #fff; }
.bhr-sim { border-radius: .7rem; padding: .9rem 1rem; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .1); }

/* Form pelanggan */
.bhr-step-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; }
.bhr-step-no { width: 36px; height: 36px; border-radius: 50%; background: #f4f4f5; color: #1b1d26; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.bhr-paket-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .75rem; }
.bhr-paket { padding: .9rem 1rem; }
.btn-check:checked + .bhr-paket { background: linear-gradient(150deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .1)); }
.bhr-segment { display: flex; padding: 3px; border-radius: .6rem; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .12); }
.bhr-segment label { flex: 1; text-align: center; padding: .42rem .5rem; border-radius: .45rem; cursor: pointer; font-weight: 600; font-size: .875rem; color: rgba(255, 255, 255, .7); transition: all .15s; }
.bhr-segment .btn-check:checked + label { background: #f4f4f5; color: #1b1d26; }
.bhr-scheme { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.1rem; }
.bhr-scheme-icon { width: 44px; height: 44px; border-radius: .75rem; background: rgba(255, 255, 255, .12); display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.btn-check:checked + .bhr-scheme .bhr-scheme-icon { background: #f4f4f5; color: #1b1d26; }
.bhr-isolir-box { border-radius: .8rem; padding: 1rem 1.1rem; background: rgba(255, 159, 67, .1); border: 1px solid rgba(255, 159, 67, .3); }
.bhr-sticky { position: sticky; top: 76px; }
.bhr-summary { background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .07)) !important; }
.bhr-avatar-lg { width: 52px; height: 52px; font-size: 1.3rem; }
.bhr-sum-paket { border-radius: .7rem; padding: .8rem 1rem; background: rgba(0, 0, 0, .22); }
.bhr-timeline { position: relative; display: flex; flex-direction: column; gap: .2rem; }
.bhr-tl-item { position: relative; display: flex; gap: .8rem; align-items: flex-start; padding: .5rem 0 .5rem; }
.bhr-tl-item iconify-icon { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; position: relative; z-index: 1; }
.bhr-tl-item:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 40px; bottom: -6px; width: 2px; background: rgba(255, 255, 255, .15); }
.bhr-tl-item.is-warn iconify-icon { background: rgba(255, 159, 67, .3); color: #ffc48a; }
@media (max-width: 1199.98px) { .bhr-sticky { position: static; } }

/* Bank, WA, pembayaran */
.bhr-bank-logo { width: 36px; height: 36px; border-radius: .6rem; background: #f4f4f5; color: #1b1d26; font-weight: 800; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.bhr-bank-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.bhr-bank-logo-lg { width: 52px; height: 52px; font-size: 1rem; border-radius: .8rem; }
.bhr-bank-card { background: linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06)) !important; }
.bhr-acc-number { letter-spacing: .06em; }
.bhr-notif { border-radius: .8rem; padding: 1rem 1.1rem; background: rgba(0, 0, 0, .18); border: 1px solid rgba(255, 255, 255, .08); }
.bhr-chip { display: inline-block; margin: .15rem; padding: .1rem .45rem; border-radius: .4rem; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.bhr-chip:hover { background: rgba(255, 255, 255, .25); }
.bhr-qrin-card { background: linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06)) !important; }

/* Toggle ON = hijau */
.form-switch .form-check-input:checked { background-color: #17a34a !important; border-color: #17a34a !important; }
.form-switch .form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(23, 163, 74, .3); }
.form-check-input:checked[type=checkbox]:not([role=switch]) { background-color: #17a34a; border-color: #17a34a; }

/* Kartu rekening bank */
.bhr-bankcard { position: relative; aspect-ratio: 1.586; border-radius: 1.1rem; padding: 1.4rem 1.5rem; color: #fff; overflow: hidden; display: flex; flex-direction: column;
    background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%); box-shadow: 0 18px 40px -18px var(--c2), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .25s, box-shadow .25s; }
.bhr-bankcard::before { content: ""; position: absolute; right: -30%; top: -40%; width: 90%; height: 120%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 65%); }
.bhr-bankcard::after { content: ""; position: absolute; left: -20%; bottom: -60%; width: 80%; height: 110%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); }
.bhr-bankcard:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 26px 50px -18px var(--c2), inset 0 1px 0 rgba(255, 255, 255, .3); }
.bhr-bankcard.is-off { filter: grayscale(.85); opacity: .7; }
.bhr-bankcard > * { position: relative; z-index: 1; }
.bhr-bankcard-top { display: flex; justify-content: space-between; align-items: flex-start; }
.bhr-bankcard-chip { width: 46px; height: 34px; border-radius: 7px; background: linear-gradient(135deg, #f6e3a1, #c9a24a); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); position: relative; }
.bhr-bankcard-chip::before { content: ""; position: absolute; inset: 8px 12px; border: 1px solid rgba(0, 0, 0, .25); border-radius: 3px; }
.bhr-bankcard-brand span { font-weight: 900; font-size: 1.35rem; letter-spacing: .02em; text-shadow: 0 2px 8px rgba(0, 0, 0, .25); font-style: italic; }
.bhr-bankcard-brand img { height: 34px; max-width: 120px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px 8px; }
.bhr-bankcard-number { margin-top: auto; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: clamp(1.3rem, 2.2vw, 1.65rem); font-weight: 700; letter-spacing: .12em; text-shadow: 0 2px 6px rgba(0, 0, 0, .3); margin-bottom: .9rem; }
.bhr-bankcard-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.bhr-bankcard-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .14em; opacity: .7; }
.bhr-bankcard-name { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.bhr-bankcard-status { font-size: .7rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: rgba(0, 0, 0, .25); white-space: nowrap; }
.bhr-bankcard-actions { position: absolute; top: 1rem; right: 1rem; display: flex; gap: .35rem; opacity: 0; transform: translateY(-6px); transition: all .2s; z-index: 2; }
.bhr-bankcard-actions .btn-act { background: rgba(0, 0, 0, .45); backdrop-filter: blur(6px); }
.bhr-bankcard-actions .btn-act:hover { background: rgba(0, 0, 0, .7); }
.bhr-bankcard:hover .bhr-bankcard-actions, .bhr-bankcard:focus-within .bhr-bankcard-actions { opacity: 1; transform: none; }
.bhr-bankcard:hover .bhr-bankcard-brand { opacity: 0; }
.bhr-bankcard-add { width: 100%; aspect-ratio: 1.586; border-radius: 1.1rem; border: 2px dashed rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .04); color: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; transition: all .2s; }
.bhr-bankcard-add:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.bhr-bankcard-add-icon { font-size: 2.4rem; opacity: .8; }
@media (hover: none) { .bhr-bankcard-actions { opacity: 1; transform: none; } .bhr-bankcard:hover .bhr-bankcard-brand { opacity: 1; } .bhr-bankcard-brand { margin-right: 120px; } }

/* Paket langganan (admin) & pemakaian */
.bhr-plan { height: 100%; display: flex; flex-direction: column; padding: 1.5rem; border-radius: 1.1rem; background: var(--bs-component-bg); border: 1px solid rgba(255, 255, 255, .08); transition: transform .2s; }
.bhr-plan:hover { transform: translateY(-3px); }
.bhr-plan.is-featured { background: linear-gradient(160deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .08)); border-color: rgba(255, 255, 255, .5); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.bhr-plan.is-off { opacity: .55; }
.bhr-plan-price { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; margin-top: .75rem; }
.bhr-plan-price small { font-size: .85rem; font-weight: 600; opacity: .6; }
.bhr-plan-limits { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1rem; }
.bhr-plan-limits > div { border-radius: .7rem; padding: .6rem .7rem; background: rgba(0, 0, 0, .22); display: flex; flex-direction: column; }
.bhr-plan-limits iconify-icon { opacity: .6; font-size: 1.1rem; }
.bhr-plan-limits b { font-size: 1.15rem; }
.bhr-plan-limits small { opacity: .65; font-size: .72rem; }
.bhr-plan-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; font-size: .9rem; }
.bhr-plan-features iconify-icon { color: #4ade80; vertical-align: -2px; }
.bhr-usage { margin-bottom: .9rem; }
.bhr-usage .progress { height: 7px; background: rgba(255, 255, 255, .1); }
.bhr-usage .progress-bar { background: #4ade80; }
.bhr-usage.is-warn .progress-bar { background: #f2b33d; }
.bhr-usage.is-full .progress-bar { background: #e5372b; }

/* Tab halaman & laporan */
.bhr-tabs { display: inline-flex; gap: .25rem; padding: 4px; border-radius: .8rem; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .08); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.bhr-tabs a { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1rem; border-radius: .6rem; color: rgba(255, 255, 255, .7); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; flex-shrink: 0; }
.bhr-tabs a:hover { color: #fff; }
.bhr-tabs a.is-active { background: #f4f4f5; color: #1b1d26; }
.bhr-tabs::-webkit-scrollbar { display: none; }
@media (max-width: 575.98px) { .bhr-tabs a { padding: .45rem .75rem; font-size: .85rem; } }
.bhr-report-hero { background: linear-gradient(135deg, rgba(74, 222, 128, .18), rgba(96, 165, 250, .12)) !important; border: 1px solid rgba(255, 255, 255, .1) !important; }
.bhr-up { color: #4ade80; font-weight: 700; }
.bhr-down { color: #f87171; font-weight: 700; }
.text-success-emphasis { color: #4ade80 !important; }
@media print {
    .app-sidebar, .app-header, .bhr-trial, .d-print-none, .btn-scroll-to-top, .app-cover { display: none !important; }
    .app-content { margin: 0 !important; padding: 0 !important; }
    body, .app { background: #fff !important; }
    .card { break-inside: avoid; }
}
.bhr-q { font-weight: 700; font-size: .92rem; margin-bottom: .65rem; color: #fff; }
.bhr-first-box { border-radius: .8rem; padding: 1rem 1.1rem; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); }
.bhr-first-box .bhr-scheme { padding: .8rem .9rem; }
.bhr-first-box .bhr-scheme-icon { width: 38px; height: 38px; font-size: 1.3rem; }
.bhr-fee-box { border-radius: .8rem; padding: 1rem 1.1rem; background: rgba(96, 165, 250, .1); border: 1px solid rgba(96, 165, 250, .3); }

/* Preview WhatsApp di HP */
.bhr-phone { border-radius: 1.4rem; overflow: hidden; border: 6px solid #111318; background: #0b141a; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7); max-width: 340px; margin-left: auto; }
.bhr-phone-head { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; background: #202c33; color: #e9edef; }
.bhr-phone-head small { color: #8696a0; }
.bhr-phone-avatar { width: 34px; height: 34px; border-radius: 50%; background: #00a884; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.bhr-phone-body { min-height: 220px; max-height: 360px; overflow-y: auto; padding: .9rem .7rem; background-color: #0b141a;
    background-image: radial-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px); background-size: 14px 14px; }
.bhr-bubble { position: relative; max-width: 92%; padding: .45rem .6rem 1.1rem; border-radius: .55rem .55rem .55rem 0; background: #202c33; color: #e9edef; font-size: .82rem; line-height: 1.4; word-wrap: break-word; }
.bhr-bubble-time { position: absolute; right: .5rem; bottom: .2rem; font-size: .65rem; color: #8696a0; }
.bhr-var { color: #53bdeb; font-weight: 600; }
.bhr-var-bad { color: #f87171; text-decoration: wavy underline; }

/* Tombol sisip variabel WA (ramah orang awam) */
.bhr-varbox { border-radius: .7rem; padding: .8rem; background: rgba(0, 0, 0, .2); border: 1px dashed rgba(255, 255, 255, .15); }
.bhr-varchip { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .05rem; padding: .35rem .65rem; border-radius: .55rem; border: 1px solid rgba(83, 189, 235, .35); background: rgba(83, 189, 235, .1); color: #fff; font-size: .8rem; font-weight: 600; text-align: left; transition: all .15s; }
.bhr-varchip small { font-weight: 400; color: #53bdeb; font-size: .68rem; }
.bhr-varchip:hover { background: rgba(83, 189, 235, .25); border-color: #53bdeb; transform: translateY(-1px); }
.bhr-howto { display: grid; gap: .5rem; padding: .9rem 1rem; border-radius: .8rem; background: rgba(74, 222, 128, .08); border: 1px solid rgba(74, 222, 128, .25); font-size: .85rem; }
.bhr-howto span { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: #4ade80; color: #10241a; font-weight: 800; font-size: .7rem; align-items: center; justify-content: center; margin-right: .4rem; }
/* Kolom label dikunci lebarnya agar baris "+ Biaya" & "− Potongan" sejajar rapi. */
.bhr-adj-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 150px 34px; gap: .5rem; align-items: center; padding: .5rem; border-radius: .6rem; background: rgba(0, 0, 0, .2); border-left: 3px solid #60a5fa; }
.bhr-adj-row.is-cut { border-left-color: #4ade80; }
.bhr-adj-badge { font-size: .72rem; font-weight: 700; padding: .3rem .5rem; border-radius: .4rem; background: rgba(96, 165, 250, .2); color: #93c5fd; white-space: nowrap; text-align: center; width: 100%; }
.bhr-adj-row.is-cut .bhr-adj-badge { background: rgba(74, 222, 128, .2); color: #86efac; }
@media (max-width: 767.98px) { .bhr-adj-row { grid-template-columns: 1fr 110px auto; } .bhr-adj-badge { grid-column: 1 / -1; justify-self: start; } }
.bhr-adj-item { display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem; border-radius: .6rem; background: rgba(0, 0, 0, .2); border-left: 3px solid #60a5fa; }
.bhr-adj-item.is-cut { border-left-color: #4ade80; }
.bhr-adj-item.is-used { opacity: .55; }
.bhr-menu { min-width: 230px; padding: .4rem; }
.bhr-menu .dropdown-item { display: flex; align-items: center; gap: .55rem; border-radius: .45rem; padding: .45rem .65rem; font-size: .875rem; }
.bhr-menu .dropdown-item iconify-icon { font-size: 1.1rem; }
.bhr-menu form { margin: 0; }
.dropdown-menu { background-color: #262935; border-color: rgba(255, 255, 255, .1); }

/* Sorot bagian yang dituju di modal (mis. form Bayar) */
.bhr-flash { animation: bhr-flash 1.6s ease-out 1; }
@keyframes bhr-flash { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .75); } 100% { box-shadow: 0 0 0 14px rgba(61, 220, 132, 0); } }
#bhrAjaxModal .modal-content { background: #1d2028; }

/* Foto profil */
.bhr-avatar { overflow: hidden; }
.bhr-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.menu-profile-image.bhr-initials img.bhr-photo { object-fit: cover; padding: 0; background: transparent; }
.bhr-avatar-xl { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; flex: none; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; background: rgba(255, 255, 255, .14); box-shadow: 0 0 0 4px rgba(255, 255, 255, .08); }
.bhr-avatar-xl img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Detail pelanggan (modal) ===== */
.bhr-pd-hero { display: flex; align-items: center; gap: 16px; padding: 16px 18px; margin-bottom: 14px; border-radius: 16px;
    background: radial-gradient(120% 160% at 0% 0%, rgba(56, 189, 248, .28), transparent 60%), rgba(255, 255, 255, .05); border: 1px solid rgba(56, 189, 248, .25); }
.bhr-pd-avatar { width: 56px; height: 56px; border-radius: 16px; flex: none; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.25rem;
    background: linear-gradient(135deg, #38bdf8, #6366f1); color: #fff; box-shadow: 0 10px 24px -12px #38bdf8; }
.bhr-pd-name { font-size: 1.3rem; font-weight: 900; letter-spacing: -.3px; }
.bhr-pd-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.bhr-pd-meta span { display: inline-flex; align-items: center; gap: 4px; }
.bhr-pd-meta iconify-icon { opacity: .6; }
.bhr-pd-price { text-align: right; flex: none; }
.bhr-pd-card { border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); }
.bhr-pd-title { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 10px; }
.bhr-pd-title iconify-icon { font-size: 16px; color: #38bdf8; }
.bhr-pd-title small { text-transform: none; letter-spacing: 0; font-weight: 500; color: rgba(255, 255, 255, .4); margin-left: auto; }
.bhr-pd-kv { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; font-size: 13px; border-bottom: 1px dashed rgba(255, 255, 255, .07); }
.bhr-pd-kv:last-of-type { border-bottom: 0; }
.bhr-pd-kv span { color: rgba(255, 255, 255, .55); flex: none; }
.bhr-pd-kv b { text-align: right; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.bhr-pd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; }
.bhr-pd-grid > div { min-width: 0; }
.bhr-pd-grid span { display: block; font-size: 12px; color: rgba(255, 255, 255, .5); }
.bhr-pd-grid b { display: block; font-weight: 600; font-size: 13.5px; overflow-wrap: anywhere; }
.bhr-pd-docs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bhr-pd-doc { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    border: 1.5px dashed rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .55); text-decoration: none; font-size: 12px; text-align: center; padding: 6px; }
.bhr-pd-doc iconify-icon { font-size: 28px; opacity: .6; }
.bhr-pd-doc small { font-size: 11px; opacity: .6; }
.bhr-pd-doc.has-img { border: 0; padding: 0; }
.bhr-pd-doc.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.bhr-pd-doc.has-img:hover img { transform: scale(1.05); }
.bhr-pd-doc.has-img span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 6px; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
@media (max-width: 767.98px) {
    .bhr-pd-hero { flex-wrap: wrap; padding: 12px; gap: 12px; }
    .bhr-pd-avatar { width: 44px; height: 44px; border-radius: 12px; font-size: 1rem; }
    .bhr-pd-name { font-size: 1.1rem; }
    .bhr-pd-price { text-align: left; width: 100%; display: flex; align-items: center; gap: 10px; }
    .bhr-pd-price .small { display: none; }
    .bhr-pd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bhr-pd-card { padding: 12px; }
}

/* ===== Unggah dokumen (form pelanggan) ===== */
.bhr-docs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bhr-drop { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; cursor: pointer; min-height: 92px;
    border: 1.5px dashed rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .03); transition: border-color .15s, background .15s; }
.bhr-drop:hover, .bhr-drop.is-drag { border-color: #38bdf8; background: rgba(56, 189, 248, .08); }
.bhr-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.bhr-drop-thumb { width: 84px; height: 64px; border-radius: 10px; flex: none; overflow: hidden; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .25); font-size: 26px; color: #38bdf8; }
.bhr-drop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bhr-drop-text { min-width: 0; font-size: 12px; color: rgba(255, 255, 255, .55); }
.bhr-drop-text b { display: block; font-size: 13.5px; color: #fff; }
.bhr-drop-remove { position: relative; z-index: 2; font-size: 12px; }
.bhr-doc-cam { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; cursor: pointer;
    background: rgba(56, 189, 248, .12); color: #7dd3fc; }
.bhr-doc-cam:hover { background: rgba(56, 189, 248, .2); }
.bhr-doc-cam input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
@media (max-width: 575.98px) { .bhr-docs { grid-template-columns: 1fr; } .bhr-drop { min-height: 76px; } .bhr-drop-thumb { width: 64px; height: 50px; } }

/* ===== Template voucher ===== */
.bhr-tpl-panel { border-radius: 14px; padding: 14px 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); display: block; }
.bhr-tpl-swatch { display: inline-flex; align-items: center; gap: 6px; background: rgba(0, 0, 0, .25); border-radius: 999px; padding: 3px 10px 3px 4px; font-size: 12px; font-weight: 700; }
.bhr-tpl-swatch i { width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.bhr-tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.bhr-tpl { position: relative; border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); transition: transform .15s, border-color .15s; }
.bhr-tpl:hover { transform: translateY(-2px); border-color: rgba(56, 189, 248, .5); }
.bhr-tpl.is-active { border: 2px solid #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.bhr-tpl-flag { position: absolute; top: 8px; right: 8px; z-index: 2; background: #22c55e; color: #052e16; font-size: 10.5px; font-weight: 900; padding: 2px 8px; border-radius: 999px; }
.bhr-tpl-stage { background: #f1f5f9; padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: start; min-height: 112px; }
.bhr-tpl-stage iframe { width: 100%; height: 132px; border: 0; display: block; background: #fff; grid-column: 1 / -1; }
.bhr-tpl-foot { display: flex; align-items: center; gap: 6px; padding: 9px 10px; font-size: 13px; }
.bhr-tpl-foot > .min-w-0 { flex: 1; }
.bhr-tpl-foot form { margin: 0; }
.bhr-tpl-preview { width: 100%; height: 190px; border: 0; border-radius: 12px; background: #fff; display: block; }
.bhr-code { font-size: 12px; line-height: 1.5; background: rgba(0, 0, 0, .35) !important; color: #e2e8f0 !important; tab-size: 2; }
.bhr-params { display: flex; flex-wrap: wrap; gap: 5px; }
.bhr-params button { border: 1px solid rgba(56, 189, 248, .35); background: rgba(56, 189, 248, .1); color: #bae6fd; border-radius: 6px; font: 600 11.5px ui-monospace, Consolas, monospace; padding: 3px 7px; }
.bhr-params button:hover { background: rgba(56, 189, 248, .25); }
.bhr-chips { display: flex; gap: 5px; overflow-x: auto; max-width: 100%; padding-bottom: 2px; scrollbar-width: none; }
.bhr-chips button { flex: none; border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: rgba(255, 255, 255, .7); border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 600; }
.bhr-chips button.is-on { background: #fff; color: #0f172a; border-color: #fff; }
@media (max-width: 575.98px) { .bhr-tpl-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .bhr-tpl-stage { grid-template-columns: 1fr; padding: 8px; min-height: 0; } .bhr-tpl-stage .vc:nth-child(2) { display: none; } .bhr-tpl-foot { flex-wrap: wrap; padding: 7px; } .bhr-tpl-foot > .min-w-0 { flex-basis: 100%; } }

/* ===== Font ikon tema (FontAwesome) =====
   Folder webfonts bawaan Color Admin tidak ikut di repo → 404 di konsol & caret/ikon tabel kosong.
   @font-face yang sama dideklarasikan ulang di sini (dimuat setelah vendor.min.css → yang terakhir dipakai). */
@font-face { font-family: "Font Awesome 7 Free"; font-style: normal; font-weight: 900; font-display: block; src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/webfonts/fa-solid-900.woff2) format("woff2"); }
@font-face { font-family: "Font Awesome 7 Free"; font-style: normal; font-weight: 400; font-display: block; src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/webfonts/fa-regular-400.woff2) format("woff2"); }
@font-face { font-family: "Font Awesome 7 Brands"; font-style: normal; font-weight: 400; font-display: block; src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/webfonts/fa-brands-400.woff2) format("woff2"); }
@font-face { font-family: "Font Awesome 5 Free"; font-weight: 900; font-display: block; src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/webfonts/fa-solid-900.woff2) format("woff2"); }
@font-face { font-family: "Font Awesome 5 Free"; font-weight: 400; font-display: block; src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/webfonts/fa-regular-400.woff2) format("woff2"); }
@font-face { font-family: "Font Awesome 5 Brands"; font-weight: 400; font-display: block; src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/webfonts/fa-brands-400.woff2) format("woff2"); }
@font-face { font-family: "FontAwesome"; font-display: block; src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/webfonts/fa-solid-900.woff2) format("woff2"); }

/* ===== Sidebar mobile =====
   Tema transparan membuat sidebar tembus pandang di HP: konten (kartu ber-backdrop-filter) terlihat & menimpa menu.
   Di layar kecil sidebar dibuat solid, di atas semua konten, dengan latar gelap di belakangnya. */
@media (max-width: 767.98px) {
    .app-sidebar { background: linear-gradient(180deg, #0f1b33, #0b1222) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
        z-index: 1045 !important; box-shadow: 12px 0 40px rgba(0, 0, 0, .55); }
    .app-sidebar .app-sidebar-content { background: transparent; }
    .app-sidebar-mobile-backdrop { z-index: 1040 !important; }
    .app-sidebar-mobile-toggled .app-sidebar-mobile-backdrop { background: rgba(2, 6, 23, .62) !important; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
    .app-sidebar .menu .menu-header { padding-top: .9rem; }
}
.app-sidebar .menu .menu-header { font-size: 10.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255, 255, 255, .38); padding: 1rem 1.25rem .35rem; }
.app-sidebar-minified .app-sidebar .menu .menu-header { display: none; }

/* ===== Mobile: ringkas tapi lega (audit 2026-11-08) ===== */
@media (max-width: 575.98px) {
    .app-content { padding: 14px 12px 24px !important; }
    .page-header { font-size: 1.35rem !important; }
    .card-body.p-4 { padding: 1rem !important; }
    /* Kartu statistik (ikon + label + nilai) dua kolom: ikon diperkecil agar angka tidak meluber */
    .app-content .card-body.d-flex.gap-3:has(> .w-50px) { padding: .75rem; gap: .6rem !important; }
    .app-content .card-body > .w-50px.h-50px { width: 34px !important; height: 34px !important; border-radius: 10px !important; }
    .app-content .card-body > .w-50px.h-50px iconify-icon { font-size: 1.15rem !important; }
    .app-content .card-body.d-flex > .min-w-0 { flex: 1 1 0; overflow: hidden; }
    .app-content .card-body.d-flex > .min-w-0 .fs-5 { font-size: .95rem !important; }
    .stat-label { font-size: 10px; letter-spacing: .4px; }
    /* Tiket profil voucher */
    .bhr-ticket-stub { width: 84px; padding: 14px 6px; }
    .bhr-ticket::before, .bhr-ticket::after { left: 75px; }
    .bhr-ticket-body { padding: 14px 12px 12px 16px; }
    .bhr-ticket-big { font-size: 34px; }
    .bhr-ticket-price { font-size: 22px; margin: 4px 0 8px; }
    .bhr-ticket-body > .d-flex:first-child { flex-wrap: wrap; }
}

/* Template voucher: tombol kaki kartu seragam (32px) */
.bhr-tpl-foot { flex-wrap: wrap; row-gap: 8px; }
.bhr-tpl-foot > .min-w-0 { flex: 1 1 100%; }
.bhr-tpl-foot .btn-act, .bhr-tpl-foot .btn-tpl-use, .bhr-tpl-foot .badge { flex: none; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border-radius: 8px; font-size: 16px; }
.bhr-tpl-foot .btn-tpl-use, .bhr-tpl-foot .badge { width: auto; min-width: 72px; padding: 0 12px; font-size: 12.5px; font-weight: 700; margin-left: auto; }
.bhr-tpl-foot form.ms-auto { margin-left: auto !important; }

/* Toko voucher online (modal) */
.bhr-check { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; background: rgba(239, 68, 68, .08); margin-bottom: 6px; font-size: 13.5px; }
.bhr-check iconify-icon { font-size: 20px; color: #f87171; flex: none; margin-top: 1px; }
.bhr-check.is-ok { background: rgba(34, 197, 94, .09); }
.bhr-check.is-ok iconify-icon { color: #4ade80; }
.bhr-shop-qr { background: #fff; border-radius: 16px; padding: 16px; text-align: center; }
.bhr-shop-qr #shop-qr { display: inline-block; }
.bhr-shop-qr #shop-qr img, .bhr-shop-qr #shop-qr canvas { width: 200px; height: 200px; }
.bhr-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.bhr-method { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); cursor: pointer; font-size: 13px; }
.bhr-method input { margin-top: 3px; accent-color: #22c55e; }
.bhr-method b { display: block; font-weight: 700; }
.bhr-method small { display: block; color: rgba(255, 255, 255, .5); font-size: 11.5px; }
.bhr-method:has(input:checked) { border-color: rgba(34, 197, 94, .55); background: rgba(34, 197, 94, .1); }
/* Pesanan online */
.bhr-order { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.bhr-order.is-check { border-color: rgba(245, 158, 11, .55); background: rgba(245, 158, 11, .08); }
.bhr-order-main { min-width: 0; }
.bhr-order-amt { text-align: right; white-space: nowrap; }
.bhr-order-act { display: grid; gap: 6px; min-width: 140px; }
.bhr-order-act form { margin: 0; }
@media (max-width: 575.98px) { .bhr-order { grid-template-columns: 1fr auto; } .bhr-order-act { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; } }

/* ===== Arus kas ===== */
.bhr-cash-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.bhr-chip-radio { cursor: pointer; flex: none; }
.bhr-chip-radio input { position: absolute; opacity: 0; pointer-events: none; }
.bhr-chip-radio span { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .75); }
.bhr-chip-radio input:checked + span { background: #fff; color: #0f172a; border-color: #fff; }
.bhr-chip-radio input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.bhr-cash-sum { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 12px; }
.bhr-cash-card { --c: #4ade80; border-radius: 16px; padding: 16px 18px; background: linear-gradient(140deg, color-mix(in srgb, var(--c) 20%, transparent), rgba(255, 255, 255, .03) 60%); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.bhr-cash-card.is-out { --c: #f87171; }
.bhr-cash-card.is-net { --c: #38bdf8; }
.bhr-cash-card.is-net.is-loss { --c: #fb923c; }
.bhr-cash-k { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--c); }
.bhr-cash-v { font-size: 26px; font-weight: 900; letter-spacing: -.6px; margin: 4px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bhr-cash-card.is-net .bhr-cash-v { font-size: 30px; }
.bhr-cash-h { font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.bhr-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.bhr-cash-line { display: block; color: inherit; text-decoration: none; padding: 6px 8px; margin: 0 -8px 4px; border-radius: 10px; }
.bhr-cash-line:hover { background: rgba(255, 255, 255, .05); color: inherit; }
.bhr-cash-bar { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bhr-cash-bar span { display: block; height: 100%; border-radius: inherit; }
.bhr-tx { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 70px; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px; }
.bhr-tx:hover { background: rgba(255, 255, 255, .04); }
.bhr-tx-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.bhr-tx-main { min-width: 0; }
.bhr-tx-amt { font-weight: 800; white-space: nowrap; text-align: right; }
.bhr-tx-act { display: flex; gap: 4px; justify-content: flex-end; }
.bhr-tx-act form { margin: 0; }
.bhr-type-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: rgba(0, 0, 0, .3); padding: 4px; border-radius: 12px; }
.bhr-type-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.bhr-type-toggle span { display: block; text-align: center; padding: 9px; border-radius: 9px; font-weight: 800; cursor: pointer; color: rgba(255, 255, 255, .65); }
.bhr-type-toggle input:checked + .is-out { background: #ef4444; color: #fff; }
.bhr-type-toggle input:checked + .is-in { background: #22c55e; color: #052e16; }
.bhr-cat-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.bhr-cat-pick input { position: absolute; opacity: 0; pointer-events: none; }
.bhr-cat-pick span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); font-size: 13px; font-weight: 600; cursor: pointer; }
.bhr-cat-pick input:checked + span { background: rgba(255, 255, 255, .14); border-color: #fff; }
.bhr-cat-pick input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.bhr-cat-new { display: grid; grid-template-columns: 140px 1fr 130px auto; gap: 8px; }
.bhr-cat-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
@media (max-width: 767.98px) {
    .bhr-cash-sum { grid-template-columns: 1fr 1fr; }
    .bhr-cash-card.is-net { grid-column: 1 / -1; }
    .bhr-cash-v { font-size: 19px; } .bhr-cash-card.is-net .bhr-cash-v { font-size: 24px; }
    .bhr-cash-card { padding: 12px 14px; }
    .bhr-tx { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; padding: 8px 4px; }
    .bhr-tx-ico { width: 34px; height: 34px; }
    .bhr-tx-act { grid-column: 2 / -1; justify-content: flex-start; }
    .bhr-tx-act:empty { display: none; }
    .bhr-cat-new { grid-template-columns: 1fr 1fr; } .bhr-cat-new input[name=name] { grid-column: 1 / -1; order: -1; }
}
.bhr-cash-strip { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: inherit; text-decoration: none; }
.bhr-cash-strip:hover { background: rgba(255, 255, 255, .08); color: inherit; }
.bhr-cash-strip span { display: block; font-size: 12px; color: rgba(255, 255, 255, .55); }
.bhr-cash-strip b { font-size: 18px; font-weight: 900; }
.bhr-cash-strip-go { font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; color: #38bdf8; }
@media (max-width: 767.98px) { .bhr-cash-strip { grid-template-columns: 1fr 1fr; } .bhr-cash-strip b { font-size: 15px; } .bhr-cash-strip-go { grid-column: 1 / -1; } }

/* Form router: koneksi server utama & cadangan */
.bhr-conn { border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); padding: 14px; }
.bhr-conn-head { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.bhr-conn-head iconify-icon { font-size: 22px; color: #38bdf8; flex: none; margin-top: 1px; }
.bhr-conn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bhr-conn-node { border-radius: 12px; padding: 10px 12px 12px; background: rgba(0, 0, 0, .18); border: 1px dashed rgba(255, 255, 255, .12); }
.bhr-conn-node.is-main { border-style: solid; border-color: rgba(34, 197, 94, .35); }
.bhr-conn-tag { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 6px; }
.bhr-conn-node .form-label { font-size: 12.5px; color: rgba(255, 255, 255, .65); }
.bhr-conn-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: rgba(255, 255, 255, .6); margin-top: 10px; }
.bhr-conn-note iconify-icon { color: #22c55e; font-size: 16px; flex: none; margin-top: 1px; }
@media (max-width: 575.98px) { .bhr-conn-grid { grid-template-columns: 1fr; } }

/* ===== Utilities: log aktivitas & backup ===== */
.bhr-log-filter { display: grid; grid-template-columns: 2fr repeat(3, 1fr) 1.6fr auto; gap: 8px; align-items: center; }
.bhr-log-search { position: relative; }
.bhr-log-search iconify-icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); opacity: .5; }
.bhr-log-search input { padding-left: 34px; }
.bhr-log-dates { display: flex; align-items: center; gap: 4px; }
.bhr-log-dates span { opacity: .5; }
.bhr-log-day { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin: 16px 0 6px; }
.bhr-log-day:first-child { margin-top: 0; }
.bhr-log-list { display: flex; flex-direction: column; gap: 2px; position: relative; }
.bhr-log { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px; color: inherit; text-decoration: none; }
.bhr-log:hover { background: rgba(255, 255, 255, .05); color: inherit; }
.bhr-log-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); font-size: 17px; }
.bhr-log-main { display: flex; flex-direction: column; min-width: 0; }
.bhr-log-who { font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .65); }
.bhr-log-what { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bhr-log-meta { display: flex; gap: 8px; font-size: 11.5px; color: rgba(255, 255, 255, .45); flex-wrap: wrap; }
.bhr-log-mod { color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .07); border-radius: 5px; padding: 0 6px; }
.bhr-log-time { display: flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.bhr-log-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.bhr-log-avatar { width: 44px; height: 44px; border-radius: 13px; flex: none; display: grid; place-items: center; font-weight: 900; font-size: 18px; background: linear-gradient(135deg, #38bdf8, #6366f1); color: #fff; }
.bhr-log-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.bhr-log-facts span { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .5); }
.bhr-log-facts b { font-weight: 600; font-size: 13px; overflow-wrap: anywhere; }
.bhr-log-ua { grid-column: 1 / -1; }
.bhr-diff { border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; overflow: hidden; }
.bhr-diff-head, .bhr-diff-row { display: grid; grid-template-columns: minmax(120px, .8fr) repeat(auto-fit, minmax(0, 1.2fr)); gap: 10px; padding: 8px 12px; }
.bhr-diff-head { background: rgba(255, 255, 255, .06); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: rgba(255, 255, 255, .55); }
.bhr-diff-row { border-top: 1px solid rgba(255, 255, 255, .06); font-size: 13px; }
.bhr-diff-row > span { min-width: 0; overflow-wrap: anywhere; }
.bhr-diff-key { color: rgba(255, 255, 255, .65); font-weight: 600; }
.bhr-diff-row.is-changed .bhr-diff-old { color: #fca5a5; text-decoration: line-through; text-decoration-color: rgba(252, 165, 165, .5); }
.bhr-diff-row.is-changed .bhr-diff-new { color: #86efac; font-weight: 600; }
.bhr-diff-empty { font-style: italic; color: rgba(255, 255, 255, .35); text-decoration: none; }
.bhr-backup-hero { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; background: radial-gradient(120% 160% at 0% 0%, rgba(34, 197, 94, .25), transparent 60%), rgba(255, 255, 255, .05); border: 1px solid rgba(34, 197, 94, .3); }
.bhr-backup-ico { width: 52px; height: 52px; border-radius: 15px; flex: none; display: grid; place-items: center; font-size: 28px; background: rgba(34, 197, 94, .18); color: #4ade80; }
.bhr-backup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bhr-backup-item { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.bhr-backup-item > iconify-icon { font-size: 22px; color: #38bdf8; flex: none; }
.bhr-backup-n { font-weight: 800; font-size: 15px; }
.bhr-backup-warn { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(245, 158, 11, .12); border: 1px solid rgba(245, 158, 11, .3); font-size: 13px; }
.bhr-backup-warn iconify-icon { color: #f59e0b; font-size: 20px; flex: none; }
@media (max-width: 1199.98px) { .bhr-log-filter { grid-template-columns: 1fr 1fr; } .bhr-log-search, .bhr-log-dates { grid-column: 1 / -1; } }
@media (max-width: 575.98px) {
    .bhr-log-filter { grid-template-columns: 1fr; }
    .bhr-log { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; padding: 8px 4px; }
    .bhr-log-ico { width: 32px; height: 32px; }
    .bhr-log-what { white-space: normal; }
    .bhr-log-facts { grid-template-columns: 1fr 1fr; }
    .bhr-diff-head, .bhr-diff-row { grid-template-columns: 1fr 1fr; }
    .bhr-diff-key { grid-column: 1 / -1; }
    .bhr-backup-grid { grid-template-columns: 1fr; }
}
.bhr-log-facts .badge { display: inline-block; width: auto; }
.bhr-log-toggle { display: none; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: rgba(255, 255, 255, .1); color: #fff; border-radius: 8px; width: 32px; height: 30px; }
@media (max-width: 575.98px) {
    .bhr-log-toggle { display: grid; place-items: center; }
    .bhr-log-search input { padding-right: 44px; }
    .bhr-log-filter:not(.is-open) > :not(.bhr-log-search):not(:last-child) { display: none; }
    .bhr-log-filter:not(.is-open) > :last-child { display: none !important; }
    .bhr-log-filter.is-open .bhr-log-toggle { background: #38bdf8; color: #0b1220; }
}

/* ===== Peta: isian lokasi & pemilih ===== */
.bhr-loc-row { display: flex; gap: 6px; }
.bhr-loc-input { position: relative; flex: 1; min-width: 0; }
.bhr-loc-input iconify-icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); font-size: 18px; color: rgba(255, 255, 255, .45); pointer-events: none; }
.bhr-loc-input input { padding-left: 36px; font-variant-numeric: tabular-nums; }
.bhr-loc-input input.is-valid-loc + iconify-icon, .bhr-loc-input:has(input.is-valid-loc) iconify-icon { color: #22c55e; }
.bhr-loc-btn { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: 600; }
.bhr-loc-btn iconify-icon { font-size: 17px; }
.bhr-loc-preview { height: 150px; border-radius: 12px; overflow: hidden; margin-top: 8px; border: 1px solid rgba(255, 255, 255, .12); cursor: pointer; position: relative; z-index: 0; }
.bhr-loc-preview::after { content: "Klik untuk ubah titik"; position: absolute; right: 8px; bottom: 8px; z-index: 500; font-size: 11.5px; font-weight: 700; background: rgba(11, 18, 32, .8); color: #fff; padding: 3px 8px; border-radius: 6px; }
.bhr-pin-wrap { background: none; border: 0; }
.bhr-pin { display: block; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c); border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .45); }
.bhr-mappick { position: fixed; inset: 0; z-index: 2000; background: rgba(2, 6, 23, .7); display: none; align-items: center; justify-content: center; padding: 16px; }
.bhr-mappick.is-open { display: flex; }
.bhr-mappick-box { width: min(920px, 100%); height: min(680px, 100%); display: flex; flex-direction: column; background: #151b29; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); position: relative; }
.bhr-mappick-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; color: #fff; }
.bhr-mappick-search { position: relative; display: flex; gap: 6px; padding: 0 16px 10px; }
.bhr-mappick-search iconify-icon { position: absolute; left: 28px; top: 50%; transform: translateY(-65%); opacity: .5; color: #fff; }
.bhr-mappick-search input { flex: 1; padding: 8px 12px 8px 36px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(0, 0, 0, .3); color: #fff; }
.bhr-mappick-results { position: absolute; left: 16px; right: 16px; top: 102px; z-index: 1000; max-height: 240px; overflow: auto; background: #0f1524; border: 1px solid rgba(255, 255, 255, .15); border-radius: 12px; padding: 6px; color: rgba(255, 255, 255, .8); font-size: 13px; }
.bhr-mappick-results button { display: block; width: 100%; text-align: left; background: none; border: 0; color: #fff; padding: 8px 10px; border-radius: 8px; font-size: 13px; }
.bhr-mappick-results button:hover { background: rgba(255, 255, 255, .08); }
.bhr-mappick-map { flex: 1; min-height: 0; }
.bhr-mappick-foot { display: flex; gap: 8px; align-items: center; padding: 12px 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
.bhr-mappick-ll { flex: 1; min-width: 0; font: 600 13.5px ui-monospace, Consolas, monospace; color: rgba(255, 255, 255, .8); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 575.98px) {
    .bhr-loc-row { flex-wrap: wrap; } .bhr-loc-input { flex-basis: 100%; } .bhr-loc-btn { flex: 1; justify-content: center; }
    .bhr-mappick { padding: 0; } .bhr-mappick-box { height: 100%; border-radius: 0; }
    .bhr-mappick-foot { flex-wrap: wrap; } .bhr-mappick-ll { flex-basis: 100%; } .bhr-mappick-foot .btn { flex: 1; }
}

/* ===== Peta Jaringan ===== */
.bhr-map-progress { min-width: 240px; }
.bhr-map-shell { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 12px; height: calc(100vh - 190px); min-height: 520px; }
.bhr-map-side { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); border-radius: 16px; padding: 14px; overflow-y: auto; position: relative; }
.bhr-map-main { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .09); background: #0f1524; }
.bhr-map { position: absolute; inset: 0; }
.bhr-map-search { position: relative; }
.bhr-map-search iconify-icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); opacity: .5; }
.bhr-map-search input { width: 100%; padding: 9px 12px 9px 34px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .25); color: #fff; }
.bhr-map-results { margin-top: 6px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; padding: 4px; }
.bhr-map-results button { display: flex; gap: 8px; align-items: center; width: 100%; text-align: left; background: none; border: 0; color: #fff; padding: 7px 8px; border-radius: 8px; }
.bhr-map-results button:hover { background: rgba(255, 255, 255, .08); }
.bhr-map-results i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.bhr-map-results small { display: block; color: rgba(255, 255, 255, .5); font-size: 11.5px; }
.bhr-map-label { font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin: 14px 0 6px; }
.bhr-map-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.bhr-map-chips button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: rgba(255, 255, 255, .8); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; font-weight: 600; }
.bhr-map-chips button b { font-size: 11px; background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 0 6px; }
.bhr-map-chips button.is-on { background: #fff; color: #0f172a; border-color: #fff; }
.bhr-map-chips button.is-on b { background: rgba(15, 23, 42, .1); }
.bhr-map-chips i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.bhr-map-chips i.is-online, .bhr-lg-ring { background: transparent; border: 2px solid #38bdf8; box-shadow: 0 0 0 2px rgba(56, 189, 248, .25); }
.bhr-map-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .75); }
.bhr-map-legend span { display: flex; align-items: center; gap: 7px; }
.bhr-lg-pin { width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c); border: 2px solid #fff; display: inline-block; }
.bhr-lg-ring { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.bhr-lg-router { width: 18px; height: 18px; border-radius: 5px; background: #2563eb; color: #fff; display: inline-grid; place-items: center; font-size: 12px; }
.bhr-map-unmapped { display: flex; flex-direction: column; gap: 2px; }
.bhr-map-unmapped a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 9px; color: inherit; text-decoration: none; font-size: 13px; }
.bhr-map-unmapped a:hover { background: rgba(255, 255, 255, .06); color: inherit; }
.bhr-map-unmapped small { color: rgba(255, 255, 255, .45); }
.bhr-map-unmapped iconify-icon { color: #38bdf8; font-size: 18px; flex: none; }
.bhr-map-loading, .bhr-map-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: rgba(255, 255, 255, .7); text-align: center; padding: 20px; z-index: 600; pointer-events: none; }
.bhr-map-empty { background: rgba(15, 21, 36, .6); }
.bhr-map-empty iconify-icon { font-size: 40px; color: #38bdf8; }
.bhr-map-sidebtn { display: none; position: absolute; top: 10px; left: 10px; z-index: 700; border: 0; border-radius: 10px; padding: 8px 12px; background: #0f172a; color: #fff; font-weight: 700; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
.bhr-pin.is-online { box-shadow: 0 0 0 3px rgba(56, 189, 248, .9), 0 0 0 7px rgba(56, 189, 248, .25), 0 4px 10px rgba(0, 0, 0, .45); }
.bhr-router-pin { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #2563eb; color: #fff; font-size: 20px; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .45); }
.bhr-router-pin.is-off { background: #64748b; }
.bhr-cluster-wrap { background: none; border: 0; }
.bhr-cluster { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 13px; color: #052e16; background: #4ade80; box-shadow: 0 0 0 5px rgba(74, 222, 128, .3), 0 6px 14px rgba(0, 0, 0, .4); }
.leaflet-popup-content-wrapper { background: #151b29; color: #fff; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); }
.leaflet-popup-tip { background: #151b29; }
.leaflet-container a.leaflet-popup-close-button { color: rgba(255, 255, 255, .6); }
.bhr-pop { min-width: 220px; font-family: inherit; }
.bhr-pop-t { font-weight: 800; font-size: 15px; }
.bhr-pop-s { font-size: 12px; color: rgba(255, 255, 255, .55); margin-bottom: 8px; }
.bhr-pop-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 3px 0; border-top: 1px dashed rgba(255, 255, 255, .1); }
.bhr-pop-row span { color: rgba(255, 255, 255, .55); }
.bhr-pop-ad { font-size: 12px; color: rgba(255, 255, 255, .7); margin-top: 6px; }
.bhr-pop-act { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.bhr-pop-act .btn { flex: 1; color: #fff; }
.bhr-pop-act .btn-mono, .bhr-pop-act .btn-success { color: #0b1220; }
@media (max-width: 991.98px) {
    .bhr-map-shell { grid-template-columns: 1fr; height: calc(100vh - 210px); min-height: 460px; }
    .bhr-map-side { position: absolute; z-index: 800; inset: 0 auto 0 0; width: min(320px, 88%); transform: translateX(-105%); transition: transform .2s; background: #151b29; border-radius: 0 16px 16px 0; box-shadow: 12px 0 30px rgba(0, 0, 0, .5); }
    .bhr-map-shell { position: relative; }
    .bhr-map-side.is-open { transform: none; }
    .bhr-map-sidebtn { display: inline-flex; align-items: center; gap: 6px; }
    .bhr-map-progress { min-width: 0; }
}

/* ============ Infrastruktur ODC & ODP ============ */
.bhr-code { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-weight: 700; font-size: .78rem; letter-spacing: .02em; padding: .18rem .5rem; border-radius: .4rem; background: rgba(95, 167, 173, .18); color: #9fe3e8; border: 1px solid rgba(95, 167, 173, .35); white-space: nowrap; }
.bhr-infra-stats { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 12px; }
.bhr-infra-stat { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bhr-infra-stat > span { font-size: .7rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; color: rgba(255, 255, 255, .55); }
.bhr-infra-stat > b { font-size: 1.7rem; line-height: 1.1; font-weight: 800; }
.bhr-infra-stat > b em { font-style: normal; font-size: .95rem; font-weight: 600; color: rgba(255, 255, 255, .5); margin-left: 4px; }
.bhr-infra-stat > small { color: rgba(255, 255, 255, .5); font-size: .75rem; }
.bhr-infra-stat .bhr-meter { margin: 6px 0 2px; }
.bhr-meter { height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.bhr-meter > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2dd4bf, #22c55e); transition: width .4s; }
.bhr-meter.is-warm > i { background: linear-gradient(90deg, #facc15, #f59e0b); }
.bhr-meter.is-hot > i { background: linear-gradient(90deg, #fb923c, #ef4444); }
.bhr-infra-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bhr-seg { display: inline-flex; padding: 3px; border-radius: 11px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .08); }
.bhr-seg button { border: 0; background: transparent; color: rgba(255, 255, 255, .65); font-weight: 700; font-size: .85rem; padding: .42rem .95rem; border-radius: 8px; display: inline-flex; gap: .45rem; align-items: center; }
.bhr-seg button span { font-size: .7rem; padding: .05rem .45rem; border-radius: 99px; background: rgba(255, 255, 255, .1); }
.bhr-seg button.active { background: #fff; color: #10151c; }
.bhr-seg button.active span { background: #10151c; color: #fff; }
.bhr-infra-search { position: relative; flex: 1 1 220px; max-width: 380px; }
.bhr-infra-search iconify-icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); opacity: .55; }
.bhr-infra-search input { padding-left: 34px; }
.bhr-infra-filter { width: auto; min-width: 150px; }
.bhr-odc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.bhr-odc { position: relative; background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 8px; }
.bhr-odc.is-off { opacity: .6; }
.bhr-odc header { display: flex; align-items: center; gap: 6px; }
.bhr-odc h3 { font-size: .98rem; font-weight: 700; margin: 0; line-height: 1.3; }
.bhr-odc p { margin: 0; font-size: .78rem; color: rgba(255, 255, 255, .55); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bhr-odc-nums { display: flex; gap: 18px; margin-top: 2px; }
.bhr-odc-nums b { font-size: 1.15rem; font-weight: 800; display: block; line-height: 1.1; }
.bhr-odc-nums b em { font-style: normal; font-size: .8rem; color: rgba(255, 255, 255, .45); font-weight: 600; }
.bhr-odc-nums span { font-size: .7rem; color: rgba(255, 255, 255, .5); }
.bhr-odc footer { display: flex; align-items: center; gap: 12px; border-top: 1px dashed rgba(255, 255, 255, .1); padding-top: 8px; margin-top: 2px; font-size: .78rem; }
.bhr-odc footer a, .bhr-odc footer button { color: rgba(255, 255, 255, .8); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0; font-weight: 600; }
.bhr-odc footer a:hover, .bhr-odc footer button:hover { color: #9fe3e8; }
.bhr-odp-list { display: flex; flex-direction: column; gap: 8px; }
.bhr-odp { display: grid; grid-template-columns: minmax(0, 1fr) 210px auto; gap: 14px; align-items: center; padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); }
.bhr-odp:hover { background: rgba(255, 255, 255, .08); }
.bhr-odp.is-off { opacity: .6; }
.bhr-odp-ports { display: flex; flex-direction: column; gap: 5px; }
.bhr-odp-ports small { font-size: .72rem; color: rgba(255, 255, 255, .55); }
.bhr-odp-ports small b { color: #fff; }
.bhr-odp-act { display: flex; gap: 4px; align-items: center; }
.bhr-portdots { display: grid; grid-template-columns: repeat(var(--n), 12px); gap: 4px; }
.bhr-portdots i { width: 12px; height: 12px; border-radius: 3px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.bhr-portdots i.on { background: #22c55e; box-shadow: 0 0 6px rgba(34, 197, 94, .5); }
.bhr-port-pick { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.bhr-port-pick button { min-width: 44px; padding: .4rem .6rem; border-radius: 9px; font-weight: 700; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .05); color: #fff; }
.bhr-port-pick button.active { background: #fff; color: #10151c; border-color: #fff; }
.bhr-port-pick input { width: 90px; }
.bhr-empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 38px 16px; color: rgba(255, 255, 255, .6); }
.bhr-empty-state iconify-icon { font-size: 2.6rem; opacity: .6; margin-bottom: 4px; }
.bhr-empty-state b { color: #fff; font-size: 1rem; }
.bhr-empty-state span { font-size: .85rem; max-width: 380px; }
@media (max-width: 767.98px) {
    .bhr-infra-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
    .bhr-infra-stat-wide { grid-column: 1 / -1; }
    .bhr-infra-stat { padding: 11px 13px; }
    .bhr-infra-stat > b { font-size: 1.4rem; }
    .bhr-infra-search { max-width: none; flex-basis: 100%; order: 3; }
    .bhr-infra-filter { flex: 1 1 0; min-width: 0; order: 4; }
    .bhr-odp { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; }
    .bhr-odp-ports { grid-column: 1 / -1; grid-row: 2; flex-direction: row; align-items: center; justify-content: space-between; }
    .bhr-portdots { grid-template-columns: repeat(var(--n), 10px); gap: 3px; }
    .bhr-portdots i { width: 10px; height: 10px; }
}
.bhr-odp-field { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px dashed rgba(255, 255, 255, .14); }
.bhr-portgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 6px; margin-top: 10px; }
.bhr-portgrid button { height: 34px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: #fff; font-weight: 700; font-size: .8rem; font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; }
.bhr-portgrid button:hover:not(:disabled) { border-color: #2dd4bf; }
.bhr-portgrid button.is-used { background: rgba(34, 197, 94, .2); border-color: rgba(34, 197, 94, .45); color: rgba(255, 255, 255, .55); cursor: not-allowed; }
.bhr-portgrid button.is-pick { background: #2dd4bf; border-color: #2dd4bf; color: #062a2d; box-shadow: 0 0 0 3px rgba(45, 212, 191, .25); }

/* ============ e-Form PSB (admin) ============ */
.bhr-psb-share { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(120deg, rgba(15, 98, 106, .55), rgba(15, 98, 106, .18) 60%, rgba(255, 255, 255, .04)); border: 1px solid rgba(95, 167, 173, .35); }
.bhr-psb-share-ico { width: 46px; height: 46px; border-radius: 13px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; font-size: 1.6rem; flex: none; }
.bhr-psb-link { display: block; font-size: .85rem; color: #9fe3e8; margin: 2px 0; overflow-wrap: anywhere; background: none; padding: 0; }
.bhr-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.bhr-pills a { display: inline-flex; align-items: center; gap: 6px; padding: .4rem .8rem; border-radius: 99px; font-size: .82rem; font-weight: 700; color: rgba(255, 255, 255, .7); text-decoration: none; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.bhr-pills a span { font-size: .7rem; padding: 0 .4rem; border-radius: 99px; background: rgba(255, 255, 255, .12); }
.bhr-pills a.active { background: #fff; color: #10151c; }
.bhr-pills a.active span { background: #10151c; color: #fff; }
.bhr-pills a.is-alert span { background: #f59e0b; color: #1f1300; }
.bhr-psb-row { display: flex; gap: 14px; align-items: center; padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.bhr-psb-row:last-of-type { border-bottom: 0; }
.bhr-psb-av { width: 44px; height: 44px; border-radius: 13px; flex: none; display: grid; place-items: center; font-weight: 900; font-size: .95rem; background: rgba(255, 255, 255, .1); }
.bhr-psb-av.is-baru { background: #f59e0b; color: #1f1300; box-shadow: 0 0 0 4px rgba(245, 158, 11, .2); }
.bhr-psb-av.is-disetujui { background: #0ea5e9; color: #fff; }
.bhr-psb-av.is-selesai { background: #22c55e; color: #052e14; }
.bhr-psb-main { flex: 1; min-width: 0; }
.bhr-psb-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: .75rem; color: rgba(255, 255, 255, .55); margin-top: 3px; }
.bhr-psb-meta span { display: inline-flex; align-items: center; gap: 4px; }
.bhr-psb-act { display: flex; gap: 6px; align-items: center; flex: none; }
.bhr-doc-thumb { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); text-decoration: none; color: #fff; }
.bhr-doc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bhr-doc-thumb span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 6px; font-size: .7rem; font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.bhr-doc-thumb.is-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; color: rgba(255, 255, 255, .45); font-size: 1.6rem; }
.bhr-doc-thumb.is-empty span { position: static; background: none; padding: 0; font-weight: 600; }
.bhr-callout { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(14, 165, 233, .12); border: 1px solid rgba(14, 165, 233, .3); font-size: .85rem; }
.bhr-callout iconify-icon { font-size: 1.3rem; color: #38bdf8; flex: none; }
.bhr-prio { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bhr-prio input { position: absolute; opacity: 0; pointer-events: none; }
.bhr-prio span { display: flex; flex-direction: column; align-items: center; padding: .5rem .25rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); font-weight: 700; font-size: .82rem; cursor: pointer; text-align: center; }
.bhr-prio span small { font-weight: 500; font-size: .68rem; opacity: .6; }
.bhr-prio input:checked + span { background: #fff; color: #10151c; border-color: #fff; }
.bhr-prio input:checked + span.is-danger { background: #ef4444; color: #fff; border-color: #ef4444; }
.bhr-prio input:checked + span.is-warning { background: #f59e0b; color: #1f1300; border-color: #f59e0b; }
.bhr-prio input:checked + span.is-info { background: #0ea5e9; color: #fff; border-color: #0ea5e9; }
@media (max-width: 767.98px) {
    .bhr-psb-share { flex-wrap: wrap; padding: 12px; }
    .bhr-psb-row { flex-wrap: wrap; gap: 10px; }
    .bhr-psb-act { width: 100%; padding-left: 58px; }
    .bhr-prio { grid-template-columns: repeat(2, 1fr); }
}

/* ============ Lonceng notifikasi & badge menu ============ */
.bhr-bell { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; font-size: 1.35rem; color: #fff; transition: background .15s; }
.bhr-notif .menu-link:hover .bhr-bell { background: rgba(255, 255, 255, .1); }
.bhr-bell.has iconify-icon { animation: bhr-ring 2.6s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes bhr-ring { 0%, 86%, 100% { transform: rotate(0); } 88% { transform: rotate(14deg); } 91% { transform: rotate(-12deg); } 94% { transform: rotate(8deg); } 97% { transform: rotate(-4deg); } }
.bhr-bell-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #ef4444; color: #fff; font-size: .65rem; font-weight: 800; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #1d2633; }
.bhr-notif-menu { width: 360px; max-width: calc(100vw - 20px); padding: 0; overflow: hidden; border-radius: 14px; }
.bhr-notif-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.bhr-notif-head span { font-size: .72rem; font-weight: 800; padding: .1rem .5rem; border-radius: 99px; background: #ef4444; color: #fff; }
.bhr-notif-list { max-height: 380px; overflow-y: auto; }
.bhr-notif-item { display: flex; gap: 11px; padding: 11px 14px; text-decoration: none; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.bhr-notif-item:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.bhr-notif-item b { font-size: .84rem; font-weight: 700; }
.bhr-notif-item small { font-size: .74rem; color: rgba(255, 255, 255, .55); }
.bhr-notif-item .bhr-notif-time { font-size: .68rem; color: rgba(255, 255, 255, .4); margin-top: 2px; }
.bhr-notif-ico { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; font-size: 1.1rem; background: rgba(255, 255, 255, .1); }
.bhr-notif-ico.is-warning { background: rgba(245, 158, 11, .2); color: #fbbf24; }
.bhr-notif-ico.is-danger { background: rgba(239, 68, 68, .2); color: #f87171; }
.bhr-notif-ico.is-info { background: rgba(14, 165, 233, .2); color: #38bdf8; }
.bhr-notif-empty { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 28px 16px; text-align: center; color: rgba(255, 255, 255, .55); font-size: .8rem; }
.bhr-notif-empty iconify-icon { font-size: 2rem; opacity: .6; margin-bottom: 4px; }
.bhr-notif-empty b { color: #fff; }
.bhr-notif-foot { display: flex; justify-content: space-between; padding: 9px 14px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8rem; }
.bhr-notif-foot a { color: #9fe3e8; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.bhr-notif-foot a span { font-size: .68rem; padding: 0 .4rem; border-radius: 99px; background: #f59e0b; color: #1f1300; }
.app-sidebar .menu .menu-item .menu-link .menu-badge.bhr-menu-count { background: #ef4444; color: #fff; font-weight: 800; border-radius: 99px; min-width: 20px; text-align: center; font-size: .68rem; padding: 2px 6px; }
.app-sidebar .menu .menu-item .menu-link .menu-badge.bhr-menu-soon { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .6); font-size: .62rem; text-transform: uppercase; letter-spacing: .05em; border-radius: 6px; padding: 2px 6px; }

/* ============ Halaman "segera hadir" ============ */
.bhr-soon { max-width: 980px; margin: 8px auto 0; }
.bhr-soon-hero { position: relative; text-align: center; padding: 34px 20px 26px; border-radius: 22px; overflow: hidden;
    background: radial-gradient(120% 90% at 50% 0%, rgba(45, 212, 191, .22), transparent 60%), rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.bhr-soon-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
    background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 28px 28px;
    mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent); }
.bhr-soon-ico { position: relative; width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 22px; display: grid; place-items: center; font-size: 2.3rem;
    background: linear-gradient(145deg, #2dd4bf, #0f626a); box-shadow: 0 12px 36px rgba(45, 212, 191, .35); }
.bhr-soon-tag { position: relative; display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .75rem; border-radius: 99px; background: rgba(245, 158, 11, .16); color: #fbbf24; border: 1px solid rgba(245, 158, 11, .35); }
.bhr-soon-tag i { width: 7px; height: 7px; border-radius: 50%; background: #fbbf24; animation: bhr-pulse 1.6s infinite; }
@keyframes bhr-pulse { 0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, .6); } 100% { box-shadow: 0 0 0 9px rgba(251, 191, 36, 0); } }
.bhr-soon-hero h1 { position: relative; font-size: 2rem; font-weight: 900; letter-spacing: -.5px; margin: 12px 0 6px; }
.bhr-soon-hero p { position: relative; max-width: 560px; margin: 0 auto; color: rgba(255, 255, 255, .7); }
.bhr-soon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.bhr-soon-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.bhr-soon-card iconify-icon { font-size: 1.5rem; color: #5eead4; margin-bottom: 4px; }
.bhr-soon-card b { font-size: .95rem; }
.bhr-soon-card span { font-size: .82rem; color: rgba(255, 255, 255, .6); }
.bhr-soon-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: .82rem; color: rgba(255, 255, 255, .65); }
.bhr-soon-foot span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 767.98px) { .bhr-soon-grid { grid-template-columns: 1fr; } .bhr-soon-hero h1 { font-size: 1.6rem; } .bhr-soon-hero { padding: 26px 16px 20px; } }

/* ============ Tiket ============ */
.bhr-tk-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.bhr-tk-stat { position: relative; display: flex; flex-direction: column; gap: 0; padding: 12px 14px; border-radius: 14px; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; transition: transform .12s, background .15s; }
.bhr-tk-stat:hover { color: #fff; background: rgba(255, 255, 255, .1); transform: translateY(-1px); }
.bhr-tk-stat iconify-icon { position: absolute; right: 10px; top: 10px; font-size: 1.5rem; opacity: .35; }
.bhr-tk-stat b { font-size: 1.6rem; font-weight: 900; line-height: 1.1; }
.bhr-tk-stat span { font-size: .74rem; color: rgba(255, 255, 255, .6); font-weight: 600; }
.bhr-tk-stat::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--tk, rgba(255, 255, 255, .2)); }
.bhr-tk-stat.is-open { --tk: #f59e0b; }
.bhr-tk-stat.is-progress { --tk: #0ea5e9; }
.bhr-tk-stat.is-mine { --tk: #a78bfa; }
.bhr-tk-stat.is-overdue { --tk: #ef4444; }
.bhr-tk-stat.is-closed_today { --tk: #22c55e; }
.bhr-tk-stat.is-overdue b { color: #fca5a5; }
.bhr-tk-stat.active { background: rgba(255, 255, 255, .14); border-color: var(--tk); }
.bhr-tk-list { display: flex; flex-direction: column; gap: 8px; }
.bhr-tk { position: relative; display: flex; gap: 13px; align-items: center; padding: 12px 14px 12px 17px; border-radius: 13px; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); overflow: hidden; transition: background .15s; }
.bhr-tk:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.bhr-tk::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--pr, #64748b); }
.bhr-tk.is-kritis, .bhr-tk-detail.is-kritis { --pr: #ef4444; }
.bhr-tk.is-tinggi, .bhr-tk-detail.is-tinggi { --pr: #f59e0b; }
.bhr-tk.is-normal, .bhr-tk-detail.is-normal { --pr: #0ea5e9; }
.bhr-tk.is-rendah, .bhr-tk-detail.is-rendah { --pr: #64748b; }
.bhr-tk.is-closed { opacity: .62; }
.bhr-tk-type { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; font-size: 1.25rem; background: color-mix(in srgb, var(--pr, #64748b) 22%, transparent); color: var(--pr, #fff); }
.bhr-tk-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bhr-tk-title { font-size: .93rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bhr-tk-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: .74rem; color: rgba(255, 255, 255, .55); }
.bhr-tk-meta span { display: inline-flex; align-items: center; gap: 4px; }
.bhr-tk-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.bhr-tk-sla { font-size: .72rem; font-weight: 800; padding: .15rem .5rem; border-radius: 6px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .75); white-space: nowrap; }
.bhr-tk-sla.is-soon { background: rgba(245, 158, 11, .2); color: #fbbf24; }
.bhr-tk-sla.is-late { background: rgba(239, 68, 68, .22); color: #fca5a5; }
.bhr-tk-sla.is-done { background: rgba(34, 197, 94, .16); color: #86efac; }
.bhr-tk-who { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.bhr-tk-who i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .62rem; font-weight: 900; background: #a78bfa; color: #1e1239; }
.bhr-tk-who.is-none { color: rgba(255, 255, 255, .45); }
.bhr-tk-who.is-none i { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .5); border: 1px dashed rgba(255, 255, 255, .3); }
.bhr-tk-prio { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: .12rem .45rem; border-radius: 5px; border: 1px solid currentColor; }
.bhr-tk-prio.is-danger { color: #f87171; }
.bhr-tk-prio.is-warning { color: #fbbf24; }
.bhr-tk-prio.is-info { color: #38bdf8; }
.bhr-tk-prio.is-secondary { color: #94a3b8; }
.bhr-tk-head { display: flex; gap: 13px; align-items: flex-start; }
.bhr-tk-head .bhr-tk-type { width: 48px; height: 48px; font-size: 1.5rem; }
.bhr-tk-resolution { display: flex; gap: 10px; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .3); font-size: .85rem; }
.bhr-tk-resolution iconify-icon { color: #4ade80; font-size: 1.3rem; flex: none; }
.bhr-tk-resolution b { display: block; }
.bhr-tl { list-style: none; margin: 0; padding: 0; }
.bhr-tl li { position: relative; display: flex; gap: 10px; padding-bottom: 12px; font-size: .84rem; }
.bhr-tl li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: rgba(255, 255, 255, .08); }
.bhr-tl li:last-child::before { display: none; }
.bhr-tl small { color: rgba(255, 255, 255, .45); }
.bhr-tl-dot { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .95rem; background: rgba(255, 255, 255, .08); position: relative; z-index: 1; }
.bhr-tl li.is-info .bhr-tl-dot { background: rgba(14, 165, 233, .2); color: #38bdf8; }
.bhr-tl li.is-warning .bhr-tl-dot { background: rgba(167, 139, 250, .2); color: #c4b5fd; }
.bhr-tl li.is-success .bhr-tl-dot { background: rgba(34, 197, 94, .2); color: #4ade80; }
.bhr-seg-block { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
.bhr-seg-block label { margin: 0; }
.bhr-seg-block input { position: absolute; opacity: 0; pointer-events: none; }
.bhr-seg-block span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: .5rem; border-radius: 8px; font-weight: 700; font-size: .85rem; color: rgba(255, 255, 255, .65); cursor: pointer; text-align: center; }
.bhr-seg-block input:checked + span { background: #fff; color: #10151c; }
.bhr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bhr-chips input { position: absolute; opacity: 0; pointer-events: none; }
.bhr-chips span { display: inline-block; padding: .35rem .7rem; border-radius: 99px; font-size: .8rem; font-weight: 600; border: 1px solid rgba(255, 255, 255, .16); cursor: pointer; }
.bhr-chips input:checked + span { background: #f59e0b; border-color: #f59e0b; color: #1f1300; font-weight: 800; }
.bhr-tk-pick { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 12px; background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .3); }
.bhr-tk-pick .bhr-psb-av { width: 36px; height: 36px; border-radius: 10px; font-size: .8rem; }
.bhr-tk-results { position: absolute; left: 0; right: 0; z-index: 20; margin-top: 4px; border-radius: 12px; overflow: hidden; background: #1d2633; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.bhr-tk-results button { display: block; width: 100%; text-align: left; border: 0; background: transparent; color: #fff; padding: 9px 12px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.bhr-tk-results button:hover { background: rgba(255, 255, 255, .07); }
.bhr-tk-results small { display: block; font-size: .72rem; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 991.98px) { .bhr-tk-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
    .bhr-tk-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .bhr-tk-stats .bhr-tk-stat:last-child { grid-column: 1 / -1; }
    .bhr-tk { flex-wrap: wrap; gap: 8px 11px; }
    .bhr-tk-side { width: 100%; flex-direction: row; justify-content: space-between; padding-left: 51px; }
    .bhr-tk-title { white-space: normal; }
}

/* ============ Tiket: papan (board) ============ */
.bhr-tk-summary { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 4px; font-size: .82rem; color: rgba(255, 255, 255, .55); }
.bhr-tk-summary a, .bhr-tk-summary span { color: inherit; text-decoration: none; }
.bhr-tk-summary b { color: #fff; font-weight: 800; margin-right: 3px; }
.bhr-tk-summary a:hover b, .bhr-tk-summary a.on b { color: #5eead4; }
.bhr-tk-summary a.on { color: #fff; }
.bhr-tk-summary .is-late b { color: #f87171; }
.bhr-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.bhr-board-col { border-radius: 18px; background: rgba(8, 12, 18, .35); border: 1px solid rgba(255, 255, 255, .07); padding: 10px; min-height: 220px; }
.bhr-board-col > header { display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px; }
.bhr-board-col > header iconify-icon { font-size: 1.25rem; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); }
.bhr-board-col.is-open > header iconify-icon { color: #fbbf24; }
.bhr-board-col.is-progress > header iconify-icon { color: #38bdf8; }
.bhr-board-col.is-closed > header iconify-icon { color: #4ade80; }
.bhr-board-col > header b { display: block; font-size: .95rem; line-height: 1.1; }
.bhr-board-col > header small { font-size: .72rem; color: rgba(255, 255, 255, .45); }
.bhr-board-n { margin-left: auto; min-width: 28px; text-align: center; font-size: .78rem; font-weight: 800; padding: .15rem .5rem; border-radius: 99px; background: rgba(255, 255, 255, .09); }
.bhr-board-list { display: flex; flex-direction: column; gap: 10px; }
.bhr-board-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 10px; font-size: .8rem; color: rgba(255, 255, 255, .4); text-align: center; border: 1px dashed rgba(255, 255, 255, .1); border-radius: 14px; }
.bhr-board-empty iconify-icon { font-size: 1.6rem; opacity: .7; }
.bhr-tcard { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px 13px 11px; border-radius: 14px; text-decoration: none; color: #fff;
    background: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 6px 18px rgba(0, 0, 0, .18); transition: transform .14s, border-color .14s, box-shadow .14s; }
.bhr-tcard:hover { color: #fff; transform: translateY(-2px); border-color: rgba(255, 255, 255, .2); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 12px 26px rgba(0, 0, 0, .28); }
.is-closed .bhr-tcard { opacity: .7; }
.bhr-tcard-top { display: flex; align-items: center; gap: 8px; padding-right: 64px; min-height: 20px; }
.bhr-tcard-no { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: .72rem; font-weight: 700; color: rgba(255, 255, 255, .55); letter-spacing: .02em; }
.bhr-tcard-type { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; color: rgba(255, 255, 255, .6); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bhr-tcard-type iconify-icon { font-size: .9rem; flex: none; }
.bhr-tcard-title { font-size: .92rem; font-weight: 700; line-height: 1.3; }
.bhr-tcard-who { display: flex; flex-direction: column; gap: 2px; font-size: .75rem; color: rgba(255, 255, 255, .55); min-width: 0; }
.bhr-tcard-who span { display: flex; align-items: center; gap: 5px; min-width: 0; }
.bhr-tcard-who iconify-icon { flex: none; opacity: .8; }
.bhr-tcard-foot { display: flex; align-items: center; gap: 7px; margin-top: 4px; padding-top: 9px; border-top: 1px solid rgba(255, 255, 255, .07); }
.bhr-tcard-ava { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .6rem; font-weight: 900; background: linear-gradient(145deg, #c4b5fd, #8b5cf6); color: #1e1239; }
.bhr-tcard-ava.is-none { background: transparent; color: rgba(255, 255, 255, .45); border: 1px dashed rgba(255, 255, 255, .3); }
.bhr-tcard-name { font-size: .75rem; font-weight: 600; color: rgba(255, 255, 255, .75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bhr-tcard-sla { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; font-weight: 800; padding: .16rem .5rem; border-radius: 7px; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .7); white-space: nowrap; }
.bhr-tcard-sla.is-soon { background: rgba(245, 158, 11, .18); color: #fbbf24; }
.bhr-tcard-sla.is-late { background: rgba(239, 68, 68, .2); color: #fca5a5; }
.bhr-tcard-sla.is-done { background: rgba(34, 197, 94, .14); color: #86efac; }
/* Pita prioritas: menggantung dari tepi atas kartu, ujung bawah berlekuk. */
.bhr-ribbon { position: absolute; top: -4px; right: 12px; padding: 6px 8px 9px; min-width: 52px; text-align: center; font-size: .6rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #fff;
    background: var(--rb, #64748b); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
.bhr-ribbon::before { content: ""; position: absolute; top: 0; left: -4px; width: 4px; height: 4px; background: var(--rb, #64748b); filter: brightness(.55); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.bhr-ribbon.is-kritis { --rb: linear-gradient(180deg, #f87171, #dc2626); }
.bhr-ribbon.is-tinggi { --rb: linear-gradient(180deg, #fbbf24, #d97706); color: #2b1600; }
.bhr-ribbon.is-normal { --rb: linear-gradient(180deg, #38bdf8, #0284c7); }
.bhr-ribbon.is-rendah { --rb: linear-gradient(180deg, #94a3b8, #64748b); }
.bhr-ribbon.is-kritis::before { background: #7f1d1d; filter: none; }
.bhr-ribbon.is-tinggi::before { background: #78350f; filter: none; }
.bhr-ribbon.is-normal::before { background: #0c4a6e; filter: none; }
.bhr-ribbon.is-rendah::before { background: #334155; filter: none; }
.bhr-board-tabs { display: none; }
@media (max-width: 991.98px) {
    .bhr-board { grid-template-columns: 1fr; }
    .bhr-board-col { display: none; padding: 8px; background: transparent; border: 0; min-height: 0; }
    .bhr-board-col.is-shown { display: block; }
    .bhr-board-col > header { display: none; }
    .bhr-board-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 3px; margin-bottom: 6px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .08); }
    .bhr-board-tabs button { border: 0; background: transparent; color: rgba(255, 255, 255, .65); font-weight: 700; font-size: .82rem; padding: .5rem .3rem; border-radius: 9px; }
    .bhr-board-tabs button span { font-size: .68rem; padding: 0 .4rem; border-radius: 99px; background: rgba(255, 255, 255, .12); margin-left: 2px; }
    .bhr-board-tabs button.active { background: #fff; color: #10151c; }
    .bhr-board-tabs button.active span { background: #10151c; color: #fff; }
}
.bhr-tcard-no { white-space: nowrap; }
.bhr-tcard .bhr-tcard-type { align-self: flex-start; padding: .12rem .5rem; border-radius: 6px; background: rgba(255, 255, 255, .07); max-width: 100%; }

/* ============ e-Form PSB (admin) — tampilan premium ============ */
.bhr-seg a.btn-seg { color: rgba(255, 255, 255, .65); font-weight: 700; font-size: .85rem; padding: .42rem .95rem; border-radius: 8px; display: inline-flex; gap: .45rem; align-items: center; text-decoration: none; }
.bhr-seg a.btn-seg span { font-size: .7rem; padding: .05rem .45rem; border-radius: 99px; background: rgba(255, 255, 255, .1); }
.bhr-seg a.btn-seg span.is-hot { background: #f59e0b; color: #1f1300; }
.bhr-seg a.btn-seg.active { background: #fff; color: #10151c; }
.bhr-seg a.btn-seg.active span { background: #10151c; color: #fff; }
.bhr-psb-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; }
.bhr-psb-queue { position: relative; overflow: hidden; padding: 22px 24px; border-radius: 22px;
    background: radial-gradient(90% 140% at 100% 0%, rgba(45, 212, 191, .2), transparent 55%), linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 20px 50px rgba(0, 0, 0, .25); }
.bhr-psb-eyebrow { display: flex; align-items: center; gap: 8px; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.bhr-live { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: bhr-live 2s infinite; }
.bhr-live.is-off { background: #64748b; animation: none; }
@keyframes bhr-live { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } }
.bhr-psb-big { display: flex; align-items: flex-end; gap: 14px; margin: 10px 0 18px; }
.bhr-psb-big b { font-size: 4.2rem; line-height: .85; font-weight: 900; letter-spacing: -3px; background: linear-gradient(180deg, #fff 30%, #9fe3e8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bhr-psb-big span { font-size: 1.02rem; font-weight: 600; color: rgba(255, 255, 255, .8); max-width: 260px; line-height: 1.3; padding-bottom: 4px; }
.bhr-psb-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .09); padding-top: 14px; }
.bhr-psb-kpis > div { padding: 0 14px; border-left: 1px solid rgba(255, 255, 255, .08); min-width: 0; }
.bhr-psb-kpis > div:first-child { padding-left: 0; border-left: 0; }
.bhr-psb-kpis small { display: block; font-size: .7rem; color: rgba(255, 255, 255, .5); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bhr-psb-kpis b { font-size: 1.25rem; font-weight: 800; }
.bhr-psb-kpis b.is-ok { color: #4ade80; }
.bhr-psb-pass { position: relative; display: flex; gap: 16px; align-items: center; width: 420px; max-width: 100%; padding: 18px; border-radius: 22px;
    background: linear-gradient(145deg, #f8f6f0, #ece7da); color: #10151c; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.bhr-psb-pass::before, .bhr-psb-pass::after { content: ""; position: absolute; left: 160px; width: 18px; height: 18px; border-radius: 50%; background: #1b2430; }
.bhr-psb-pass::before { top: -9px; }
.bhr-psb-pass::after { bottom: -9px; }
.bhr-psb-qr { flex: none; width: 140px; height: 140px; padding: 4px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(16, 21, 28, .08); border-right: 2px dashed transparent; }
.bhr-psb-qr img, .bhr-psb-qr canvas { display: block; width: 132px !important; height: 132px !important; }
.bhr-psb-pass-body { min-width: 0; flex: 1; padding-left: 14px; border-left: 2px dashed rgba(16, 21, 28, .15); }
.bhr-psb-pass-body small { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #6b6455; }
.bhr-psb-pass-body code { display: block; margin: 6px 0 12px; font-size: .8rem; font-weight: 700; color: #10151c; background: none; padding: 0; overflow-wrap: anywhere; line-height: 1.35; }
.bhr-psb-pass-act { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bhr-psb-pass-act a, .bhr-psb-pass-act button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: .42rem .5rem; border-radius: 9px; font-size: .76rem; font-weight: 800; text-decoration: none;
    border: 1px solid rgba(16, 21, 28, .14); background: #fff; color: #10151c; transition: background .12s, transform .12s; }
.bhr-psb-pass-act a:hover, .bhr-psb-pass-act button:hover { background: #10151c; color: #fff; }
.bhr-psb-pass-act > :first-child { background: #10151c; color: #fff; border-color: #10151c; }
.bhr-psb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.bhr-psbc { display: flex; flex-direction: column; gap: 11px; padding: 15px 16px 13px; border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 10px 28px rgba(0, 0, 0, .2); transition: transform .15s, border-color .15s; }
.bhr-psbc:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .18); }
.bhr-psbc.is-ditolak { opacity: .6; }
.bhr-psbc header { display: flex; align-items: center; gap: 11px; }
.bhr-psbc-av { width: 42px; height: 42px; border-radius: 13px; flex: none; display: grid; place-items: center; font-weight: 900; font-size: .9rem; color: #0b1118;
    background: linear-gradient(145deg, hsl(var(--h) 80% 78%), hsl(calc(var(--h) + 40) 70% 62%)); box-shadow: 0 6px 16px hsl(var(--h) 70% 40% / .35); }
.bhr-psbc-name { display: block; color: #fff; font-weight: 800; font-size: 1rem; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bhr-psbc-name:hover { color: #9fe3e8; }
.bhr-psbc-sub { font-size: .72rem; color: rgba(255, 255, 255, .5); }
.bhr-psbc-status { flex: none; font-size: .66rem; font-weight: 800; letter-spacing: .04em; padding: .25rem .55rem; border-radius: 99px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .7); }
.is-baru .bhr-psbc-status { background: rgba(245, 158, 11, .16); color: #fbbf24; box-shadow: 0 0 0 1px rgba(245, 158, 11, .35) inset; }
.is-disetujui .bhr-psbc-status { background: rgba(34, 197, 94, .14); color: #4ade80; box-shadow: 0 0 0 1px rgba(34, 197, 94, .3) inset; }
.bhr-psbc-addr { display: flex; gap: 7px; font-size: .82rem; color: rgba(255, 255, 255, .75); line-height: 1.4; }
.bhr-psbc-addr iconify-icon { flex: none; margin-top: 2px; color: #5eead4; }
.bhr-psbc-addr span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bhr-psbc-facts { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 13px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .05); }
.bhr-psbc-plan { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.bhr-psbc-plan > b { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: 1.35rem; font-weight: 800; line-height: 1; display: flex; flex-direction: column; align-items: center; }
.bhr-psbc-plan > b small { font-family: inherit; font-size: .55rem; font-weight: 700; color: rgba(255, 255, 255, .5); letter-spacing: .06em; margin-top: 2px; }
.bhr-psbc-plan > span { min-width: 0; font-size: .74rem; color: rgba(255, 255, 255, .55); }
.bhr-psbc-plan em { display: block; font-style: normal; font-weight: 700; color: #fff; font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bhr-psbc-checks { display: flex; gap: 4px; flex: none; }
.bhr-psbc-checks i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: .9rem; color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .04); }
.bhr-psbc-checks i.ok { color: #4ade80; background: rgba(34, 197, 94, .12); }
.bhr-psbc footer { display: flex; align-items: center; gap: 6px; min-height: 36px; }
.bhr-psbc-go { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: .55rem .8rem; border-radius: 11px; font-weight: 800; font-size: .82rem; text-decoration: none; color: #04221f;
    background: linear-gradient(135deg, #5eead4, #2dd4bf 45%, #14b8a6); box-shadow: 0 8px 20px rgba(45, 212, 191, .28), 0 1px 0 rgba(255, 255, 255, .5) inset; transition: transform .12s, box-shadow .12s; }
.bhr-psbc-go:hover { color: #04221f; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(45, 212, 191, .38), 0 1px 0 rgba(255, 255, 255, .5) inset; }
.bhr-psbc-ghost { padding: .55rem .9rem; border-radius: 11px; font-weight: 700; font-size: .82rem; border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: rgba(255, 255, 255, .8); }
.bhr-psbc-ghost:hover { border-color: rgba(248, 113, 113, .6); color: #fca5a5; }
.bhr-psbc-icon { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); color: rgba(255, 255, 255, .75); font-size: 1.05rem; text-decoration: none; }
.bhr-psbc-icon:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.bhr-psbc-done, .bhr-psbc-rej { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; font-size: .78rem; color: rgba(255, 255, 255, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bhr-psbc-done iconify-icon { color: #4ade80; font-size: 1.05rem; flex: none; }
.bhr-psbc-done a { color: #fff; font-weight: 700; text-decoration: none; }
.bhr-psbc-tk { color: rgba(255, 255, 255, .5); overflow: hidden; text-overflow: ellipsis; }
.bhr-psbc-rej iconify-icon { color: #f87171; flex: none; }
.bhr-install { padding: 16px; border-radius: 18px; background: linear-gradient(140deg, rgba(45, 212, 191, .14), rgba(255, 255, 255, .03) 60%); border: 1px solid rgba(45, 212, 191, .3); }
.bhr-install-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.bhr-install-head b { display: block; font-size: 1rem; }
.bhr-install-head small { color: rgba(255, 255, 255, .6); font-size: .78rem; }
.bhr-install-ico { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; font-size: 1.3rem; color: #04221f; background: linear-gradient(135deg, #5eead4, #14b8a6); }
@media (max-width: 1199.98px) { .bhr-psb-hero { grid-template-columns: 1fr; } .bhr-psb-pass { width: 100%; } }
@media (max-width: 767.98px) {
    .bhr-psb-queue { padding: 18px; border-radius: 18px; }
    .bhr-psb-big b { font-size: 3.2rem; }
    .bhr-psb-big span { font-size: .9rem; }
    .bhr-psb-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 0; }
    .bhr-psb-kpis > div:nth-child(3) { padding-left: 0; border-left: 0; }
    .bhr-psb-pass { padding: 14px; gap: 12px; }
    .bhr-psb-pass::before, .bhr-psb-pass::after { left: 118px; }
    .bhr-psb-qr { width: 104px; height: 104px; }
    .bhr-psb-qr img, .bhr-psb-qr canvas { width: 96px !important; height: 96px !important; }
    .bhr-psb-pass-body { padding-left: 10px; }
    .bhr-psb-grid { grid-template-columns: 1fr; }
}
.app-header .menu .menu-item.bhr-notif { background: transparent !important; }

/* ============ Estimasi pendapatan (Data Pelanggan) ============ */
.bhr-est { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.2fr) minmax(240px, 1.1fr); gap: 0; border-radius: 20px; overflow: hidden;
    background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .09); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset; }
.bhr-est > div { padding: 18px 20px; min-width: 0; }
.bhr-est > div + div { border-left: 1px solid rgba(255, 255, 255, .07); }
.bhr-est small { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 6px; }
.bhr-est-total { background: radial-gradient(120% 120% at 0% 0%, rgba(34, 197, 94, .2), transparent 60%); }
.bhr-est-total b { display: block; font-size: 1.9rem; font-weight: 900; letter-spacing: -1px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bhr-est-total span { display: block; font-size: .78rem; color: rgba(255, 255, 255, .55); margin-top: 6px; }
.bhr-est-calc { display: flex; flex-direction: column; gap: 2px; font-size: .84rem; }
.bhr-est-calc > div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.bhr-est-calc span { color: rgba(255, 255, 255, .65); }
.bhr-est-calc b { font-weight: 700; font-variant-numeric: tabular-nums; }
.bhr-est-calc .is-plus b { color: #fbbf24; }
.bhr-est-calc .is-minus b { color: #f87171; }
.bhr-est-calc .is-sub { border-top: 1px dashed rgba(255, 255, 255, .14); margin-top: 2px; padding-top: 6px; }
.bhr-est-calc .is-total { border-top: 2px solid rgba(255, 255, 255, .2); margin-top: 4px; padding-top: 7px; }
.bhr-est-calc .is-total span { color: #fff; font-weight: 800; }
.bhr-est-calc .is-total b { color: #4ade80; font-weight: 900; font-size: 1rem; }
.bhr-est-paket { display: flex; flex-direction: column; gap: 7px; }
.bhr-est-row { position: relative; display: flex; justify-content: space-between; gap: 10px; font-size: .78rem; padding-bottom: 6px; }
.bhr-est-row em { font-style: normal; color: rgba(255, 255, 255, .45); }
.bhr-est-row b { font-variant-numeric: tabular-nums; flex: none; }
.bhr-est-row i { position: absolute; left: 0; bottom: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #2dd4bf, #22c55e); opacity: .8; }
.bhr-est-row::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .06); z-index: -1; }
@media (max-width: 1199.98px) { .bhr-est { grid-template-columns: 1fr 1fr; } .bhr-est-paket { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid rgba(255, 255, 255, .07); } }
@media (max-width: 767.98px) {
    .bhr-est { grid-template-columns: 1fr; border-radius: 16px; }
    .bhr-est > div { padding: 14px 16px; }
    .bhr-est > div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .07); }
    .bhr-est-total b { font-size: 1.6rem; }
}

/* e-Form PSB: palet tenang (monokrom, warna hanya di titik status) */
.bhr-psb-big b { background: none; -webkit-background-clip: initial; background-clip: initial; color: #fff; }
.bhr-psb-kpis b.is-ok { color: #fff; }
.bhr-psb-queue { background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); }
.bhr-seg a.btn-seg span.is-hot { background: rgba(255, 255, 255, .16); color: #fff; }
.bhr-psbc-av { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; border: 1px solid rgba(255, 255, 255, .12); }
.bhr-psbc-status, .is-baru .bhr-psbc-status, .is-disetujui .bhr-psbc-status { display: inline-flex; align-items: center; gap: 6px; background: transparent; box-shadow: none; color: rgba(255, 255, 255, .7); padding: 0; font-weight: 700; letter-spacing: 0; font-size: .74rem; }
.bhr-psbc-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #64748b; }
.is-baru .bhr-psbc-status::before { background: #f59e0b; }
.is-disetujui .bhr-psbc-status::before { background: #22c55e; }
.bhr-psbc-addr iconify-icon { color: rgba(255, 255, 255, .5); }
.bhr-psbc-checks i.ok { color: #fff; background: rgba(255, 255, 255, .12); }
.bhr-psbc-go, .bhr-psbc-go:hover { background: #fff; color: #10151c; box-shadow: none; }
.bhr-psbc-go:hover { background: #e7eaee; }
.bhr-psbc-done iconify-icon { color: rgba(255, 255, 255, .7); }
.bhr-psbc-rej iconify-icon { color: rgba(255, 255, 255, .5); }
.bhr-psbc-ghost:hover { border-color: rgba(255, 255, 255, .35); color: #fff; }
.bhr-install { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.bhr-install-ico { background: rgba(255, 255, 255, .12); color: #fff; }

/* ============ Peta: lapisan & infrastruktur ODC/ODP ============ */
.bhr-map-layers { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bhr-map-layers label { margin: 0; cursor: pointer; }
.bhr-map-layers input { position: absolute; opacity: 0; pointer-events: none; }
.bhr-map-layers span { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); transition: background .12s, color .12s, border-color .12s; }
.bhr-map-layers span i { opacity: .45; transition: opacity .12s; }
.bhr-map-layers input:checked + span { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); }
.bhr-map-layers input:checked + span i { opacity: 1; }
.bhr-map-layers input:focus-visible + span { outline: 2px solid #5eead4; outline-offset: 2px; }
.bhr-map-switch { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; font-size: 12.5px; color: rgba(255, 255, 255, .75); cursor: pointer; }
.bhr-map-switch .form-check-input { margin: 0; width: 2.1em; height: 1.15em; flex: none; }
.bhr-map-selects { display: grid; grid-template-columns: 1fr; gap: 6px; margin-top: 8px; }
.bhr-map-legend [hidden] { display: none !important; }
.bhr-map-legend span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bhr-lg-odc { width: 18px; height: 18px; border-radius: 5px; flex: none; display: inline-block; background: #0f766e; border: 2px solid #5eead4; box-shadow: 0 0 0 2px rgba(15, 118, 110, .35); }
.bhr-lg-odp { width: 20px; height: 12px; border-radius: 4px; flex: none; display: inline-block; background: #0b1118; border: 2px solid var(--c, #22d3ee); }
.bhr-odc-pin { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #0f766e; border: 2px solid #5eead4; color: #ecfeff;
    box-shadow: 0 0 0 4px rgba(45, 212, 191, .2), 0 6px 14px rgba(0, 0, 0, .45); }
.bhr-odc-pin b { font-size: 9px; font-weight: 900; letter-spacing: .05em; }
.bhr-odc-pin.is-off { background: #334155; border-color: #94a3b8; box-shadow: 0 6px 14px rgba(0, 0, 0, .45); }
.bhr-odp-pin { display: inline-flex; align-items: baseline; justify-content: center; min-width: 44px; height: 26px; padding: 0 7px; border-radius: 8px; background: #0b1118; border: 2px solid var(--c, #22d3ee);
    color: #fff; font: 800 12px/22px "JetBrains Mono", ui-monospace, Consolas, monospace; box-shadow: 0 6px 14px rgba(0, 0, 0, .45); white-space: nowrap; }
.bhr-odp-pin i { font-style: normal; font-weight: 600; font-size: 10px; color: rgba(255, 255, 255, .55); }
.bhr-odp-pin.is-off { opacity: .55; }
.bhr-pop-meter { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; margin: 4px 0 6px; }
.bhr-pop-meter i { display: block; height: 100%; border-radius: inherit; }

/* ============ Lonceng v2: tanpa kotak, 2 tab, tanpa scroll samping ============ */
.bhr-bell, .bhr-notif .menu-link:hover .bhr-bell { background: transparent; width: 34px; height: 34px; }
.bhr-notif .menu-link { padding-left: 8px; padding-right: 8px; }
.bhr-notif .menu-link:hover .bhr-bell iconify-icon { color: #9fe3e8; }
.bhr-bell-count { top: 0; right: -4px; box-shadow: 0 0 0 2px #151c26; }
.bhr-notif-menu { width: 380px; max-width: calc(100vw - 16px); padding: 0; overflow: hidden; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.bhr-notif-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.bhr-notif-head span { background: none; padding: 0; }
.bhr-notif-tabs { display: inline-flex; padding: 3px; border-radius: 10px; background: rgba(0, 0, 0, .3); }
.bhr-notif-tabs button { border: 0; background: transparent; color: rgba(255, 255, 255, .6); font-size: .78rem; font-weight: 800; padding: .3rem .75rem; border-radius: 7px; display: inline-flex; align-items: center; gap: 6px; }
.bhr-notif-tabs button span { min-width: 18px; padding: 0 5px; border-radius: 99px; background: #ef4444; color: #fff; font-size: .64rem; line-height: 16px; text-align: center; }
.bhr-notif-tabs button.active { background: #fff; color: #10151c; }
.bhr-notif-pane { overflow: hidden; }
.bhr-notif-item { display: flex; gap: 11px; align-items: flex-start; padding: 11px 14px; text-decoration: none; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .05); min-width: 0; }
.bhr-notif-item:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.bhr-notif-ico { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; font-size: 1.05rem; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85); }
.bhr-notif-item.is-late .bhr-notif-ico { color: #f87171; background: rgba(239, 68, 68, .14); }
.bhr-notif-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.bhr-notif-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.bhr-notif-top b { flex: 1; min-width: 0; font-size: .84rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bhr-notif-top small { flex: none; font-size: .68rem; color: rgba(255, 255, 255, .4); }
.bhr-notif-text { font-size: .74rem; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bhr-notif-tag { align-self: flex-start; margin-top: 3px; font-size: .64rem; font-weight: 800; letter-spacing: .03em; padding: .1rem .45rem; border-radius: 5px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .7); }
.bhr-notif-item.is-late .bhr-notif-tag { background: rgba(239, 68, 68, .16); color: #fca5a5; }
.bhr-notif-more { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; font-size: .78rem; font-weight: 800; color: #9fe3e8; text-decoration: none; }
.bhr-notif-more:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.bhr-notif-empty { flex-direction: row; justify-content: center; gap: 8px; padding: 26px 16px; font-size: .8rem; }
.bhr-notif-empty iconify-icon { font-size: 1.2rem; margin: 0; }
@media (max-width: 575.98px) {
    .bhr-notif { position: static !important; }
    .bhr-notif-menu { position: fixed !important; left: 8px !important; right: 8px !important; top: 60px !important; transform: none !important; width: auto; max-width: none; }
}
/* Tab filter halaman PSB: bisa digeser di HP */
@media (max-width: 767.98px) {
    .bhr-infra-bar > .bhr-seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
    .bhr-infra-bar > .bhr-seg::-webkit-scrollbar { display: none; }
    .bhr-seg a.btn-seg { flex: none; white-space: nowrap; }
}

/* ============ Pengaturan: daftar sakelar & bar link ============ */
.min-w-0 { min-width: 0; }
.bhr-toggles { border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.bhr-toggle { display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin: 0; cursor: pointer; background: rgba(255, 255, 255, .02); }
.bhr-toggle + .bhr-toggle { border-top: 1px solid rgba(255, 255, 255, .07); }
.bhr-toggle:hover { background: rgba(255, 255, 255, .05); }
.bhr-toggle-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.bhr-toggle-text b { font-size: .88rem; font-weight: 700; }
.bhr-toggle-text small { font-size: .75rem; color: rgba(255, 255, 255, .55); }
.bhr-toggle .form-check-input { width: 2.4em; height: 1.3em; margin: 0; cursor: pointer; }
.bhr-linkbar { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .08); }
.bhr-linkbar > iconify-icon { color: rgba(255, 255, 255, .5); flex: none; }
.bhr-linkbar code { flex: 1; min-width: 0; background: none; padding: 0; color: #fff; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bhr-linkbar a, .bhr-linkbar button { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: .35rem .7rem; border-radius: 8px; border: 0; font-size: .76rem; font-weight: 800; text-decoration: none; background: rgba(255, 255, 255, .1); color: #fff; }
.bhr-linkbar button { background: #fff; color: #10151c; }
@media (max-width: 575.98px) { .bhr-linkbar a span { display: none; } }

/* ============ Peta: legenda rapi & kartu popup (spesifisitas tinggi: CSS Leaflet dimuat belakangan) ============ */
.bhr-map-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 6px; font-size: 12px; }
.bhr-map-legend > span { display: grid !important; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255, 255, 255, .75); }
.bhr-map-legend > span > i { display: grid; place-items: center; width: 22px; height: 18px; font-style: normal; }
.bhr-map-legend .bhr-lg-odc { width: 14px; height: 14px; border-radius: 4px; }
.bhr-map-legend .bhr-lg-odp { width: 18px; height: 11px; }
.bhr-map-legend .bhr-lg-router { width: 17px; height: 17px; font-size: 12px; }
.bhr-lg-router, .bhr-router-pin { background: #2563eb; }
.leaflet-container .bhr-pc-wrap .leaflet-popup-content-wrapper { padding: 0; overflow: hidden; background: #131a26; color: #fff; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 18px 44px rgba(0, 0, 0, .5); }
.leaflet-container .bhr-pc-wrap .leaflet-popup-content { margin: 0; width: 280px !important; font: inherit; line-height: 1.4; }
.leaflet-container .bhr-pc-wrap .leaflet-popup-tip { background: #131a26; border: 1px solid rgba(255, 255, 255, .12); }
.leaflet-container .bhr-pc-wrap a.leaflet-popup-close-button { top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; font: 700 16px/26px sans-serif; text-align: center; z-index: 2; }
.bhr-pc-photo { position: relative; height: 128px; background: linear-gradient(135deg, #1e293b, #0f172a); }
.bhr-pc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bhr-pc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(19, 26, 38, .95)); }
.bhr-pc-photo.is-empty { height: 64px; display: grid; place-items: center; font-size: 1.7rem; color: rgba(255, 255, 255, .35);
    background: radial-gradient(120% 140% at 0% 0%, rgba(45, 212, 191, .18), transparent 60%), #182132; }
.bhr-pc-photo.is-empty::after { display: none; }
.bhr-pc-body { position: relative; padding: 2px 14px 14px; margin-top: -18px; }
.bhr-pc-photo.is-empty + .bhr-pc-body { margin-top: 0; padding-top: 10px; }
.bhr-pc-kicker { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: 10.5px; font-weight: 700; color: rgba(255, 255, 255, .55); letter-spacing: .03em; }
.bhr-pc-title { font-size: 15px; font-weight: 800; line-height: 1.25; margin-top: 1px; }
.bhr-pc-sub { font-size: 12px; color: rgba(255, 255, 255, .6); margin-top: 1px; }
.bhr-pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; margin-top: 11px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .08); }
.bhr-pc-grid > div { min-width: 0; }
.bhr-pc-grid span { display: block; font-size: 10.5px; color: rgba(255, 255, 255, .45); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.bhr-pc-grid b { display: block; font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bhr-pc-addr { display: flex; gap: 6px; margin-top: 10px; font-size: 12px; color: rgba(255, 255, 255, .7); }
.bhr-pc-addr iconify-icon { flex: none; margin-top: 2px; color: rgba(255, 255, 255, .45); }
.bhr-pc-addr span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bhr-pc-act { display: flex; gap: 6px; margin-top: 12px; }
.leaflet-container .bhr-pc-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 7px 8px; border-radius: 9px; font-size: 12px; font-weight: 800;
    text-decoration: none; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); }
.leaflet-container .bhr-pc-btn:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.leaflet-container .bhr-pc-btn.is-main { background: #fff; color: #10151c; border-color: #fff; }
.leaflet-container .bhr-pc-btn.is-icon { flex: none; width: 36px; padding: 7px 0; color: #4ade80; font-size: 15px; }

/* ============ Penanda pelanggan WiFi & peta gelap ============ */
.bhr-wpin { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: #fff; font-size: 17px;
    border: 2px solid #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .5); }
.bhr-wpin::after { content: ""; position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); border: 5px solid transparent; border-top: 6px solid #fff; }
.bhr-wpin.is-online { box-shadow: 0 0 0 3px rgba(56, 189, 248, .95), 0 0 0 8px rgba(56, 189, 248, .25), 0 4px 12px rgba(0, 0, 0, .5); animation: bhr-wpin-pulse 2.4s ease-out infinite; }
@keyframes bhr-wpin-pulse { 0% { box-shadow: 0 0 0 3px rgba(56, 189, 248, .95), 0 0 0 0 rgba(56, 189, 248, .45), 0 4px 12px rgba(0, 0, 0, .5); } 100% { box-shadow: 0 0 0 3px rgba(56, 189, 248, .95), 0 0 0 14px rgba(56, 189, 248, 0), 0 4px 12px rgba(0, 0, 0, .5); } }
.bhr-lg-wpin { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-size: 11px; border: 1.5px solid #fff; }
.bhr-lg-wpin.is-online { box-shadow: 0 0 0 2px rgba(56, 189, 248, .9); }
.bhr-map .leaflet-tile-pane { filter: saturate(1.05); }
.bhr-map.leaflet-container { background: #0e1117; }
.bhr-tiles-dark { filter: invert(1) hue-rotate(185deg) brightness(.92) contrast(.88) saturate(.55); }

/* ============ Tanpa glow / gradien berlebih (permintaan pemilik): permukaan datar & tenang ============ */
.bhr-pd-hero { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.bhr-pd-avatar { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: none; border: 1px solid rgba(255, 255, 255, .14); }
.bhr-profile-hero { background: rgba(255, 255, 255, .06) !important; }
.bhr-profile-hero::after { display: none; }
.bhr-report-hero { background: rgba(255, 255, 255, .06) !important; }
.bhr-backup-hero { background: rgba(255, 255, 255, .05) !important; box-shadow: none !important; }
.bhr-soon-hero { background: rgba(255, 255, 255, .04); }
.bhr-soon-hero::before { display: none; }
.bhr-soon-ico { background: rgba(255, 255, 255, .1); box-shadow: none; }
.bhr-est-total { background: transparent; }
.bhr-est-row i { background: rgba(255, 255, 255, .55); }
.bhr-pc-photo.is-empty { background: #182132; }
.bhr-psb-share { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.bhr-odc { background: rgba(255, 255, 255, .05); }
.bhr-psbc, .bhr-tcard { background: rgba(255, 255, 255, .06); }
.bhr-meter > i { background: #22c55e; }
.bhr-meter.is-warm > i { background: #f59e0b; }
.bhr-meter.is-hot > i { background: #ef4444; }

/* ============ Peta: jalur kabel tebal beranimasi & penanda online ============ */
.bhr-cable { stroke-linecap: round; animation: bhr-cable-flow 1.2s linear infinite; filter: drop-shadow(0 0 3px rgba(45, 212, 191, .85)); }
.bhr-cable-drop { stroke-linecap: round; animation: bhr-cable-flow 1.6s linear infinite; filter: drop-shadow(0 0 2px rgba(34, 211, 238, .7)); }
.bhr-cable-base { stroke-linecap: round; }
@keyframes bhr-cable-flow { to { stroke-dashoffset: -24; } }
@media (prefers-reduced-motion: reduce) { .bhr-cable, .bhr-cable-drop { animation: none; } }
.bhr-map-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bhr-lg-wpin.is-online { background: #0b1118; color: #38bdf8; border: 2px solid #38bdf8; box-shadow: 0 0 0 2px rgba(56, 189, 248, .35); }
.bhr-wpin.is-online { border-color: #38bdf8; border-width: 3px; }
.app-header .menu .menu-item.bhr-notif { border: 0 !important; border-radius: 0; }

/* Chip mode super admin di header (pengganti banner di konten) */
.bhr-sa-chip { display: inline-flex; align-items: center; gap: 7px; margin: 0 4px; padding: 3px 3px 3px 10px; border-radius: 99px; font-size: .74rem; font-weight: 700;
    color: #fbbf24; background: rgba(245, 158, 11, .12); border: 1px solid rgba(245, 158, 11, .3); white-space: nowrap; }
.bhr-sa-chip > iconify-icon { font-size: 1rem; }
.bhr-sa-chip button { display: inline-flex; align-items: center; gap: 4px; border: 0; border-radius: 99px; padding: 3px 9px; font-size: .72rem; font-weight: 800; background: rgba(245, 158, 11, .2); color: #fde68a; }
.bhr-sa-chip button:hover { background: #f59e0b; color: #1f1300; }

/* ============ Inventory (tenang, tanpa glow) ============ */
.bhr-inv-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bhr-inv-stats.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bhr-inv-stats > * { display: flex; flex-direction: column; gap: 1px; padding: 13px 15px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: #fff; text-decoration: none; min-width: 0; }
.bhr-inv-stats > a:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.bhr-inv-stats span { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.bhr-inv-stats b { font-size: 1.45rem; font-weight: 800; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.bhr-inv-stats small { font-size: .72rem; color: rgba(255, 255, 255, .45); }
.bhr-inv-stats .is-warn b { color: #fbbf24; }
.bhr-inv-stats .is-bad b { color: #f87171; }
.bhr-inv-table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .5); font-weight: 800; border-bottom-color: rgba(255, 255, 255, .08) !important; }
.bhr-inv-table td { border-color: rgba(255, 255, 255, .06) !important; font-variant-numeric: tabular-nums; }
.bhr-inv-stock { display: inline-flex; align-items: center; gap: 6px; }
.bhr-inv-stock i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: none; }
.bhr-inv-stock.is-menipis i { background: #f59e0b; }
.bhr-inv-stock.is-habis i { background: #ef4444; }
.bhr-inv-stock.is-habis b { color: #f87171; }
.bhr-inv-alert { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.bhr-inv-alert:last-child { border-bottom: 0; }
.bhr-inv-alert small { font-size: .74rem; color: rgba(255, 255, 255, .55); }
.bhr-mv-total { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; background: rgba(0, 0, 0, .22); font-size: .85rem; color: rgba(255, 255, 255, .7); }
.bhr-mv-total b { color: #fff; font-size: 1rem; }
.bhr-toggle.mb-2 { border-radius: 12px; border: 1px solid rgba(255, 255, 255, .08); }
.bhr-seg a.btn-seg { white-space: nowrap; }
@media (max-width: 991.98px) { .bhr-inv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bhr-inv-stats.is-3 > :first-child { grid-column: 1 / -1; } }
/* Header: jarak antar item rapat */
.app-header .menu .menu-item.bhr-notif .menu-link { padding-left: 6px; padding-right: 6px; }
.app-header .menu .bhr-sa-chip { margin: 0 2px; }
.app-header .menu > .menu-item.dropdown:last-child > .menu-link { padding-left: 8px; }

/* Status koneksi internet (tabel pelanggan) */
.bhr-inet { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: #475569; box-shadow: 0 0 0 3px rgba(71, 85, 105, .25); }
.bhr-inet.is-on { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .22); }

/* ============ Detail tagihan (gaya invoice, tenang) ============ */
.bhr-inv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.bhr-inv-no { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: 1.35rem; font-weight: 800; letter-spacing: .02em; }
.bhr-inv-who { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-top: 2px; font-size: .85rem; }
.bhr-inv-who a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px dashed rgba(255, 255, 255, .35); }
.bhr-inv-who span { color: rgba(255, 255, 255, .5); }
.bhr-inv-amount { text-align: right; flex: none; }
.bhr-inv-amount b { display: block; font-size: 1.9rem; font-weight: 900; line-height: 1.1; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.bhr-inv-state { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: rgba(255, 255, 255, .75); }
.bhr-inv-state i { width: 8px; height: 8px; border-radius: 50%; background: #64748b; }
.bhr-inv-state.is-paid i { background: #22c55e; }
.bhr-inv-state.is-open i { background: #f59e0b; }
.bhr-inv-state.is-late { color: #fca5a5; }
.bhr-inv-state.is-late i { background: #ef4444; }
.bhr-inv-dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 14px 0 2px; border-radius: 12px; background: rgba(0, 0, 0, .2); border: 1px solid rgba(255, 255, 255, .06); }
.bhr-inv-dates > div { padding: 10px 14px; min-width: 0; }
.bhr-inv-dates > div + div { border-left: 1px solid rgba(255, 255, 255, .06); }
.bhr-inv-dates span { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.bhr-inv-dates b { display: block; font-size: .88rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bhr-inv-dates .is-late b { color: #f87171; }
.bhr-inv-card { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.bhr-inv-title { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 12px; }
.bhr-inv-title iconify-icon { font-size: 1rem; }
.bhr-inv-lines > div, .bhr-inv-sub, .bhr-inv-total { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; font-size: .9rem; }
.bhr-inv-lines > div { border-bottom: 1px dashed rgba(255, 255, 255, .1); }
.bhr-inv-lines b, .bhr-inv-sub b, .bhr-inv-total b { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bhr-inv-lines .is-minus b { color: #f87171; }
.bhr-inv-sub { color: rgba(255, 255, 255, .65); }
.bhr-inv-total { margin-top: 4px; padding-top: 12px; border-top: 2px solid rgba(255, 255, 255, .18); font-size: 1.05rem; font-weight: 800; }
.bhr-inv-total b { font-size: 1.25rem; font-weight: 900; }
.bhr-inv-note { display: flex; gap: 6px; margin-top: 10px; font-size: .8rem; color: rgba(255, 255, 255, .65); }
.bhr-inv-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.bhr-inv-paid-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.bhr-inv-paid-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; color: #4ade80; background: rgba(34, 197, 94, .12); flex: none; }
.bhr-inv-paid-top small { display: block; font-size: .75rem; color: rgba(255, 255, 255, .55); }
.bhr-inv-paid-top b { font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.bhr-inv-kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .84rem; border-top: 1px solid rgba(255, 255, 255, .06); }
.bhr-inv-kv span { color: rgba(255, 255, 255, .5); flex: none; }
.bhr-inv-kv b { font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.bhr-inv-undo { margin-top: 10px; display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; padding: 0; font-size: .78rem; font-weight: 700; color: rgba(248, 113, 113, .85); }
.bhr-inv-undo:hover { color: #f87171; text-decoration: underline; }
.bhr-inv-adjust summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.bhr-inv-adjust summary::-webkit-details-marker { display: none; }
.bhr-inv-adjust[open] summary .ms-auto { transform: rotate(180deg); }
@media (max-width: 767.98px) {
    .bhr-inv-head { flex-direction: column; align-items: flex-start; }
    .bhr-inv-amount { text-align: left; }
    .bhr-inv-dates { grid-template-columns: 1fr 1fr; }
    .bhr-inv-dates > div:nth-child(3) { border-left: 0; }
    .bhr-inv-dates > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .06); }
}

/* ============ Paket: limitasi lanjutan ============ */
.bhr-seg-2 { grid-template-columns: 1fr 1fr; }
.bhr-rl { border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.bhr-rl-head, .bhr-rl-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 12px; }
.bhr-rl-head { background: rgba(0, 0, 0, .22); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .55); }
.bhr-rl-head b { font-weight: 800; }
.bhr-rl-head small { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; text-transform: none; letter-spacing: 0; opacity: .6; margin-left: 3px; }
.bhr-rl-row + .bhr-rl-row, .bhr-rl-head + .bhr-rl-row { border-top: 1px solid rgba(255, 255, 255, .06); }
.bhr-rl-row[hidden] { display: none; }
.bhr-rl-label b { display: block; font-size: .85rem; }
.bhr-rl-label small { font-size: .72rem; color: rgba(255, 255, 255, .5); }
.bhr-rl-input { position: relative; }
.bhr-rl-input .form-control { padding-right: 48px; }
.bhr-rl-input > span { position: absolute; right: 10px; top: 0; height: 38px; display: flex; align-items: center; font-size: .72rem; color: rgba(255, 255, 255, .45); pointer-events: none; }
.bhr-rl-span { grid-column: 2 / -1; }
.bhr-rl-preview { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #0b1118; border: 1px solid rgba(255, 255, 255, .08); }
.bhr-rl-preview small { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.bhr-rl-preview code { display: block; margin-top: 2px; font-size: .9rem; color: #86efac; background: none; padding: 0; overflow-wrap: anywhere; }
.bhr-rl-code { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: .72rem; color: rgba(255, 255, 255, .55); margin-top: 2px; }
.bhr-rl-chip { font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: .08rem .4rem; border-radius: 5px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .8); vertical-align: middle; }
@media (max-width: 575.98px) {
    .bhr-rl-head, .bhr-rl-row { grid-template-columns: 1fr 1fr; }
    .bhr-rl-head > span { display: none; }
    .bhr-rl-label { grid-column: 1 / -1; }
}
/* ============ Modal biaya tambahan & potongan ============ */
.bhr-adjm-list { margin-bottom: 14px; }
.bhr-adjm-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); margin-bottom: 6px; }
.bhr-adjm-sign { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 900; flex: none; background: rgba(245, 158, 11, .15); color: #fbbf24; }
.bhr-adjm-row.is-potongan .bhr-adjm-sign { background: rgba(239, 68, 68, .15); color: #f87171; }
.bhr-adjm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bhr-adjm-main b { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bhr-adjm-main small { font-size: .72rem; color: rgba(255, 255, 255, .5); }
.bhr-adjm-amt { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .88rem; }
.bhr-adjm-row.is-potongan .bhr-adjm-amt { color: #f87171; }
.bhr-adjm-sum { display: flex; justify-content: space-between; padding: 6px 10px 0; font-size: .8rem; color: rgba(255, 255, 255, .6); }
.bhr-adjm-sum b { color: #fff; }
.bhr-adjm-empty { padding: 12px; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, .14); text-align: center; font-size: .82rem; color: rgba(255, 255, 255, .5); }
.bhr-adjm-hist { margin-top: 10px; font-size: .78rem; color: rgba(255, 255, 255, .55); }
.bhr-adjm-hist summary { cursor: pointer; }
.bhr-adjm-hist div { display: flex; justify-content: space-between; padding: 4px 2px; border-bottom: 1px dashed rgba(255, 255, 255, .08); }
.bhr-adjm-form { padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, .2); border: 1px solid rgba(255, 255, 255, .07); }
.bhr-adj-row:has(.bhr-adj-mode) { grid-template-columns: 96px minmax(0, 1fr) 130px 180px 34px; }
.bhr-adj-row .bhr-adj-mode { width: 100%; min-width: 0; font-size: .8rem; }
@media (max-width: 767.98px) { .bhr-adj-row:has(.bhr-adj-mode) { grid-template-columns: 1fr 110px auto; } .bhr-adj-row .bhr-adj-mode { grid-column: 1 / -2; } }

/* ============ Dasbor ============ */
.bhr-dash-month { font-size: .82rem; color: rgba(255, 255, 255, .55); }
.bhr-dash-month b { color: #fff; margin-left: 4px; }
.bhr-tour { padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.bhr-tour-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bhr-tour-head b { display: block; font-size: 1rem; }
.bhr-tour-head span { font-size: .78rem; color: rgba(255, 255, 255, .55); }
.bhr-tour-skip { border: 0; background: none; color: rgba(255, 255, 255, .55); font-size: .78rem; font-weight: 700; padding: 0; white-space: nowrap; }
.bhr-tour-skip:hover { color: #fff; text-decoration: underline; }
.bhr-tour-bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); margin: 12px 0; overflow: hidden; }
.bhr-tour-bar i { display: block; height: 100%; background: #22c55e; border-radius: inherit; }
.bhr-tour-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.bhr-tour-step { display: flex; gap: 9px; align-items: flex-start; padding: 10px; border-radius: 12px; background: rgba(0, 0, 0, .18); border: 1px solid rgba(255, 255, 255, .06); color: #fff; text-decoration: none; min-width: 0; }
a.bhr-tour-step:hover { border-color: rgba(255, 255, 255, .25); color: #fff; }
.bhr-tour-step b { display: block; font-size: .82rem; }
.bhr-tour-step small { display: block; font-size: .7rem; color: rgba(255, 255, 255, .5); line-height: 1.3; }
.bhr-tour-n { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .72rem; font-weight: 800; border: 1.5px solid rgba(255, 255, 255, .3); }
.bhr-tour-step.is-done { opacity: .55; }
.bhr-tour-step.is-done .bhr-tour-n { background: #22c55e; border-color: #22c55e; color: #052e14; }
.bhr-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.bhr-kpi { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: #fff; text-decoration: none; min-width: 0; transition: background .15s, border-color .15s; }
.bhr-kpi:hover { color: #fff; background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .16); }
.bhr-kpi-l { display: flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.bhr-kpi-l iconify-icon { font-size: 1rem; }
.bhr-kpi b { font-size: 1.55rem; font-weight: 900; letter-spacing: -.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.bhr-kpi small { font-size: .74rem; color: rgba(255, 255, 255, .5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bhr-kpi em { font-style: normal; font-weight: 800; }
.bhr-kpi em.is-up { color: #4ade80; }
.bhr-kpi em.is-down { color: #f87171; }
.bhr-kpi.is-bad b { color: #f87171; }
.bhr-kpi.is-warn b { color: #fbbf24; }
.bhr-dcard { padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.bhr-dcard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.bhr-dcard-head b, .bhr-dcard-sub b { display: block; font-size: .95rem; }
.bhr-dcard-head small, .bhr-dcard-sub small { font-size: .74rem; color: rgba(255, 255, 255, .5); }
.bhr-dcard-link { font-size: .78rem; font-weight: 700; color: #9fe3e8; text-decoration: none; white-space: nowrap; }
.bhr-dash-net { text-align: right; }
.bhr-dash-net small { display: block; font-size: .7rem; color: rgba(255, 255, 255, .5); }
.bhr-dash-net b { font-size: 1.15rem; font-weight: 800; }
.bhr-dash-net.is-up b { color: #4ade80; }
.bhr-dash-net.is-down b { color: #f87171; }
.bhr-dash-legend { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; font-size: .78rem; color: rgba(255, 255, 255, .65); }
.bhr-dash-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.bhr-dash-legend b { color: #fff; margin-left: 3px; }
.bhr-dash-collect { display: flex; align-items: center; gap: 8px; }
.bhr-dash-collect > div:first-child { flex: 0 0 48%; }
.bhr-dash-kv { flex: 1; min-width: 0; }
.bhr-dash-kv > div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: .8rem; border-bottom: 1px dashed rgba(255, 255, 255, .08); }
.bhr-dash-kv span { color: rgba(255, 255, 255, .55); }
.bhr-dash-kv b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bhr-due { display: flex; align-items: center; gap: 11px; padding: 8px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); color: #fff; text-decoration: none; }
.bhr-due:last-child { border-bottom: 0; }
.bhr-due:hover { color: #fff; background: rgba(255, 255, 255, .03); }
.bhr-due small { font-size: .72rem; color: rgba(255, 255, 255, .5); }
.bhr-due-date { width: 40px; flex: none; text-align: center; border-radius: 10px; padding: 4px 0; background: rgba(255, 255, 255, .07); line-height: 1.1; }
.bhr-due-date b { display: block; font-size: 1rem; }
.bhr-due-date small { font-size: .62rem; text-transform: uppercase; }
.bhr-due-date.is-late { background: rgba(239, 68, 68, .15); color: #fca5a5; }
.bhr-due-amt { font-size: .84rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bhr-attn { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 6px; border-radius: 12px; background: rgba(255, 255, 255, .04); color: #fff; text-decoration: none; font-size: .84rem; }
.bhr-attn:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.bhr-attn > iconify-icon:first-child { font-size: 1.15rem; flex: none; }
.bhr-attn.is-bad > iconify-icon:first-child { color: #f87171; }
.bhr-attn.is-warn > iconify-icon:first-child { color: #fbbf24; }
.bhr-dash-empty { display: flex; align-items: center; gap: 8px; padding: 18px 4px; font-size: .82rem; color: rgba(255, 255, 255, .5); }
.bhr-dash-empty iconify-icon { font-size: 1.3rem; }
@media (max-width: 1199.98px) { .bhr-tour-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
    .bhr-tour-steps { grid-template-columns: 1fr 1fr; }
    .bhr-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
    .bhr-kpi { padding: 12px; }
    .bhr-kpi b { font-size: 1.25rem; }
    .bhr-dash-collect { flex-direction: column; }
}

.bhr-kpis.is-side { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; }
@media (max-width: 1199.98px) { .bhr-kpis.is-side { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
.bhr-dash-collect { flex-wrap: wrap; } .bhr-dash-collect > div:first-child { flex: 1 1 170px; } .bhr-dash-kv { flex: 1 1 190px; }

/* Wizard form pelanggan / verifikasi PSB */
.bhr-wz { display: flex; gap: .5rem; margin-bottom: 1rem; }
.bhr-wz-item { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: .75rem; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: rgba(255, 255, 255, .6); text-align: left; font-weight: 600; font-size: .85rem; transition: all .15s; }
.bhr-wz-item:not(:disabled):hover { border-color: rgba(255, 255, 255, .35); color: #fff; }
.bhr-wz-item:disabled { opacity: .45; cursor: not-allowed; }
.bhr-wz-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bhr-wz-no { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .12); font-size: .8rem; flex-shrink: 0; }
.bhr-wz-item.is-done .bhr-wz-no { background: rgba(34, 197, 94, .22); color: #86efac; }
.bhr-wz-item.is-active { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); }
.bhr-wz-item.is-active .bhr-wz-no { background: #f4f4f5; color: #1b1d26; }
.bhr-wz-nav { display: flex; gap: .5rem; justify-content: space-between; margin: -.25rem 0 1rem; }
.bhr-wz-nav .btn-mono { min-width: 12rem; }
.bhr-wz-err { color: #fda4af; font-size: .8rem; margin-top: .3rem; }
.bhr-review-block { border: 1px solid rgba(255, 255, 255, .12); border-radius: .75rem; padding: .85rem 1rem; margin-bottom: .75rem; }
.bhr-review-block dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: .35rem .75rem; margin: 0; font-size: .88rem; }
.bhr-review-block dt { color: rgba(255, 255, 255, .55); font-weight: 500; }
.bhr-review-block dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 767.98px) {
    .bhr-wz-item { flex: 0 0 auto; padding: .5rem; }
    .bhr-wz-item .bhr-wz-label { display: none; }
    .bhr-wz-item.is-active { flex: 1 1 auto; }
    .bhr-wz-item.is-active .bhr-wz-label { display: inline; }
    .bhr-wz-nav .btn-mono { min-width: 0; flex: 1; }
    .bhr-review-block dl { grid-template-columns: 1fr; gap: .1rem; }
    .bhr-review-block dd { margin-bottom: .45rem; }
}

/* POP: chip pengguna POP & pemilih tampilan ISP induk di header */
.bhr-pop-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; font-size: .8rem; font-weight: 600; white-space: nowrap; }
button.bhr-pop-chip { cursor: pointer; }
.bhr-pop-chip.is-on { background: #f4f4f5; color: #1b1d26; border-color: #f4f4f5; }
.bhr-pop-menu { min-width: 220px; }
.bhr-pop-menu .dropdown-item.active { background: rgba(255, 255, 255, .14); }
/* Pilihan koneksi router (radio dalam kartu). */
label.bhr-choice { display: flex; gap: .7rem; align-items: flex-start; margin: 0; }
label.bhr-choice:has(input:checked) { border-color: #fff; background: rgba(255, 255, 255, .12); }
label.bhr-choice input { flex-shrink: 0; margin-top: .2rem !important; }

/* Skrip MikroTik (halaman router): baris utuh, bisa digulir, tidak terlipat. */
.bhr-script { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: 12px; line-height: 1.65; white-space: pre; overflow-x: auto; max-height: 480px;
    background: rgba(0, 0, 0, .45); color: #e2e8f0; border: 1px solid rgba(255, 255, 255, .08); border-radius: .6rem; padding: 1rem 1.1rem; tab-size: 2; }

/* HRIS: absen (kamera + GPS), kartu status, jadwal shift */
.bhr-absen { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; }
.bhr-absen-clock { font-size: 2.6rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.bhr-absen-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bhr-absen-step { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.bhr-absen-step span { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.bhr-absen-step b { display: block; font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.bhr-absen-step small { color: rgba(255, 255, 255, .55); font-size: .75rem; }
.bhr-absen-step.is-done { border-color: rgba(34, 197, 94, .45); background: rgba(34, 197, 94, .08); }
.bhr-absen-btn { width: 100%; padding: 14px; font-size: 1.05rem; font-weight: 800; border-radius: 14px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; }
.bhr-cam { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #0b1220; }
.bhr-cam video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.bhr-cam::after { content: ""; position: absolute; left: 50%; top: 48%; width: 46%; aspect-ratio: 3 / 4; transform: translate(-50%, -50%); border: 3px dashed rgba(255, 255, 255, .55); border-radius: 50%; pointer-events: none; }
.bhr-cam-msg { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; padding: 7px 10px; border-radius: 10px; background: rgba(0, 0, 0, .6); font-size: .8rem; text-align: center; }
.bhr-gps { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: rgba(0, 0, 0, .22); font-size: .82rem; }
.bhr-gps.is-ok { color: #4ade80; }
.bhr-gps.is-bad { color: #f87171; }
.bhr-face-thumb { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: rgba(255, 255, 255, .08); flex: none; }
.bhr-shift-days { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 6px 10px; align-items: center; }
.bhr-hris-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
@media (max-width: 991.98px) { .bhr-absen { grid-template-columns: 1fr; } }

/* ---- Modal: isi bisa di-scroll tanpa scrollbar putih bawaan browser (Windows) ---- */
.modal-dialog-scrollable .modal-body,
.modal .modal-body { scrollbar-width: none; -ms-overflow-style: none; }
.modal-dialog-scrollable .modal-body::-webkit-scrollbar,
.modal .modal-body::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* ---- Kartu paket (form pelanggan): bertumpuk & rapi di web maupun HP ----
   label.bhr-choice umum memakai display:flex (pilihan ber-checkbox); kartu paket wajib kolom. */
.bhr-paket-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
label.bhr-choice.bhr-paket { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: .1rem; padding: .85rem 1rem .8rem; min-height: 112px; }
.bhr-paket-head { display: flex; align-items: center; gap: .45rem; min-width: 0; padding-right: 1.4rem; font-weight: 700; font-size: .9rem; }
.bhr-paket-head iconify-icon { font-size: 1.15rem; opacity: .75; flex-shrink: 0; }
.bhr-paket-head { align-items: flex-start; }
.bhr-paket-head span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; word-break: break-word; }
.bhr-paket-speed { font-size: 1.45rem; font-weight: 800; line-height: 1.1; margin-top: .35rem; letter-spacing: -.01em; white-space: nowrap; }
.bhr-paket-price { font-size: .8rem; color: rgba(255, 255, 255, .7); white-space: nowrap; margin-top: auto; }
.bhr-paket-price b { color: #fff; font-weight: 700; }
.bhr-paket-check { position: absolute; top: .7rem; right: .75rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); display: grid; place-items: center; font-size: .75rem; color: transparent; }
.btn-check:checked + .bhr-paket .bhr-paket-check { background: #fff; border-color: #fff; color: #0b0c0e; }
@media (max-width: 575.98px) {
    .bhr-paket-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
    label.bhr-choice.bhr-paket { min-height: 104px; padding: .75rem .8rem; }
    .bhr-paket-speed { font-size: 1.2rem; }
}

/* Penjelasan jenis layanan (PPPoE / Hotspot) di form pelanggan */
.bhr-svc-help > div { display: flex; gap: .6rem; align-items: flex-start; padding: .65rem .8rem; border-radius: .6rem; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); color: rgba(255, 255, 255, .75); line-height: 1.5; }
.bhr-svc-help iconify-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: .1rem; opacity: .8; }
.bhr-svc-help b { color: #fff; }
/* HP sempit (≤ 430px): paket 1 kolom, tetap bertumpuk; nama dapat lebar penuh, tanpa geser menyamping. */
@media (max-width: 430px) {
    .bhr-paket-grid { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
    label.bhr-choice.bhr-paket { min-height: 0; padding: .7rem .85rem; }
    .bhr-paket-speed { font-size: 1.2rem; margin-top: .2rem; }
    .bhr-paket-price { white-space: normal; }
}
.bhr-paket-price { overflow-wrap: anywhere; }

/* Pemandu posisi wajah (HRIS): oval kuning = belum pas, hijau = pas. Pesan ikut berwarna. */
.bhr-cam::after { transition: border-color .2s ease, box-shadow .2s ease; }
.bhr-cam.is-warn::after { border-color: rgba(242, 184, 75, .9); }
.bhr-cam.is-ok::after { border: 3px solid #3ccf8e; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .28); }
.bhr-cam.is-ok .bhr-cam-msg { background: rgba(20, 110, 70, .85); }
.bhr-cam.is-warn .bhr-cam-msg { background: rgba(0, 0, 0, .65); }
@media (prefers-reduced-motion: reduce) { .bhr-cam::after { transition: none; } }

/* Sidebar sebagai panel (< 992px, termasuk mode "Situs desktop" di HP): latar tema transparan membuat konten
   di belakang tembus & menu sulit dibaca → latar gelap pekat + blur kuat + bayangan tepi. */
@media (max-width: 991.98px) {
    .app-sidebar-mobile-toggled .app-sidebar:not(.app-sidebar-end) {
        background: rgba(20, 22, 29, .97) !important;
        backdrop-filter: blur(14px);
        box-shadow: 12px 0 40px rgba(0, 0, 0, .55);
        border-right: 1px solid rgba(255, 255, 255, .08);
    }
    .app-sidebar-mobile-toggled .app-sidebar-mobile-backdrop { background: rgba(0, 0, 0, .6) !important; }
}
/* Tampilkan / sembunyikan kata sandi (halaman auth) */
.bhr-pw { position: relative; display: block; }
.bhr-pw > .form-control { padding-right: 46px; }
.bhr-pw > .form-control.is-invalid { padding-right: 70px; background-position: right 44px center; }
.bhr-pw-btn { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent;
    color: rgba(255, 255, 255, .55); display: inline-flex; align-items: center; justify-content: center; font-size: 19px; cursor: pointer; }
.bhr-pw-btn:hover, .bhr-pw-btn[aria-pressed=true] { color: #fff; background: rgba(255, 255, 255, .08); }
/* Pilihan add-on langganan (form ubah company, super admin) */
.bhr-addon-chk { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1.5px solid rgba(255, 255, 255, .12); cursor: pointer; }
.bhr-addon-chk input { width: 18px; height: 18px; accent-color: #2dd4bf; }
.bhr-addon-chk b { display: block; font-size: .88rem; }
.bhr-addon-chk small { color: rgba(255, 255, 255, .55); font-size: .75rem; }
.bhr-addon-chk:has(input:checked) { border-color: #2dd4bf; background: rgba(45, 212, 191, .1); }

/* Kepala halaman (judul + tombol aksi): tombol tidak pernah terpecah 2 baris di sebelah judul.
   Muat → sebaris di kanan; tidak muat → seluruh grup tombol turun ke bawah judul, rata kanan. */
.bhr-page-head { flex-wrap: wrap; }
.bhr-page-head > .flex-fill { flex: 1 1 320px; min-width: 0; }
.bhr-page-head > :not(.flex-fill) { flex: 0 0 auto; max-width: 100%; }
@media (min-width: 576px) {
    .bhr-page-head > :not(.flex-fill) { margin-left: auto; }
    .bhr-page-head > :not(.flex-fill).d-flex, .bhr-page-head > :not(.flex-fill) .d-flex { justify-content: flex-end; }
}

/* Modal berisi <form> yang membungkus header/body/footer: form ikut jadi kolom flex agar body yang
   bisa di-scroll — form panjang (mode layar penuh di HP / modal-dialog-scrollable) tidak meluber keluar latar kartu. */
.modal-content > form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; max-height: 100%; }
.modal-content > form > .modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
