/* ==========================================================================
   RGB NAVY THEME — overlay ringan (CSS murni, tanpa JS/library).
   - Background: navy agak gelap (#0b1426 / #0f1e3a), teks terang.
   - RGB BERJALAN HALUS: garis warna-warni di setiap tombol & setiap kartu
      (1 keyframes background-position, durasi lambat 12-16 dtk agar hemat CPU).
   - SIDEBAR + NAVBAR: garis tepi RGB berjalan (vertikal di kanan sidebar,
      horizontal di bawah navbar + pemisah .spa + indikator menu aktif
      + garis horizontal tiap baris menu).
   - SELURUH GARIS pakai rgbFlow/rgbFlowY (background-position) agar
      berjalan di SEMUA browser; isi tabel tetap statis agar ringan.
   - SELURUH GARIS: <hr>, garis header tabel & judul sidebar ikut berjalan;
      isi tabel tetap statis agar puluhan baris tidak berat.
   - Popup apapun: background navy + garis RGB agar sinkron.
   - Navbar dirapatkan ke isi (tidak berjauhan).
   Cara pakai:
   - Bagian A dikunci html:not([data-pt-theme]) = HANYA halaman admin/tenant
     & billing (file ini hanya dimuat di sana saat theme=rgb). Halaman publik
     SELALU punya atribut data-pt-theme sehingga Bagian A tidak akan bocor
     ke tema pink/blue/green perangkat pelanggan.
   - Bagian B digate [data-pt-theme="rgb"] (per-device, via dropdown).
   Tetap responsif: tanpa lebar fix, box-sizing border-box. Atas permintaan
   pemilik, garis RGB disengaja tetap berjalan walau perangkat mengaktifkan
   prefers-reduced-motion.
   ========================================================================== */
@keyframes rgbFlow{0%{background-position:0% 50%}100%{background-position:300% 50%}}
/* Orbit RGB mengelilingi: sudut conic diputar (1 keyframes, ringan).
   Browser lama tanpa @property otomatis pakai sudut awal (tetap berwarna). */
@property --rgb-a{syntax:'<angle>';inherits:false;initial-value:0deg}
@keyframes rgbOrbit{to{--rgb-a:360deg}}
/* Aliran vertikal utk garis tepi sidebar (1 keyframes, murah: hanya
   background-position, durasi lambat agar hemat CPU/baterai). */
@keyframes rgbFlowY{0%{background-position:50% 0%}100%{background-position:50% 300%}}
:root{
  --rgb-navy-0:#070d1a; --rgb-navy-1:#0b1426; --rgb-navy-2:#0f1e3a;
  --rgb-navy-3:#132844; --rgb-line:#22385f; --rgb-txt:#e8eef7; --rgb-mut:#9fb0c7;
  --rgb-grad:linear-gradient(90deg,#ff2d55,#ff9500,#ffcc00,#34c759,#5ac8fa,#0a84ff,#bf5af2,#ff2d55);
  --rgb-grad-y:linear-gradient(180deg,#ff2d55,#ff9500,#ffcc00,#34c759,#5ac8fa,#0a84ff,#bf5af2,#ff2d55);
  --rgb-btn:linear-gradient(135deg,#1e1b4b 0%,#4f46e5 55%,#06b6d4 100%);
  --rgb-card:linear-gradient(#0f1e3a,#0f1e3a);
}
/* ================= Bagian A: ADMIN / BILLING (kunci: tanpa data-pt-theme) == */
html:not([data-pt-theme]) body{background-color:var(--rgb-navy-0)!important;color:var(--rgb-txt)}
/* Navbar rapat ke isi: navbar 50px, konten mulai tepat di bawahnya */
html:not([data-pt-theme]) #main{margin-top:50px!important}
html:not([data-pt-theme]) .main-container{color:var(--rgb-txt);padding-top:3px!important}
/* position:fixed bawaan tema JANGAN ditimpa (navbar harus diam saat scroll);
   overflow:visible agar garis RGB tidak terpotong */
html:not([data-pt-theme]) .navbar{background:linear-gradient(180deg,#0f1e3a,#0b1426)!important;border-bottom:none!important;overflow:visible!important}
/* GARIS RGB navbar: garis bawah berjalan (pseudo, tanpa ubah layout/fungsi) */
html:not([data-pt-theme]) .navbar::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--rgb-grad);background-size:300% 100%;animation:rgbFlow 8s linear infinite;pointer-events:none;z-index:10}
/* SIDEBAR: garis tepi kanan RGB BERJALAN vertikal (pengganti border statis).
   Pseudo di dalam (right:0) agar tidak terpotong overflow-x:hidden + tidak
   menggeser layout (lebar sidebar tetap, responsif). */
html:not([data-pt-theme]) .sidenav{background-color:var(--rgb-navy-1)!important;border-right:none!important}
html:not([data-pt-theme]) .sidenav::after{content:"";position:fixed;top:51px;bottom:0;left:208px;right:auto;width:2px;background:var(--rgb-grad-y);background-size:100% 300%;animation:rgbFlowY 8s linear infinite;pointer-events:none;z-index:10;opacity:0;transition:opacity .3s ease;will-change:background-position}
/* Garis tepi hanya tampil saat sidebar TERBUKA (JS set width:210px).
   Saat tertutup (width:0) garis disembunyikan agar tidak ada sisa garis. */
html:not([data-pt-theme]) .sidenav::after{opacity:1}
html:not([data-pt-theme]) .sidenav[style*="width: 0"]::after{opacity:0}
@media(max-width:750px){html:not([data-pt-theme]) .sidenav::after{opacity:0}html:not([data-pt-theme]) .sidenav[style*="210px"]::after{opacity:1}}
html:not([data-pt-theme]) .sidenav{scrollbar-width:thin;scrollbar-color:#6366f1 #0b1426}
html:not([data-pt-theme]) .sidenav::-webkit-scrollbar{width:7px}
html:not([data-pt-theme]) .sidenav::-webkit-scrollbar-track{background:#0b1426}
html:not([data-pt-theme]) .sidenav::-webkit-scrollbar-thumb{border:1px solid #0b1426;border-radius:8px;background:linear-gradient(180deg,#ff2d55,#ff9500,#ffcc00,#34c759,#5ac8fa,#0a84ff,#bf5af2,#ff2d55);background-size:100% 300%;animation:rgbFlowY 4s linear infinite;will-change:background-position}
html:not([data-pt-theme]) .sidenav::-webkit-scrollbar-thumb:hover{filter:brightness(1.15)}
html:not([data-pt-theme]) .sidenav .menu{color:#cdd9ec!important}
html:not([data-pt-theme]) .sidenav .menu:hover,html:not([data-pt-theme]) .sidenav .menu.active{background-color:var(--rgb-navy-3)!important;color:#fff!important}
/* Menu aktif: indikator garis kiri RGB berjalan (hanya 1 elemen aktif = ringan) */
html:not([data-pt-theme]) .sidenav a.menu.active,html:not([data-pt-theme]) .sidenav .dropdown-btn.active{position:relative}
html:not([data-pt-theme]) .sidenav a.menu.active::before,html:not([data-pt-theme]) .sidenav .dropdown-btn.active::before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:3px;border-radius:3px;background:var(--rgb-grad-y);background-size:100% 300%;animation:rgbFlowY 6s linear infinite;pointer-events:none}
/* GARIS HORIZONTAL tiap baris menu sidebar (ke samping): 1px RGB berjalan.
   Pseudo di dalam baris (left/right inset) sehingga tidak menggeser layout,
   ikut lebar sidebar (responsif). Kecualikan judul (.card-header) & .spa
   yg sudah punya garis sendiri. Durasi 10 dtk, keyframes bersama = ringan. */
html:not([data-pt-theme]) .sidenav a.menu:not(.card-header):not(.spa),html:not([data-pt-theme]) .sidenav .dropdown-btn{position:relative}
html:not([data-pt-theme]) .sidenav a.menu:not(.card-header):not(.spa)::after,html:not([data-pt-theme]) .sidenav .dropdown-btn::after{content:"";position:absolute;left:10px;right:10px;bottom:0;height:1px;background:var(--rgb-grad);background-size:300% 100%;animation:rgbFlow 10s linear infinite;opacity:.55;pointer-events:none}
/* Pemisah .spa + judul sidebar: garis RGB berjalan horizontal */
html:not([data-pt-theme]) .sidenav .menu.spa{border-bottom:none!important;height:2px;min-height:2px;margin:8px 10px;padding:0!important;background:var(--rgb-grad);background-size:300% 100%;animation:rgbFlow 8s linear infinite;opacity:.85}
html:not([data-pt-theme]) .sidenav>.menu.card-header:first-child,html:not([data-pt-theme]) #sidenav>.menu.card-header:first-child{position:relative;overflow:hidden}
html:not([data-pt-theme]) .sidenav>.menu.card-header:first-child::after,html:not([data-pt-theme]) #sidenav>.menu.card-header:first-child::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--rgb-grad);background-size:300% 100%;animation:rgbFlow 8s linear infinite;pointer-events:none}
/* Dropdown navbar (tema, bahasa, pilih router): transparan seperti tombol logout.
   Saat tertutup hanya teks; saat dibuka daftar pilihan muncul dgn background navy. */
html:not([data-pt-theme]) .navbar select.ses{background:transparent!important;border:1px solid transparent!important;color:#f2f2f2!important;box-shadow:none!important}
html:not([data-pt-theme]) .navbar select.ses:hover{color:#fff!important;border-color:rgba(255,255,255,.35)!important}
html:not([data-pt-theme]) .navbar select.ses:focus{outline:none;border-color:rgba(255,255,255,.35)!important}
html:not([data-pt-theme]) .navbar select.ses option{background:#0f1e3a!important;color:#e8eef7!important}
/* Kartu + box (dashboard, billing, hotspot, pppoe): navy + GARIS RGB berjalan.
   Pakai rgbFlow (background-position, jalan di SEMUA browser) bukan rgbOrbit
   (butuh @property, di sebagian browser garisnya diam). Lapisan solid navy
   tidak terpengaruh gerakan; lapisan gradien border yang bergerak. */
html:not([data-pt-theme]) .card,html:not([data-pt-theme]) .box.bmh-75,html:not([data-pt-theme]) .overflow.box-bordered{
  border:1px solid transparent!important;color:var(--rgb-txt)!important;position:relative;
  background:var(--rgb-card) padding-box,var(--rgb-grad) border-box!important;
  background-size:100% 100%,300% 100%!important;animation:rgbFlow 8s linear infinite!important}
/* Strip atas kartu/box SENGAJA DITIADAKAN (permintaan pemilik) agar tidak
   tumpang-tindih dgn border keliling. Garis yg tersisa: border keliling
   + garis bawah judul kartu, keduanya rgbFlow 8s yg sama. */
html:not([data-pt-theme]) body .box.bg-blue.bmh-75,html:not([data-pt-theme]) body .box.bg-green.bmh-75,html:not([data-pt-theme]) body .box.bg-yellow.bmh-75,
html:not([data-pt-theme]) body .box.bg-orange.bmh-75,html:not([data-pt-theme]) body .box.bg-red.bmh-75{
  border:1px solid transparent!important;position:relative;
  background:var(--rgb-card) padding-box,var(--rgb-grad) border-box!important;
  background-size:100% 100%,300% 100%!important;animation:rgbFlow 8s linear infinite!important}
/* Header kartu: gradien indigo-navy agar cocok dgn background navy + garis RGB berjalan */
html:not([data-pt-theme]) .card-header{position:relative;overflow:hidden;background:linear-gradient(135deg,#1b2358 0%,#2f3fa3 60%,#1d4ed8 100%)!important;color:#fff!important;border-bottom:none!important}
html:not([data-pt-theme]) .card-header::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--rgb-grad);background-size:300% 100%;animation:rgbFlow 8s linear infinite;pointer-events:none}
html:not([data-pt-theme]) .card-header h3,html:not([data-pt-theme]) .card-header h3 .fa,html:not([data-pt-theme]) .card-header a{color:#fff!important}
html:not([data-pt-theme]) .table,html:not([data-pt-theme]) .bl-scope table.table{background:var(--rgb-navy-2)!important}
html:not([data-pt-theme]) .table th,html:not([data-pt-theme]) .bl-scope table.table th{background:#0b1426!important;color:#fff!important;position:relative}
/* GARIS RGB tabel: hanya baris header (sedikit elemen = ringan), bukan tiap sel.
   Isi tabel tetap garis navy statis agar puluhan baris tidak animasi. */
html:not([data-pt-theme]) .table thead th::after,html:not([data-pt-theme]) .table tr:first-child th::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--rgb-grad);background-size:300% 100%;animation:rgbFlow 8s linear infinite;pointer-events:none}
html:not([data-pt-theme]) .table td,html:not([data-pt-theme]) .bl-scope table.table td{border-bottom:1px solid var(--rgb-line)!important;color:#dbe5f3!important}
html:not([data-pt-theme]) .table tr:hover td,html:not([data-pt-theme]) .bl-scope table.table tr:hover td{background:var(--rgb-navy-3)!important}
/* Semua <hr> + pembatas bawaan (.spa di luar sidenav): garis RGB berjalan */
html:not([data-pt-theme]) hr{border:none!important;height:2px!important;background:var(--rgb-grad)!important;background-size:300% 100%!important;animation:rgbFlow 8s linear infinite;opacity:.85}
html:not([data-pt-theme]) .menu.spa:not(.card-header){border-bottom:none!important}
html:not([data-pt-theme]) input.form-control,html:not([data-pt-theme]) select.form-control,html:not([data-pt-theme]) textarea.form-control,html:not([data-pt-theme]) .form-control{background:var(--rgb-navy-1)!important;border-color:var(--rgb-line)!important;color:var(--rgb-txt)!important}
/* Filter tab Hotspot Users (#hsUserFilter: search + dropdown profile + comment)
   & tab Report Selling (#rpSellFilter: dropdown hari/bulan/tahun + tombol filter):
   garis RGB BERJALAN 2px seperti navbar + daftar dropdown navy mengikuti tema.
   Scope ID unik agar filter lain tak tersentuh. Murni tampilan, data/logika tetap.
   Keyframes lokal + !important agar animasi pasti berjalan (anti cache/override). */
@keyframes hsFilterFlow{0%{background-position:0% 50%}100%{background-position:300% 50%}}
html:not([data-pt-theme]) #hsUserFilter .group-item,html:not([data-pt-theme]) #rpSellFilter .group-item{
  border:2px solid transparent!important;color:var(--rgb-txt)!important;
  background:linear-gradient(#0b1426,#0b1426) padding-box,var(--rgb-grad) border-box!important;
  background-size:100% 100%,300% 100%!important;animation:hsFilterFlow 6s linear infinite!important}
html:not([data-pt-theme]) #hsUserFilter .group-item::placeholder{color:#9fb0c7!important;opacity:1}
html:not([data-pt-theme]) #hsUserFilter .group-item:focus,html:not([data-pt-theme]) #rpSellFilter .group-item:focus{outline:none;color:#fff!important}
html:not([data-pt-theme]) #hsUserFilter select.group-item option,html:not([data-pt-theme]) #rpSellFilter select.group-item option{background:#0f1e3a!important;color:#e8eef7!important}
/* Tombol: isi gradien navy + GARIS RGB berjalan (bahaya/danger tetap merah) */
html:not([data-pt-theme]) .btn.bg-primary,html:not([data-pt-theme]) .bl-scope .btn.bg-primary,html:not([data-pt-theme]) .btn.bg-success,html:not([data-pt-theme]) .btn.bg-info,html:not([data-pt-theme]) .btn.bg-green,html:not([data-pt-theme]) .btn.bg-blue,
html:not([data-pt-theme]) .bl-btn-yes:not(.danger),html:not([data-pt-theme]) .pl-form-btn button,html:not([data-pt-theme]) .pl-ft button,html:not([data-pt-theme]) .gacs-btn-go,html:not([data-pt-theme]) #blMenuBtn,
html:not([data-pt-theme]) .bl-drop a.btn.bg-primary{
  border:1px solid transparent!important;color:#fff!important;
  background:var(--rgb-btn) padding-box,var(--rgb-grad) border-box!important;
  background-size:100% 100%,300% 100%!important;animation:rgbFlow 6s linear infinite;
  box-shadow:0 2px 10px rgba(79,70,229,.35)}
html:not([data-pt-theme]) .btn.bg-primary:hover,html:not([data-pt-theme]) .bl-scope .btn.bg-primary:hover,html:not([data-pt-theme]) .bl-btn-yes:not(.danger):hover,
html:not([data-pt-theme]) .pl-form-btn button:hover,html:not([data-pt-theme]) .pl-ft button:hover{filter:brightness(1.12)}
html:not([data-pt-theme]) .bl-drop{background:var(--rgb-navy-2)!important;border-color:var(--rgb-line)!important}
/* Grafik trafik (Highcharts hc.rgb.js sudah navy, ini pengaman box-nya) */
html:not([data-pt-theme]) #trafficMonitor{background:var(--rgb-navy-2)!important;border-radius:8px}
/* Popup: overlay + kartu navy + GARIS RGB (semua pola popup admin & billing) */
html:not([data-pt-theme]) .bl-modal-bg,html:not([data-pt-theme]) .pl-ov,html:not([data-pt-theme]) body .modal.ap-open,html:not([data-pt-theme]) body .popup-billing-overlay.ap-open,
html:not([data-pt-theme]) body .pg-modal-overlay.ap-open,html:not([data-pt-theme]) body .dev-modal.ap-open,html:not([data-pt-theme]) body .dev-modal.active,
html:not([data-pt-theme]) body .modal-window,html:not([data-pt-theme]) body .gacs-modal-bg,html:not([data-pt-theme]) body .modal-overlay{background:rgba(4,8,18,.66)!important;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
html:not([data-pt-theme]) .bl-modal,html:not([data-pt-theme]) .pl-md,html:not([data-pt-theme]) body .modal>.modal-content,html:not([data-pt-theme]) body .popup-billing-box,
html:not([data-pt-theme]) body .pg-modal-overlay>.pg-modal-content,html:not([data-pt-theme]) body .dev-modal>.dev-modal-card,
html:not([data-pt-theme]) body .modal-window>div,html:not([data-pt-theme]) body .gacs-modal,html:not([data-pt-theme]) body .modal-overlay>.modal-box{
  color:var(--rgb-txt)!important;box-shadow:0 18px 55px rgba(0,0,0,.55)!important;
  border:2px solid transparent!important;
  background:var(--rgb-card) padding-box,var(--rgb-grad) border-box!important;
  background-size:100% 100%,300% 100%!important;animation:rgbFlow 6s linear infinite}
/* Header popup: RGB berjalan halus di atas navy */
html:not([data-pt-theme]) .bl-modal-h,html:not([data-pt-theme]) .pl-hd,html:not([data-pt-theme]) body .modal>.modal-content>h3:first-of-type,html:not([data-pt-theme]) body .popup-billing-title,
html:not([data-pt-theme]) body .pg-modal-content>.card-header,html:not([data-pt-theme]) body .dev-modal-card>h4,html:not([data-pt-theme]) body .modal-window>div>header,
html:not([data-pt-theme]) body .gacs-modal-h,html:not([data-pt-theme]) body .modal-box>.modal-header{position:relative;background:linear-gradient(135deg,#1e1b4b 0%,#4f46e5 45%,#0ea5e9 75%,#22d3ee 100%)!important;color:#fff!important;overflow:hidden}
/* Garis bawah header 2px seperti popup menu Quick Actions (semua pola header) */
html:not([data-pt-theme]) .bl-modal-h::after,html:not([data-pt-theme]) .pl-hd::after,html:not([data-pt-theme]) body .modal>.modal-content>h3:first-of-type::after,html:not([data-pt-theme]) body .popup-billing-title::after,
html:not([data-pt-theme]) body .pg-modal-content>.card-header::after,html:not([data-pt-theme]) body .dev-modal-card>h4::after,html:not([data-pt-theme]) body .modal-window>div>header::after,
html:not([data-pt-theme]) body .gacs-modal-h::after,html:not([data-pt-theme]) body .modal-box>.modal-header::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--rgb-grad);background-size:300% 100%;animation:rgbFlow 5s linear infinite}
html:not([data-pt-theme]) .bl-modal-b,html:not([data-pt-theme]) .bl-modal-b table.table td,html:not([data-pt-theme]) .pl-bd,html:not([data-pt-theme]) body .modal>.modal-content>p{color:var(--rgb-txt)!important}
html:not([data-pt-theme]) .bl-modal-f,html:not([data-pt-theme]) .pl-ft,html:not([data-pt-theme]) body .gacs-modal-f{background:var(--rgb-navy-3)!important;border-top-color:var(--rgb-line)!important}
html:not([data-pt-theme]) .bl-btn-no,html:not([data-pt-theme]) .gacs-btn-close{background:var(--rgb-navy-1)!important;border:1px solid var(--rgb-line)!important;color:var(--rgb-mut)!important}
html:not([data-pt-theme]) .pl-kv td{border-color:var(--rgb-line)!important;color:#dbe5f3!important}
html:not([data-pt-theme]) .pl-kv td:first-child{background:var(--rgb-navy-3)!important;color:#cdd9ec!important}
html:not([data-pt-theme]) .pl-total{background:var(--rgb-navy-3)!important;border-color:#4f46e5!important;color:#fff!important}
html:not([data-pt-theme]) .pl-note{background:var(--rgb-navy-1)!important;border-color:var(--rgb-line)!important;color:var(--rgb-mut)!important}
/* ================= Bagian B: PORTAL/PUBLIK/MEMBER (gate per-device) ======= */
[data-pt-theme="rgb"]{--pt-surface:#0f1e3a;--pt-surface-2:#132844;--pt-border:#22385f;--pt-text:#e8eef7;--pt-muted:#9fb0c7;--pt-accent:#6366f1;--pt-accent-d:#0ea5e9;--pt-shadow:0 1px 2px rgba(0,0,0,.35),0 8px 24px rgba(0,0,0,.35);--pt-shadow-lg:0 14px 44px rgba(0,0,0,.55)}
[data-pt-theme="rgb"] body,body[data-pt-theme="rgb"]{background-color:#070d1a!important}
[data-pt-theme="rgb"] #main{margin-top:50px!important}
[data-pt-theme="rgb"] .navbar{background:linear-gradient(180deg,#0f1e3a,#0b1426)!important;border-bottom:none!important;overflow:visible!important}
[data-pt-theme="rgb"] .navbar::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--rgb-grad);background-size:300% 100%;animation:rgbFlow 8s linear infinite;pointer-events:none;z-index:10}
[data-pt-theme="rgb"] .sidenav{background-color:#0b1426!important;border-right:none!important}
[data-pt-theme="rgb"] .sidenav::after{content:"";position:fixed;top:51px;bottom:0;left:208px;right:auto;width:2px;background:var(--rgb-grad-y);background-size:100% 300%;animation:rgbFlowY 8s linear infinite;pointer-events:none;z-index:10;opacity:0;transition:opacity .3s ease;will-change:background-position}
[data-pt-theme="rgb"] .sidenav::after{opacity:1}
[data-pt-theme="rgb"] .sidenav[style*="width: 0"]::after{opacity:0}
@media(max-width:750px){[data-pt-theme="rgb"] .sidenav::after{opacity:0}[data-pt-theme="rgb"] .sidenav[style*="210px"]::after{opacity:1}}
[data-pt-theme="rgb"] .sidenav{scrollbar-width:thin;scrollbar-color:#6366f1 #0b1426}
[data-pt-theme="rgb"] .sidenav::-webkit-scrollbar{width:7px}
[data-pt-theme="rgb"] .sidenav::-webkit-scrollbar-track{background:#0b1426}
[data-pt-theme="rgb"] .sidenav::-webkit-scrollbar-thumb{border:1px solid #0b1426;border-radius:8px;background:linear-gradient(180deg,#ff2d55,#ff9500,#ffcc00,#34c759,#5ac8fa,#0a84ff,#bf5af2,#ff2d55);background-size:100% 300%;animation:rgbFlowY 4s linear infinite;will-change:background-position}
[data-pt-theme="rgb"] .sidenav::-webkit-scrollbar-thumb:hover{filter:brightness(1.15)}
[data-pt-theme="rgb"] .sidenav .menu.spa{border-bottom:none!important;height:2px;min-height:2px;margin:8px 10px;padding:0!important;background:var(--rgb-grad);background-size:300% 100%;animation:rgbFlow 8s linear infinite;opacity:.85}
[data-pt-theme="rgb"] .sidenav a.menu.active,[data-pt-theme="rgb"] .sidenav .dropdown-btn.active{position:relative}
[data-pt-theme="rgb"] .sidenav a.menu.active::before,[data-pt-theme="rgb"] .sidenav .dropdown-btn.active::before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:3px;border-radius:3px;background:var(--rgb-grad-y);background-size:100% 300%;animation:rgbFlowY 6s linear infinite;pointer-events:none}
[data-pt-theme="rgb"] .sidenav a.menu:not(.card-header):not(.spa),[data-pt-theme="rgb"] .sidenav .dropdown-btn{position:relative}
[data-pt-theme="rgb"] .sidenav a.menu:not(.card-header):not(.spa)::after,[data-pt-theme="rgb"] .sidenav .dropdown-btn::after{content:"";position:absolute;left:10px;right:10px;bottom:0;height:1px;background:var(--rgb-grad);background-size:300% 100%;animation:rgbFlow 10s linear infinite;opacity:.55;pointer-events:none}
[data-pt-theme="rgb"] hr{border:none!important;height:2px!important;background:var(--rgb-grad)!important;background-size:300% 100%!important;animation:rgbFlow 8s linear infinite;opacity:.85}
html[data-pt-theme="rgb"] .main-container .card-header{position:relative;overflow:hidden;background:linear-gradient(135deg,#1b2358 0%,#2f3fa3 60%,#1d4ed8 100%)!important;color:#fff!important;border-bottom:none!important}
html[data-pt-theme="rgb"] .main-container .card-header::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--rgb-grad);background-size:300% 100%;animation:rgbFlow 8s linear infinite;pointer-events:none}
html[data-pt-theme="rgb"] .main-container .card-header h3,html[data-pt-theme="rgb"] .main-container .card-header h3 .fa{color:#fff!important}
[data-pt-theme="rgb"] .main-container .card,[data-pt-theme="rgb"] .pb-item,[data-pt-theme="rgb"] .pb-login,[data-pt-theme="rgb"] .ov-item{
  border:1px solid transparent!important;position:relative;
  background:linear-gradient(#0f1e3a,#0f1e3a) padding-box,var(--rgb-grad) border-box!important;
  background-size:100% 100%,300% 100%!important;animation:rgbFlow 8s linear infinite!important}
[data-pt-theme="rgb"] .btn.bg-primary,[data-pt-theme="rgb"] .bl-scope .btn.bg-primary,
[data-pt-theme="rgb"] .btn-login,[data-pt-theme="rgb"] .bl-btn-yes:not(.danger),
[data-pt-theme="rgb"] .btn.bg-success,[data-pt-theme="rgb"] .btn.bg-info{
  border:1px solid transparent!important;color:#fff!important;
  background:var(--rgb-btn) padding-box,var(--rgb-grad) border-box!important;
  background-size:100% 100%,300% 100%!important;animation:rgbFlow 6s linear infinite;
  box-shadow:0 2px 10px rgba(79,70,229,.35)}
[data-pt-theme="rgb"] .bl-modal-bg{background:rgba(4,8,18,.66)!important}
[data-pt-theme="rgb"] .bl-modal{color:#e8eef7!important;
  border:1px solid transparent!important;
  background:linear-gradient(#0f1e3a,#0f1e3a) padding-box,var(--rgb-grad) border-box!important;
  background-size:100% 100%,300% 100%!important;animation:rgbFlow 6s linear infinite}
[data-pt-theme="rgb"] .bl-modal-h{position:relative;background:linear-gradient(135deg,#1e1b4b 0%,#4f46e5 45%,#0ea5e9 75%,#22d3ee 100%)!important;overflow:hidden}
[data-pt-theme="rgb"] .bl-modal-h::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--rgb-grad);background-size:300% 100%;animation:rgbFlow 5s linear infinite}
[data-pt-theme="rgb"] .bl-modal-b,[data-pt-theme="rgb"] .bl-modal-b table.table td{color:#e8eef7!important}
[data-pt-theme="rgb"] .bl-modal-f{background:#132844!important;border-top-color:#22385f!important}
[data-pt-theme="rgb"] .pt-hero{background:linear-gradient(135deg,#1e1b4b,#4f46e5 55%,#0ea5e9)!important}
/* Box-sizing: popup tetap di tengah dgn lebar desainnya (520px/dll).
   JANGAN paksa max-width di sini (lebar rapi sudah diatur admin-popup.css);
   aturan ini hanya cegah meluber via box-sizing. */
.bl-modal,.pl-md,.modal-content,.popup-billing-box,.gacs-modal,.modal-box{box-sizing:border-box}
.bl-modal *,.pl-md *{box-sizing:border-box}
/* CATATAN PEMILIK: garis RGB disengaja TETAP berjalan walau OS/browser
   mengaktifkan prefers-reduced-motion (permintaan tegas pemilik dashboard). */
/* SYNC GERAK (tampilan tak diubah): semua kartu/box bergaris RGB gerakannya
   disamakan dgn popup Quick Actions (qsRgbFlow: 6s linear infinite).
   Hanya menegaskan background-size 2 lapis + animasi yg kadang ke-reset
   shorthand; warna/border/tebal/layout tetap seperti aturan di atas.
   8 kartu dashboard (animasi conic dashOrbit inline ber-ID #reloadHome)
   tidak tersentuh karena spesifisitasnya lebih tinggi. */
html:not([data-pt-theme]) .card,
html:not([data-pt-theme]) .box.bmh-75,
html:not([data-pt-theme]) .overflow.box-bordered,
html:not([data-pt-theme]) body .box.bg-blue.bmh-75,
html:not([data-pt-theme]) body .box.bg-green.bmh-75,
html:not([data-pt-theme]) body .box.bg-yellow.bmh-75,
html:not([data-pt-theme]) body .box.bg-orange.bmh-75,
html:not([data-pt-theme]) body .box.bg-red.bmh-75{
  background-size:100% 100%,300% 100%!important;
  animation-name:rgbFlow!important;
  animation-duration:6s!important;
  animation-timing-function:linear!important;
  animation-iteration-count:infinite!important}
