@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
:root{--bg:#071326;--surface:#0d1d38;--surface2:#10264a;--line:rgba(116,164,255,.18);--text:#eaf2ff;--muted:#91a7c7;--blue:#168bff;--cyan:#20d7e8;--purple:#8a55ff;--green:#20d6a0;--gold:#ffca5c;--shadow:0 18px 48px rgba(0,0,0,.28)}
*{font-family:Inter,system-ui,sans-serif}html{min-height:100%;background:var(--bg)}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 80% -10%,rgba(35,105,230,.22),transparent 38%),radial-gradient(ellipse at 10% 100%,rgba(112,53,255,.12),transparent 34%),var(--bg);color:var(--text)}
.sidebar{position:fixed;inset:0 auto 0 0;width:258px;background:linear-gradient(180deg,#0b1d3b 0%,#08152c 100%);padding:25px 17px;color:white;z-index:10;border-right:1px solid var(--line);box-shadow:12px 0 40px #0002}.brand{display:flex;gap:12px;align-items:center;color:#fff;text-decoration:none;font-weight:900;letter-spacing:.07em;font-size:14px;padding:4px 8px 20px}.brand small{font-size:10px;letter-spacing:.24em;color:#9bb8e5}.brand-mark{width:46px;height:46px;border-radius:15px;background:linear-gradient(135deg,#22c7ff,#2359ff 65%,#804bff);display:inline-flex;align-items:center;justify-content:center;color:white;font-weight:900;font-size:20px;box-shadow:0 8px 25px #167bff66}.nav-caption{font-size:10px;letter-spacing:.2em;color:#708bb4;margin:26px 10px 12px;font-weight:800}.nav-link{display:flex;align-items:center;color:#aebfda;text-decoration:none;padding:11px 13px;border-radius:11px;margin:5px 0;font-size:12px;font-weight:650;border:1px solid transparent;transition:.2s}.nav-link:hover,.nav-link:focus,.nav-link.active{background:linear-gradient(100deg,rgba(20,139,255,.30),rgba(126,76,255,.18));color:white;border-color:rgba(65,158,255,.38);box-shadow:inset 3px 0 #28baff,0 6px 20px #126bff20}.sidebar-bottom{position:absolute;bottom:20px;left:17px;right:17px;border-top:1px solid var(--line);padding-top:16px;font-size:12px;color:#e8f1ff}.sidebar-bottom .btn{border-color:#426a9e;color:#dceaff}.main{margin-left:258px;min-height:100vh}.topbar{height:86px;background:rgba(9,25,49,.88);backdrop-filter:blur(18px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:sticky;top:0;z-index:5}.topbar h1{font-size:21px;font-weight:800;margin:3px 0 0;color:#f4f8ff;letter-spacing:-.03em}.topbar .small{color:#7895bd!important;font-size:10px;letter-spacing:.16em;font-weight:800}.avatar{height:42px;width:42px;border-radius:50%;background:linear-gradient(135deg,#1cc7f5,#465dff 65%,#9a50ff);color:white;display:grid;place-items:center;font-weight:900;box-shadow:0 0 22px #3b8dff66;border:2px solid #ffffff30}.content{padding:28px 32px 42px;max-width:1600px;margin:auto}.welcome-panel{background:linear-gradient(110deg,#0758a7 0%,#173d9a 53%,#542bb2 100%);border:1px solid #65b8ff55;border-radius:20px;padding:28px 30px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 18px 45px #164ebd45;position:relative;overflow:hidden}.welcome-panel:after{content:'';position:absolute;width:280px;height:280px;border-radius:50%;right:10%;top:-190px;border:1px solid #ffffff25;box-shadow:0 0 0 28px #ffffff08,0 0 0 58px #ffffff05}.welcome-panel h2{font-size:27px;font-weight:850;letter-spacing:-.04em}.welcome-panel p{color:#c4d9ff!important}.welcome-chip{background:#ffffff18;color:white;border:1px solid #ffffff48;padding:9px 15px;border-radius:30px;font-size:11px;font-weight:800;white-space:nowrap;z-index:1}.metric-card,.panel-card{background:linear-gradient(145deg,rgba(17,39,73,.98),rgba(10,26,52,.98));border:1px solid var(--line);border-radius:17px;padding:21px;color:var(--text);box-shadow:var(--shadow);position:relative;overflow:hidden}.metric-card:before{content:'';position:absolute;right:-35px;top:-45px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,#1d8dff20,transparent 70%)}.metric-icon{width:40px;height:40px;border-radius:13px;background:linear-gradient(135deg,#0c8bff35,#7951ff35);border:1px solid #4c9eff44;color:#53c9ff;display:grid;place-items:center;font-size:19px;margin-bottom:15px}.metric-card .text-secondary,.panel-card .text-secondary,.content .text-secondary{color:var(--muted)!important}.metric-value{font-size:31px;font-weight:850;letter-spacing:-.05em;margin:4px 0;color:#fff}.eyebrow{font-size:10px;font-weight:850;letter-spacing:.18em;color:#6e9bd4;margin-bottom:7px}.hierarchy-row{display:flex;align-items:center;gap:13px;padding:10px 0;color:#e6f0ff}.hierarchy-dot{width:11px;height:11px;border-radius:50%;display:block;box-shadow:0 0 14px currentColor}.dot-one{background:#319dff;color:#319dff}.dot-two{background:#20d6bb;color:#20d6bb}.dot-three{background:#ffbd55;color:#ffbd55}.hierarchy-line{height:16px;border-left:1px dashed #45638b;margin-left:5px}.form-control,.form-select{background:#091a34!important;border-color:#294569!important;color:#eaf2ff!important;border-radius:10px;font-size:13px;padding:11px 13px}.form-control::placeholder{color:#7289aa}.form-control:focus,.form-select:focus{box-shadow:0 0 0 .2rem #168bff28!important;border-color:#248fff!important}.form-label{font-size:12px;font-weight:700;color:#a9bddb}.btn{border-radius:10px;font-size:12px;font-weight:750;padding:10px 15px}.btn-primary{background:linear-gradient(100deg,#078cf5,#4e58f6 70%,#8450ef);border:0;box-shadow:0 8px 20px #1b70e844}.btn-primary:hover{filter:brightness(1.12)}.btn-outline-primary{color:#79c8ff;border-color:#2d80c8}.btn-outline-primary:hover{background:#147bd5;color:white}.btn-outline-light{border-color:#46658e}.table{font-size:12px;color:#dceaff!important;--bs-table-bg:transparent;--bs-table-color:#dceaff;--bs-table-border-color:var(--line)}.table th{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#83a2cc!important;border-bottom-color:var(--line)!important}.table td{padding-top:13px;padding-bottom:13px;border-color:var(--line)!important;color:#d6e4fa}.table>:not(caption)>*>*{background:transparent}.alert{border-radius:13px;border:1px solid var(--line);background:#10284a;color:#dbeaff}.alert-warning{background:#3b2d16;color:#ffe2a3;border-color:#9e742e66}.alert-info{background:#102e4c;color:#bce6ff}.alert-success{background:#0d382f;color:#baf6df}.alert-danger{background:#3b1d2a;color:#ffc3d0}.badge{letter-spacing:.02em}.login-bg,.install-bg{min-height:100vh;background:radial-gradient(circle at 15% 10%,#164b86,transparent 35%),var(--bg);display:grid;place-items:center;padding:24px}.login-card,.install-card{width:min(100%,440px);background:linear-gradient(145deg,#12294b,#091a34);color:#eaf2ff;border:1px solid var(--line);border-radius:22px;padding:36px;box-shadow:0 24px 70px #0007}.install-card{width:min(100%,560px)}hr{border-color:var(--line);opacity:1}a{color:#70c7ff}.content h2,.content h3,.content h4,.content h5{color:#f0f6ff}.content .text-white{color:#fff!important}.form-check-input{background-color:#091a34;border-color:#46658b}.form-check-input:checked{background-color:#167eea;border-color:#167eea}
@media(max-width:900px){.sidebar{width:220px}.main{margin-left:220px}.content{padding:20px}.topbar{padding:0 22px}}
@media(max-width:700px){.sidebar{position:relative;width:auto;min-height:auto;padding:14px}.sidebar .nav-caption{margin:16px 8px 8px}.sidebar .nav-link{display:inline-flex;margin:3px;padding:8px 10px;font-size:11px}.sidebar .sidebar-bottom{position:static;margin-top:14px}.main{margin-left:0}.topbar{height:70px;padding:0 16px}.content{padding:16px}.welcome-panel{padding:22px;display:block}.welcome-panel h2{font-size:22px}.welcome-chip{display:inline-block;margin-top:16px}.login-card,.install-card{padding:25px}}

/* v7.1.2 sidebar layout correction */
.sidebar{box-sizing:border-box;height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden;padding:18px 14px 16px}
.sidebar .brand{flex:0 0 auto;margin-bottom:2px;padding-bottom:12px}
.sidebar .nav-caption{flex:0 0 auto;margin:14px 10px 9px;line-height:1.5}
.sidebar-menu{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 2px 12px;scrollbar-width:thin;scrollbar-color:#355783 transparent}
.sidebar-menu .nav-link{flex:0 0 auto;min-height:40px;margin:3px 0;padding:10px;gap:8px;line-height:1.35}
.sidebar-menu .nav-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;font-size:16px}
.sidebar-bottom{position:static;inset:auto;flex:0 0 auto;width:auto;margin-top:auto;padding:13px 3px 0;border-top:1px solid rgba(116,164,255,.22);line-height:1.45;overflow:hidden}
.sidebar-user-label{font-size:10px;letter-spacing:.12em;color:#91a7c7;margin-bottom:5px}
.sidebar-user-name{display:block;max-width:100%;font-size:13px;line-height:1.35;font-weight:800;overflow-wrap:anywhere;word-break:break-word}
.sidebar-user-role{font-size:11px;color:#91a7c7;margin-top:3px}
.sidebar-bottom .btn{display:block;margin-top:11px!important}
@media(max-width:700px){.sidebar{height:auto;min-height:0;overflow:visible;display:block}.sidebar-menu{display:flex;flex-direction:row;flex-wrap:wrap;overflow:visible;min-height:0;padding-bottom:4px}.sidebar-menu .nav-link{display:inline-flex;width:auto}.sidebar-bottom{position:static;margin-top:12px}}

/* JS Multi Recharge · Premium light dashboard (scoped to Dashboard only) */
.dashboard-page{background:#f3f6fc;color:#111d3b}.dashboard-page .main{background:#f3f6fc}.dashboard-page .topbar{height:76px;background:#fff;border-bottom:1px solid #e7ecf5;box-shadow:0 3px 16px #1c37600a}.dashboard-page .topbar h1{color:#142344;font-size:20px}.dashboard-page .topbar .small{color:#8290a9!important}.dashboard-page .avatar{box-shadow:none;border:0}.dashboard-page .content{max-width:1700px;padding:25px 30px 40px}.dashboard-page .dash-hero{min-height:188px;position:relative;overflow:hidden;border-radius:19px;padding:29px 34px;background:linear-gradient(110deg,#24108e 0%,#2518b9 48%,#0757c8 100%);box-shadow:0 13px 30px #2439a52b;color:#fff;display:flex;align-items:center;justify-content:space-between}.dashboard-page .dash-hero:before{content:'';position:absolute;width:430px;height:430px;border:1px solid #ffffff1c;border-radius:50%;right:13%;top:-290px;box-shadow:0 0 0 35px #ffffff08,0 0 0 75px #ffffff06}.dashboard-page .dash-hero-copy{position:relative;z-index:2}.dashboard-page .dash-kicker,.dashboard-page .dash-section-label{font-size:10px;letter-spacing:.16em;font-weight:850;color:#b9c9ff}.dashboard-page .dash-hero h2{color:#fff;font-size:29px;font-weight:850;letter-spacing:-.04em;margin:10px 0 5px}.dashboard-page .dash-hero h2 span{color:#ffd36d}.dashboard-page .dash-hero p{color:#d9e3ff;margin:0;font-size:13px}.dashboard-page .dash-hero-actions{display:flex;gap:20px;align-items:center;margin-top:20px}.dashboard-page .dash-hero-btn{background:#fff;color:#2537b9;padding:10px 16px;border-radius:9px;text-decoration:none;font-weight:800;font-size:12px;box-shadow:0 7px 18px #060b4a33}.dashboard-page .dash-hero-link{color:#fff;text-decoration:none;font-size:12px;font-weight:700}.dashboard-page .dash-role-pill{position:absolute;right:25px;top:20px;padding:7px 12px;border:1px solid #ffffff55;background:#ffffff18;border-radius:30px;font-size:10px;font-weight:800;color:white}.dashboard-page .dash-hero-art{position:absolute;right:8%;top:0;width:290px;height:100%;opacity:.95}.dashboard-page .art-orbit{position:absolute;border:1px solid #74d5ff70;border-radius:50%;width:230px;height:150px;right:0;top:25px;transform:rotate(-25deg);box-shadow:0 0 28px #1aa8ff50}.dashboard-page .orbit-b{width:270px;height:110px;top:47px;right:-18px;transform:rotate(20deg);border-color:#b28bff66}.dashboard-page .art-phone{position:absolute;right:82px;top:22px;width:82px;height:145px;border:3px solid #c8e7ff;border-radius:17px;background:linear-gradient(160deg,#102a66,#07183e);box-shadow:0 10px 30px #050d4d88;transform:rotate(9deg);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:white}.dashboard-page .phone-notch{position:absolute;top:5px;width:28px;height:5px;border-radius:5px;background:#9dbbe9}.dashboard-page .phone-check{width:39px;height:39px;border-radius:50%;background:#12c88a;display:grid;place-items:center;font-size:23px;font-weight:900}.dashboard-page .art-phone b{font-size:12px}.dashboard-page .art-phone small{font-size:7px;text-align:center;color:#bcd4ff}.dashboard-page .art-bubble{position:absolute;width:35px;height:35px;border-radius:12px;background:linear-gradient(145deg,#2baaff,#574bff);display:grid;place-items:center;color:white;font-size:20px;font-weight:900;box-shadow:0 6px 20px #06134d77}.dashboard-page .bubble-one{right:190px;top:47px}.dashboard-page .bubble-two{right:32px;bottom:34px;background:linear-gradient(145deg,#12d39a,#078b7a)}.dashboard-page .dash-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-top:18px}.dashboard-page .dash-stat{border-radius:15px;padding:17px 19px;color:white;min-height:144px;box-shadow:0 8px 20px #263c6417;position:relative;overflow:hidden}.dashboard-page .dash-stat:after{content:'';position:absolute;width:145px;height:145px;border:1px solid #ffffff22;border-radius:50%;right:-55px;bottom:-90px;box-shadow:0 0 0 18px #ffffff0a}.dashboard-page .stat-wallet{background:linear-gradient(125deg,#4331e7,#2515b4)}.dashboard-page .stat-recharge{background:linear-gradient(125deg,#0bbd78,#008354)}.dashboard-page .stat-users{background:linear-gradient(125deg,#ff9d18,#ef4b12)}.dashboard-page .stat-transactions{background:linear-gradient(125deg,#168df3,#0645c5)}.dashboard-page .stat-top{display:flex;justify-content:space-between;align-items:center}.dashboard-page .stat-icon{width:35px;height:35px;border-radius:12px;background:#ffffff25;display:grid;place-items:center;font-size:19px;font-weight:850}.dashboard-page .stat-tag{font-size:9px;letter-spacing:.12em;color:#ffffffc9;font-weight:800}.dashboard-page .stat-label{font-size:11px;color:#ffffffd9;margin-top:13px}.dashboard-page .stat-number{font-size:25px;font-weight:850;letter-spacing:-.04em;margin-top:2px}.dashboard-page .stat-number small{font-size:11px;font-weight:600}.dashboard-page .dash-stat a,.dashboard-page .stat-foot{font-size:10px;color:#ffffffd9;text-decoration:none;display:inline-block;margin-top:5px}.dashboard-page .dash-main-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:16px;margin-top:17px}.dashboard-page .dash-card{background:#fff;border:1px solid #e6ebf4;border-radius:16px;padding:20px 21px;box-shadow:0 5px 18px #233b650c;min-width:0}.dashboard-page .dash-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:15px}.dashboard-page .dash-section-label{color:#3977c9;font-size:9px}.dashboard-page .dash-card h3{font-size:17px;font-weight:850;letter-spacing:-.025em;color:#142344;margin:3px 0}.dashboard-page .dash-card-head p{font-size:11px;color:#8290a6;margin:0}.dashboard-page .dash-card-icon{width:35px;height:35px;border-radius:11px;background:#edf4ff;color:#2876dc;display:grid;place-items:center;font-size:19px}.dashboard-page .activity-chart{height:178px;position:relative;padding:8px 0 24px 0}.dashboard-page .chart-guides{position:absolute;inset:10px 0 29px;display:flex;flex-direction:column;justify-content:space-between}.dashboard-page .chart-guides i{border-top:1px dashed #e7edf6}.dashboard-page .chart-bars{position:relative;z-index:1;height:100%;display:flex;align-items:flex-end;justify-content:space-around;gap:10px}.dashboard-page .chart-bar-col{height:100%;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;min-width:0}.dashboard-page .chart-bar-value{font-size:10px;color:#7b8aa3;font-weight:700}.dashboard-page .chart-bar{width:min(28px,65%);min-height:4px;border-radius:7px 7px 3px 3px;background:linear-gradient(180deg,#4a85f5,#6545dc);box-shadow:0 4px 10px #4d70dc30}.dashboard-page .chart-bar-col span{font-size:9px;color:#8794aa;white-space:nowrap}.dashboard-page .network-count{display:flex;align-items:center;gap:10px;padding:13px 1px;border-bottom:1px solid #edf0f6;font-size:12px;color:#53617a}.dashboard-page .network-count strong{margin-left:auto;color:#172647;font-size:15px}.dashboard-page .network-dot{width:9px;height:9px;border-radius:50%;background:#287ef0}.dashboard-page .network-dot.distributor{background:#0bbd87}.dashboard-page .network-dot.retailer{background:#ff9a2e}.dashboard-page .dash-outline-btn{display:block;text-align:center;margin-top:15px;border:1px solid #d7e4f7;border-radius:9px;padding:10px;color:#2467c4;text-decoration:none;font-size:11px;font-weight:800}.dashboard-page .dash-recent{margin-top:16px}.dashboard-page .dash-view-all{font-size:11px;color:#276bd0;text-decoration:none;font-weight:800;white-space:nowrap}.dashboard-page .dash-table{--bs-table-color:#273653;--bs-table-border-color:#edf0f6;font-size:11px;margin-bottom:0}.dashboard-page .dash-table th{font-size:9px;color:#8793a8!important;letter-spacing:.08em;border-bottom:1px solid #e9edf5!important;padding:10px 9px}.dashboard-page .dash-table td{color:#33415c;padding:12px 9px;border-color:#eff2f7!important}.dashboard-page .dash-table td small{display:block;color:#8a96aa;font-size:9px;margin-top:3px}.dashboard-page .dash-ref{font-size:10px;color:#54709b;font-weight:700}.dashboard-page .dash-status{display:inline-block;padding:5px 9px;border-radius:20px;font-size:9px;font-weight:850}.dashboard-page .status-success{background:#e0f8ed;color:#07844e}.dashboard-page .status-failed{background:#ffe7e9;color:#c52d3b}.dashboard-page .status-pending{background:#fff3d8;color:#a66a00}.dashboard-page .dash-empty{text-align:center!important;color:#8996aa!important;padding:25px!important}
@media(max-width:1050px){.dashboard-page .dash-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-page .dash-hero-art{right:2%;opacity:.55}}
@media(max-width:760px){.dashboard-page .content{padding:16px}.dashboard-page .dash-hero{padding:23px 20px;min-height:180px}.dashboard-page .dash-hero h2{font-size:22px;max-width:75%}.dashboard-page .dash-hero p{max-width:72%;font-size:11px}.dashboard-page .dash-hero-art{right:-45px;opacity:.28}.dashboard-page .dash-role-pill{right:14px;top:12px}.dashboard-page .dash-stat-grid{gap:10px}.dashboard-page .dash-stat{padding:14px;min-height:130px}.dashboard-page .stat-number{font-size:20px}.dashboard-page .dash-main-grid{grid-template-columns:1fr}.dashboard-page .dash-card{padding:16px}.dashboard-page .dash-table{min-width:690px}}

/* Live recharge status monitor */
.dashboard-page .dash-live-status{margin-top:17px}
.dashboard-page .live-indicator{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:30px;background:#e8fbf2;color:#07844e;font-size:9px;font-weight:900;letter-spacing:.08em}
.dashboard-page .live-indicator i{width:7px;height:7px;border-radius:50%;background:#0bbd78;box-shadow:0 0 0 4px #0bbd7820}
.dashboard-page .status-summary{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:3px 0 12px}
.dashboard-page .status-summary strong{font-size:25px;line-height:1.2;color:#142344;font-weight:900}
.dashboard-page .status-summary span{font-size:11px;color:#65738c}
.dashboard-page .status-summary small{margin-left:auto;font-size:10px;color:#8b98ab}
.dashboard-page .status-track{height:13px;display:flex;overflow:hidden;border-radius:20px;background:#edf1f6;gap:2px}
.dashboard-page .status-segment{height:100%;min-width:0;transition:width .35s ease}
.dashboard-page .status-segment.success{background:#12b981}
.dashboard-page .status-segment.failed{background:#ef4444}
.dashboard-page .status-segment.pending{background:#f4b52e}
.dashboard-page .status-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.dashboard-page .status-legend>div{display:flex;align-items:center;gap:7px;min-width:0;color:#5c6980;font-size:11px}
.dashboard-page .status-legend b{margin-left:auto;color:#172647;font-size:13px}
.dashboard-page .legend-dot{width:9px;height:9px;border-radius:50%;flex:none}
.dashboard-page .legend-dot.success{background:#12b981}
.dashboard-page .legend-dot.failed{background:#ef4444}
.dashboard-page .legend-dot.pending{background:#f4b52e}
@media(max-width:560px){.dashboard-page .status-legend{gap:7px}.dashboard-page .status-legend>div{font-size:10px}.dashboard-page .status-summary small{width:100%;margin-left:0}}
