:root {
    --bg: #f4f8ff;
    --panel: #ffffff;
    --ink: #10213f;
    --muted: #60708a;
    --line: #d7e2f2;
    --primary: #155bd5;
    --primary-dark: #0e3f9c;
    --accent: #ffc400;
    --accent-soft: #fff4c2;
    --danger: #d71920;
    --danger-dark: #a80f15;
    --success: #087f5b;
    --sidebar: #082b66;
}

/* Professional mobile recharge workspace */
.admin-service-modal[hidden]{display:none}.admin-service-modal{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:20px;background:rgba(3,16,38,.82);backdrop-filter:blur(4px)}.admin-service-modal>section{width:min(920px,100%);max-height:calc(100vh - 40px);overflow:auto;border-radius:18px;background:#f6f9fd;box-shadow:0 30px 100px rgba(0,0,0,.42)}.admin-service-modal header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #dce5f1;background:#fff}.admin-service-modal header h2,.admin-service-modal header p{margin:0}.admin-service-modal header button{display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:#edf2f8;color:#334b6b;font-size:25px}.admin-service-modal-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}.admin-service-modal-content article{min-width:0;padding:16px;border:1px solid #dce5f1;border-radius:13px;background:#fff}.admin-service-modal-content article h3{margin:0 0 12px;color:#173f76;font-size:14px}.admin-service-modal-content article:nth-child(3),.admin-service-modal-content article:last-child{grid-column:1/-1}.admin-service-modal-content .role-commission-form{max-width:none}.service-modal-open{overflow:hidden}.admin-service-select-table.has-selection th{display:none}.admin-service-select-table tr.selected td{display:none}@media(max-width:700px){.admin-service-modal{padding:8px}.admin-service-modal>section{max-height:calc(100vh - 16px)}.admin-service-modal-content{grid-template-columns:1fr;padding:10px}.admin-service-modal-content article:nth-child(3),.admin-service-modal-content article:last-child{grid-column:auto}}
.admin-service-select-table th:nth-child(8),.admin-service-select-table td:nth-child(8),.admin-service-select-table.has-selection th{display:table-cell}
.admin-service-search{position:relative;margin-bottom:14px}.admin-service-search input{width:100%;min-height:46px;padding:11px 15px;border:1px solid #d7e2f2;border-radius:12px;background:#f8fbff;font:inherit}.admin-service-search input:focus{border-color:#155bd5;outline:0;box-shadow:0 0 0 4px rgba(21,91,213,.1)}.admin-service-select-table tbody tr{cursor:pointer}.admin-service-select-table tbody tr:hover{background:#f4f8ff}.admin-service-select-table th:nth-child(n+5),.admin-service-select-table td:nth-child(n+5){display:none}.admin-service-select-table tr.selected td{display:table-cell}.admin-service-select-table tr.selected{background:#eef5ff;box-shadow:inset 3px 0 #155bd5}.admin-service-select-table tr.selected td{animation:serviceOptionReveal .18s ease-out}.admin-service-table-wrap:after{display:block;padding:9px 2px 0;color:#718199;font-size:11px;content:"Select a service to view charge, rent, commission and actions."}@keyframes serviceOptionReveal{from{opacity:.25}to{opacity:1}}@media(max-width:800px){.admin-service-select-table tr.selected{display:table-row}.admin-service-select-table tr.selected td{min-width:150px}}
.dth-page .dth-pro-layout{grid-template-columns:minmax(0,1.65fr) minmax(260px,.55fr);align-items:start;gap:22px}.dth-page .dth-pro-form{overflow:visible;padding:0;border:1px solid #dce6f3;box-shadow:0 16px 42px rgba(17,51,98,.08)}.dth-page .dth-pro-form>*:not(.recharge-pro-head){margin-left:24px;margin-right:24px}.dth-page .recharge-pro-head{border-radius:16px 16px 0 0}.dth-page .dth-operator-title{padding-top:18px}.dth-page [data-dth-customer-step]{gap:10px}.dth-page [data-dth-view-details]{min-height:46px}.dth-page .recharge-side-card{position:sticky;top:18px;padding:18px}.dth-page .recharge-preview-modal{z-index:10000;background:rgba(3,16,38,.88);backdrop-filter:blur(4px)}.dth-page .recharge-preview-dialog{border:1px solid #d8e3f0;border-radius:18px;box-shadow:0 28px 90px rgba(0,0,0,.45)}.dth-page .recharge-preview-dialog input{min-height:48px;font-size:20px;letter-spacing:.25em;text-align:center}@media(max-width:1050px){.dth-page .dth-pro-layout{grid-template-columns:1fr}.dth-page .recharge-side-card{position:static}}@media(max-width:600px){.dth-page .dth-pro-form>*:not(.recharge-pro-head){margin-left:15px;margin-right:15px}.dth-page .dth-operator-grid{grid-template-columns:1fr}}
.recharge-page .recharge-layout{grid-template-columns:minmax(0,1.65fr) minmax(260px,.55fr)!important}
.recharge-page .recharge-side-card{padding:18px}
.recharge-page .recharge-empty-receipt{padding:22px 10px!important}
.recharge-page .recharge-pro-head{border-radius:16px 16px 0 0}
.recharge-page .recharge-pro-form{overflow:visible}.recharge-page .recharge-pro-head{border-radius:var(--radius) var(--radius) 0 0}.recharge-page .recharge-preview-modal{z-index:10000;background:rgba(3,16,38,.88);backdrop-filter:blur(4px)}.recharge-page .recharge-preview-dialog{border:1px solid #d8e3f0;border-radius:18px;box-shadow:0 28px 90px rgba(0,0,0,.45)}.recharge-page .recharge-preview-dialog input{min-height:48px;font-size:20px;letter-spacing:.25em;text-align:center}.recent-recharge-list{display:grid;margin-top:10px}.recent-recharge-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 2px;border-bottom:1px solid #e7edf5}.recent-recharge-list article:last-child{border-bottom:0}.recent-recharge-list article>div{display:grid;gap:3px}.recent-recharge-list article>div:last-child{justify-items:end}.recent-recharge-list strong{color:#243b5a;font-size:13px}.recent-recharge-list span:not(.badge){color:#8190a4;font-size:10px}.recent-recharge-list .badge{padding:3px 7px;font-size:9px}.recharge-shield .admin-icon{width:19px;height:19px}
.recharge-page .recharge-layout{grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);align-items:start;gap:22px}.recharge-pro-form{padding:0;overflow:hidden;border:1px solid #dce6f3;box-shadow:0 16px 42px rgba(17,51,98,.08)}.recharge-pro-form>*:not(.recharge-pro-head){margin-left:24px;margin-right:24px}.recharge-pro-form>.recharge-step-panel{margin-bottom:24px}.recharge-pro-head{display:flex;align-items:center;gap:15px;padding:24px;background:linear-gradient(135deg,#082b66 0%,#0c59b5 70%,#168bd1 100%);color:#fff}.recharge-pro-head h2{margin:2px 0 3px;font-size:24px}.recharge-pro-head .eyebrow,.recharge-pro-head span{color:#d7eaff}.recharge-phone-mark{display:grid;place-items:center;width:52px;height:52px;flex:none;border:1px solid rgba(255,255,255,.25);border-radius:16px;background:rgba(255,255,255,.14)}.recharge-phone-mark .admin-icon{width:27px;height:27px;stroke:#fff}.recharge-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding-top:20px}.recharge-progress span{display:flex;align-items:center;gap:7px;color:#8291a8;font-size:12px;font-weight:800}.recharge-progress span:after{height:2px;flex:1;background:#e1e7ef;content:""}.recharge-progress span:last-child:after{display:none}.recharge-progress b,.recharge-step-title>b{display:grid;place-items:center;width:26px;height:26px;flex:none;border-radius:50%;background:#e9eef5;color:#60718a;font-size:12px}.recharge-progress .active{color:#0b5ab6}.recharge-progress .active b,.recharge-step-title>b{background:#0b5ab6;color:#fff}.recharge-main-field>span{display:block;margin-bottom:7px;color:#253754;font-size:13px;font-weight:800}.recharge-input-wrap{display:flex;align-items:center;border:1.5px solid #cbd7e7;border-radius:12px;background:#fff;transition:.2s}.recharge-input-wrap:focus-within{border-color:#0b66c3;box-shadow:0 0 0 4px rgba(11,102,195,.1)}.recharge-input-wrap b{padding:0 14px;border-right:1px solid #dce4ef;color:#415674}.recharge-input-wrap input{min-height:50px;border:0!important;box-shadow:none!important;font-size:17px;font-weight:700}.recharge-input-wrap.amount b{font-size:20px}.recharge-fetch-status{border:1px solid #e1e8f1;background:#f6f9fc}.recharge-step-title{display:flex;align-items:center;gap:10px}.recharge-step-title strong,.recharge-step-title span{display:block}.recharge-step-title span{margin-top:2px;color:#7b899d;font-size:11px}.recharge-auto-result{position:relative;padding:15px 16px 15px 48px;border-color:#bce6d5;background:#effbf6}.recharge-auto-result:before{position:absolute;left:16px;top:50%;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#0aa36c;color:#fff;font-weight:900;content:"✓";transform:translateY(-50%)}.recharge-auto-result strong{color:#087a54}.recharge-plan-actions button{border:1px solid #cdddf0;background:#f5f9ff;color:#0b58aa}.recharge-plan-actions button:hover{border-color:#0b66c3;background:#eaf4ff}.recharge-quick-amounts{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.recharge-quick-amounts button{padding:9px 6px;border:1px solid #d5dfec;border-radius:9px;background:#fff;color:#38506f;font-weight:800}.recharge-quick-amounts button:hover{border-color:#0b66c3;background:#edf6ff;color:#0b58aa}.recharge-continue{display:flex;align-items:center;justify-content:center;gap:10px;min-height:50px;font-size:15px}.recharge-continue span{font-size:21px}.recharge-side-card{position:sticky;top:18px;border:1px solid #dce6f3;box-shadow:0 16px 42px rgba(17,51,98,.07)}.recharge-side-head{display:flex;align-items:center;gap:11px;padding-bottom:15px;border-bottom:1px solid #e5ebf3}.recharge-side-head h2{margin:0;font-size:18px}.recharge-side-head span{color:#8290a3;font-size:11px}.recharge-shield{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#e8f8f1;color:#079566;font-weight:900}.recharge-empty-receipt{display:grid;justify-items:center;gap:7px;padding:34px 15px!important}.recharge-empty-receipt div{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:#eef5ff;color:#0b60bb}.recharge-empty-receipt .admin-icon{width:27px;height:27px}.recharge-empty-receipt strong{color:#344864}.recharge-empty-receipt span{max-width:230px;color:#8592a4;font-size:12px}.recharge-trust-list{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:15px;padding-top:13px;border-top:1px solid #e5ebf3}.recharge-trust-list span{text-align:center;color:#48806d;font-size:10px;font-weight:800}.recharge-page .users-panel{border:1px solid #dce6f3;box-shadow:0 12px 35px rgba(17,51,98,.05)}
@media(max-width:1050px){.recharge-page .recharge-layout{grid-template-columns:1fr}.recharge-side-card{position:static}}@media(max-width:600px){.recharge-pro-form>*:not(.recharge-pro-head){margin-left:15px;margin-right:15px}.recharge-pro-head{padding:19px 16px}.recharge-pro-head h2{font-size:20px}.recharge-progress span{font-size:10px}.recharge-network-fields{grid-template-columns:1fr}.recharge-quick-amounts{grid-template-columns:repeat(2,1fr)}.recharge-trust-list{grid-template-columns:1fr}.recharge-page .topbar{align-items:flex-start}.recharge-page .admin-chip{font-size:11px}}

.admin-service-select-table th:nth-child(8),.admin-service-select-table td:nth-child(8),.admin-service-select-table.has-selection th{display:table-cell}
/* Customer Care CRM */
body.customer-care-shell:not(.live-sheet-page) {
    --cc-navy: #0b1f3a;
    --cc-navy-soft: #132c4d;
    --cc-blue: #1769e0;
    --cc-canvas: #f3f6fa;
    --cc-card: #fff;
    --cc-border: #dfe6ef;
    background: var(--cc-canvas);
    color: #17243a;
}

.customer-care-shell:not(.live-sheet-page) .sidebar {
    width: 264px;
    border-right: 0;
    padding: 18px 14px;
    background: linear-gradient(180deg, var(--cc-navy) 0%, #08182d 100%);
    box-shadow: 8px 0 30px rgba(11, 31, 58, .08);
}

.customer-care-shell:not(.live-sheet-page) .sidebar .brand {
    min-height: 66px;
    margin-bottom: 16px;
    padding: 9px 10px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.customer-care-shell:not(.live-sheet-page) .sidebar .brand img {
    padding: 5px;
    border-radius: 13px;
    background: #fff;
}

.customer-care-shell:not(.live-sheet-page) .sidebar .brand strong,
.customer-care-shell:not(.live-sheet-page) .sidebar .brand small {
    color: #fff;
}

.customer-care-shell:not(.live-sheet-page) .sidebar .brand small {
    color: #a9bad0;
}

.customer-care-shell:not(.live-sheet-page) .sidebar-category {
    margin: 18px 11px 7px;
    color: #7f96b3;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
}

.customer-care-shell:not(.live-sheet-page) .sidebar nav a,
.customer-care-shell:not(.live-sheet-page) .sidebar .logout {
    min-height: 42px;
    margin: 3px 0;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #c8d5e5;
    font-size: 13px;
    font-weight: 700;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.customer-care-shell:not(.live-sheet-page) .sidebar nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    transform: translateX(2px);
}

.customer-care-shell:not(.live-sheet-page) .sidebar nav a.active {
    border-color: rgba(111, 174, 255, .22);
    color: #fff;
    background: linear-gradient(135deg, #1769e0, #1557b8);
    box-shadow: 0 8px 20px rgba(23, 105, 224, .28);
}

.customer-care-shell:not(.live-sheet-page) .sidebar .admin-icon {
    width: 18px;
    height: 18px;
}

.customer-care-shell:not(.live-sheet-page) .sidebar .logout {
    border-color: rgba(255, 255, 255, .08);
    color: #ffb9bf;
    background: rgba(183, 32, 48, .12);
}

.customer-care-shell:not(.live-sheet-page) .main {
    margin-left: 264px;
    padding: 24px 28px 42px;
}

.customer-care-shell:not(.live-sheet-page) .topbar {
    position: sticky;
    z-index: 60;
    top: 0;
    margin: -24px -28px 24px;
    padding: 18px 28px;
    border-bottom: 1px solid var(--cc-border);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 5px 18px rgba(17, 36, 64, .05);
    backdrop-filter: blur(12px);
}

.customer-care-shell:not(.live-sheet-page) .topbar h1 {
    margin: 2px 0 0;
    color: #12213a;
    font-size: clamp(21px, 2vw, 29px);
    letter-spacing: -.025em;
}

.customer-care-shell:not(.live-sheet-page) .topbar .eyebrow {
    color: var(--cc-blue);
    font-size: 10px;
    letter-spacing: .12em;
}

.customer-care-shell:not(.live-sheet-page) .admin-notification > summary {
    width: 42px;
    height: 42px;
    border: 1px solid var(--cc-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(16, 40, 76, .06);
}

.customer-care-shell:not(.live-sheet-page) .vle-account-menu > summary {
    min-width: 225px;
    border-color: var(--cc-border);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(16, 40, 76, .06);
}

.customer-care-shell:not(.live-sheet-page) .vle-profile-avatar {
    background: linear-gradient(135deg, #1769e0, #0d4da7);
    box-shadow: 0 6px 14px rgba(23, 105, 224, .22);
}

.customer-care-shell:not(.live-sheet-page) .panel,
.customer-care-shell:not(.live-sheet-page) .stat {
    border: 1px solid var(--cc-border);
    border-radius: 16px;
    background: var(--cc-card);
    box-shadow: 0 8px 24px rgba(18, 42, 76, .055);
}

.customer-care-shell:not(.live-sheet-page) .panel {
    padding: 20px;
}

.customer-care-shell:not(.live-sheet-page) .stats-grid {
    gap: 14px;
}

.customer-care-shell:not(.live-sheet-page) .stat {
    position: relative;
    min-height: 118px;
    padding: 18px;
    overflow: hidden;
}

.customer-care-shell:not(.live-sheet-page) .stat::after {
    position: absolute;
    right: -20px;
    bottom: -30px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(23, 105, 224, .055);
    content: "";
}

.customer-care-shell:not(.live-sheet-page) .stat > .admin-icon {
    width: 22px;
    height: 22px;
    padding: 8px;
    box-sizing: content-box;
    border-radius: 11px;
    color: var(--cc-blue);
    background: #eaf2ff;
}

.customer-care-shell:not(.live-sheet-page) .stat span {
    color: #718096;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.customer-care-shell:not(.live-sheet-page) .stat strong {
    position: relative;
    z-index: 1;
    color: #15243a;
    font-size: 20px;
}

.customer-care-shell:not(.live-sheet-page) .vle-overview-grid {
    gap: 14px;
    margin: 18px 0;
}

.customer-care-shell:not(.live-sheet-page) .setting-option {
    min-height: 118px;
    padding: 18px;
    border-radius: 15px;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.customer-care-shell:not(.live-sheet-page) .setting-option:hover {
    border-color: #a9c8f5;
    box-shadow: 0 14px 30px rgba(23, 105, 224, .1);
    transform: translateY(-2px);
}

.customer-care-shell:not(.live-sheet-page) .setting-option h2 {
    margin-bottom: 5px;
    color: #17243a;
    font-size: 16px;
}

.customer-care-shell:not(.live-sheet-page) .setting-option p {
    margin: 0;
    color: #708096;
    font-size: 12px;
    line-height: 1.55;
}

.customer-care-shell:not(.live-sheet-page) .setting-icon {
    width: 43px;
    height: 43px;
    border-radius: 12px;
}

.customer-care-shell:not(.live-sheet-page) .section-title {
    margin-bottom: 16px;
}

.customer-care-shell:not(.live-sheet-page) .section-title h2 {
    margin: 0;
    color: #17243a;
    font-size: 18px;
    letter-spacing: -.015em;
}

.customer-care-shell:not(.live-sheet-page) .form-stack label,
.customer-care-shell:not(.live-sheet-page) .agent-vle-search label {
    color: #43536a;
    font-size: 12px;
    font-weight: 800;
}

.customer-care-shell:not(.live-sheet-page) input,
.customer-care-shell:not(.live-sheet-page) select,
.customer-care-shell:not(.live-sheet-page) textarea {
    border: 1px solid #ccd7e5;
    border-radius: 9px;
    background: #fbfcfe;
    color: #18283e;
}

.customer-care-shell:not(.live-sheet-page) input:focus,
.customer-care-shell:not(.live-sheet-page) select:focus,
.customer-care-shell:not(.live-sheet-page) textarea:focus {
    border-color: #5595ea;
    outline: 3px solid rgba(23, 105, 224, .11);
    background: #fff;
}

.customer-care-shell:not(.live-sheet-page) button.primary {
    border-radius: 9px;
    background: linear-gradient(135deg, #1769e0, #1258bc);
    box-shadow: 0 7px 15px rgba(23, 105, 224, .18);
}

.customer-care-shell:not(.live-sheet-page) .table-wrap {
    border: 1px solid var(--cc-border);
    border-radius: 12px;
    background: #fff;
}

.customer-care-shell:not(.live-sheet-page) table {
    border-collapse: separate;
    border-spacing: 0;
}

.customer-care-shell:not(.live-sheet-page) table th {
    position: sticky;
    z-index: 2;
    top: 0;
    padding: 11px 12px;
    border-bottom: 1px solid #d9e2ed;
    color: #52637a;
    background: #f6f8fb;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .055em;
}

.customer-care-shell:not(.live-sheet-page) table td {
    padding: 12px;
    border-bottom: 1px solid #edf1f6;
    color: #26364d;
    vertical-align: top;
    font-size: 12px;
}

.customer-care-shell:not(.live-sheet-page) table tbody tr:last-child td {
    border-bottom: 0;
}

.customer-care-shell:not(.live-sheet-page) table tbody tr:hover td {
    background: #f8fbff;
}

.customer-care-shell:not(.live-sheet-page) .badge {
    min-width: 0;
    padding: 5px 9px;
    border-radius: 7px;
    font-size: 10px;
    letter-spacing: .02em;
}

.customer-care-shell:not(.live-sheet-page) .alert {
    border-radius: 12px;
}

.customer-care-shell:not(.live-sheet-page) .kyc-record-grid {
    gap: 16px;
}

.customer-care-shell:not(.live-sheet-page) .kyc-record-card {
    border: 1px solid var(--cc-border);
    border-radius: 14px;
    box-shadow: none;
}

.customer-care-shell:not(.live-sheet-page) .agent-caller-check,
.customer-care-shell:not(.live-sheet-page) .agent-detail-section,
.customer-care-shell:not(.live-sheet-page) .agent-verification-strip > div {
    border-color: var(--cc-border);
    box-shadow: none;
}

.customer-care-shell:not(.live-sheet-page) .portal-chat-toggle {
    border: 0;
    background: linear-gradient(135deg, #1769e0, #0d4da7);
    box-shadow: 0 12px 28px rgba(23, 105, 224, .28);
}

@media (max-width: 1000px) {
    .customer-care-shell:not(.live-sheet-page) .sidebar {
        width: 224px;
    }

    .customer-care-shell:not(.live-sheet-page) .main {
        margin-left: 224px;
        padding: 20px;
    }

    .customer-care-shell:not(.live-sheet-page) .topbar {
        margin: -20px -20px 20px;
        padding: 15px 20px;
    }
}

@media (max-width: 760px) {
    .customer-care-shell:not(.live-sheet-page) .sidebar {
        width: 78px;
        padding-inline: 10px;
    }

    .customer-care-shell:not(.live-sheet-page) .sidebar .brand {
        justify-content: center;
        padding-inline: 0;
    }

    .customer-care-shell:not(.live-sheet-page) .sidebar .brand > div,
    .customer-care-shell:not(.live-sheet-page) .sidebar-category,
    .customer-care-shell:not(.live-sheet-page) .sidebar nav a span,
    .customer-care-shell:not(.live-sheet-page) .sidebar .logout span {
        display: none;
    }

    .customer-care-shell:not(.live-sheet-page) .sidebar nav a,
    .customer-care-shell:not(.live-sheet-page) .sidebar .logout {
        justify-content: center;
        padding: 11px;
    }

    .customer-care-shell:not(.live-sheet-page) .main {
        margin-left: 78px;
        padding: 16px;
    }

    .customer-care-shell:not(.live-sheet-page) .topbar {
        position: relative;
        align-items: flex-start;
        margin: -16px -16px 16px;
        padding: 14px 16px;
    }

    .customer-care-shell:not(.live-sheet-page) .topbar-actions {
        width: auto;
    }

    .customer-care-shell:not(.live-sheet-page) .panel {
        padding: 15px;
    }
}

@media (max-width: 520px) {
    .customer-care-shell:not(.live-sheet-page) .sidebar {
        width: 64px;
        padding-inline: 7px;
    }

    .customer-care-shell:not(.live-sheet-page) .main {
        margin-left: 64px;
        padding: 12px;
    }

    .customer-care-shell:not(.live-sheet-page) .topbar {
        margin: -12px -12px 14px;
        padding: 12px;
    }

    .customer-care-shell:not(.live-sheet-page) .topbar > div:first-child {
        min-width: 0;
    }

    .customer-care-shell:not(.live-sheet-page) .topbar h1 {
        font-size: 18px;
    }

    .customer-care-shell:not(.live-sheet-page) .vle-account-menu > summary {
        width: 42px;
        min-width: 42px;
        height: 42px;
        padding: 2px;
        border-radius: 50%;
    }
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 4px;
    font-size: 30px;
}

h2 {
    margin-bottom: 18px;
    font-size: 20px;
}

input,
select,
textarea,
button {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 7px;
    font: inherit;
}

input,
select,
textarea {
    margin-top: 7px;
    padding: 11px 12px;
    background: #fff;
    color: var(--ink);
}

textarea {
    resize: vertical;
}

button,
.primary {
    min-height: 42px;
    border: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

button:hover,
.primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), #082b66);
}

label {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

label:has(input[required])::after,
label:has(select[required])::after,
label:has(textarea[required])::after {
    content: " *";
    color: var(--danger);
    font-weight: 900;
}

label:has(input[type="hidden"][required])::after,
label:has(input[readonly][required])::after,
label:has(input[disabled][required])::after,
label:has(select[disabled][required])::after,
label:has(textarea[readonly][required])::after {
    content: "";
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

th,
td {
    padding: 13px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.login-page {
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(8, 43, 102, .88), rgba(215, 25, 32, .62)),
        url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.site-page {
    background: #fff;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px clamp(18px, 5vw, 64px);
    border-bottom: 1px solid rgba(215, 226, 242, .85);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
}

.site-brand,
.site-nav nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-brand img {
    display: block;
    width: min(280px, 48vw);
    height: 62px;
    object-fit: contain;
    object-position: left center;
}

.site-nav nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.site-nav nav a:hover {
    color: var(--primary);
}

.site-nav .nav-login {
    border-radius: 7px;
    padding: 10px 13px;
    background: var(--accent);
    color: #082b66;
}

.home-hero {
    display: flex;
    min-height: auto;
    align-items: stretch;
    padding: clamp(18px, 4vw, 42px) clamp(12px, 5vw, 72px);
    background: linear-gradient(180deg, #ffffff 0%, #edf5ff 100%);
}

.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #082b66;
    box-shadow: 0 28px 75px rgba(8, 43, 102, .24);
}

.banner-track {
    position: relative;
    aspect-ratio: 16 / 5;
    min-height: 240px;
    max-height: 520px;
}

.banner-slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    transition: opacity .55s ease;
}

.banner-slide.active {
    opacity: 1;
    z-index: 1;
}

.banner-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #082b66;
}

.banner-dots {
    position: absolute;
    right: 18px;
    bottom: 16px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.banner-dots button {
    width: 11px;
    height: 11px;
    min-height: 0;
    border: 2px solid #fff;
    border-radius: 999px;
    padding: 0;
    background: transparent;
}

.banner-dots button.active {
    width: 28px;
    background: var(--accent);
}

.site-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 clamp(12px, 5vw, 72px);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px 16px;
    background: #eaf1ff;
    color: var(--primary-dark);
    font-weight: 800;
}

.site-alert strong {
    border-radius: 999px;
    padding: 6px 10px;
    background: #fff;
    color: inherit;
    font-size: 12px;
    text-transform: uppercase;
}

.alert-marquee {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.alert-marquee span {
    display: inline-block;
    min-width: 100%;
    padding-left: 100%;
    white-space: nowrap;
    animation: alertScroll 16s linear infinite;
}

.site-alert a {
    border-radius: 7px;
    padding: 8px 12px;
    background: var(--primary);
    color: #fff;
}

.site-alert.success {
    background: #ecfdf3;
    color: #067647;
}

.site-alert.warning {
    background: var(--accent-soft);
    color: #7a5900;
}

.site-alert.danger {
    background: #ffe3e5;
    color: var(--danger-dark);
}

.site-alert:hover .alert-marquee span {
    animation-play-state: paused;
}

.dashboard-alert {
    margin: 0;
    border-radius: 8px;
    padding: 12px 16px;
}

.role-banner-block {
    display: block;
}

.dashboard-banner-slider {
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(21, 91, 213, .12);
}

.dashboard-banner-slider .banner-track {
    aspect-ratio: 16 / 4.5;
    min-height: 150px;
}

@keyframes alertScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
    padding: 0 clamp(18px, 6vw, 72px) 58px;
    background: #fff;
}

.trust-stats article {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(21, 91, 213, .08);
    text-align: center;
    transform: translateY(0);
    animation: statRise .55s ease both;
}

.trust-stats img {
    display: block;
    width: 58px;
    height: 58px;
    margin: 0 auto 12px;
}

.trust-stats strong {
    display: flex;
    min-width: max-content;
    align-items: baseline;
    justify-content: center;
    color: var(--primary);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
    white-space: nowrap;
}

.count-inline {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0;
    width: max-content;
    max-width: none;
    white-space: nowrap;
}

.count-inline span {
    display: inline;
    margin: 0;
    color: inherit;
    font-weight: inherit;
}

.trust-stats article:nth-child(2) strong {
    color: var(--danger);
}

.trust-stats article:nth-child(3) strong {
    color: #082b66;
}

.trust-stats article:nth-child(4) strong {
    color: #7a5900;
}

.trust-stats article > span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-weight: 900;
}

.trust-stats article:nth-child(2) {
    animation-delay: .08s;
}

.trust-stats article:nth-child(3) {
    animation-delay: .16s;
}

.trust-stats article:nth-child(4) {
    animation-delay: .24s;
}

.text-reveal {
    animation: textPulse 1.1s ease both;
}

@keyframes statRise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textPulse {
    0% {
        opacity: 0;
        transform: scale(.92);
    }
    70% {
        opacity: 1;
        transform: scale(1.04);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.service-icon {
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
}

.service-icon img {
    display: block;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.service-icon span {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
}

.quick-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    padding: 0;
    background: #fff;
}

.quick-services .service-icon {
    display: flex;
    min-height: 108px;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(21, 91, 213, .08);
    text-align: left;
}

.quick-services .service-icon span {
    color: var(--ink);
    font-size: 16px;
    line-height: 1.25;
}

.quick-services .service-icon p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}


.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.action-link {
    display: inline-flex;
    width: auto;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    padding: 12px 18px;
    font-weight: 900;
}

.secondary {
    border: 1px solid rgba(255, 255, 255, .68);
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.home-band {
    padding: 58px clamp(18px, 6vw, 72px);
}

.alt-band {
    background: var(--bg);
}

.home-section-title {
    max-width: 760px;
    margin-bottom: 24px;
}

.home-section-title h2,
.contact-band h2 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
}

.service-row {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(21, 91, 213, .08);
}

.service-row strong {
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
}

.service-row span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.service-list {
    display: grid;
    gap: 10px;
}

.empty-state {
    border: 1px dashed var(--line);
    border-radius: 8px;
    padding: 22px;
    background: #fff;
    color: var(--muted);
    font-weight: 800;
    text-align: center;
}

.settings-banners {
    margin-top: 18px;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.user-management-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.setting-card {
    min-height: 100%;
}

.setting-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.setting-card-head h2 {
    margin-bottom: 0;
}

.setting-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.setting-icon .admin-icon {
    width: 23px;
    height: 23px;
}

.setting-icon.red {
    background: var(--danger);
}

.setting-icon.yellow {
    background: var(--accent);
    color: #082b66;
}

.setting-icon.blue {
    background: #082b66;
}

.setting-icon.green {
    background: var(--success);
}

.settings-save {
    grid-column: 1 / -1;
    justify-self: start;
    width: auto;
    padding: 0 22px;
}

.setting-option {
    display: flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    transition: transform .18s ease, box-shadow .18s ease;
}

.setting-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(21, 91, 213, .14);
}

.setting-option.disabled-option {
    cursor: not-allowed;
    filter: grayscale(.35);
    opacity: .55;
    pointer-events: none;
}

.setting-option h2,
.setting-option p {
    margin-bottom: 0;
}

.setting-option p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}

.banner-list {
    display: grid;
    gap: 12px;
}

.banner-item {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) 88px;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
}

.banner-item img {
    width: 132px;
    height: 54px;
    border-radius: 6px;
    object-fit: cover;
}

.banner-item strong,
.banner-item span {
    display: block;
}

.banner-item span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.banner-item form button {
    min-height: 36px;
    background: var(--danger);
}

.service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
}

.service-row b {
    white-space: nowrap;
    color: var(--danger);
}

.gallery-band {
    background: var(--bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gallery-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(21, 91, 213, .08);
}

.gallery-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery-view {
    display: block;
    width: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
}

.gallery-card strong {
    display: block;
    padding: 13px 14px;
    color: var(--ink);
}

.gallery-admin-list {
    display: grid;
    gap: 12px;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(7, 31, 77, .86);
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: min(1100px, 94vw);
    max-height: 82vh;
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

.lightbox strong {
    position: absolute;
    left: 28px;
    bottom: 24px;
    color: #fff;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    min-height: 42px;
    border-radius: 999px;
    background: var(--danger);
    color: #fff;
    font-size: 28px;
    line-height: 1;
}

.site-popup {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(4, 18, 46, .76);
    backdrop-filter: blur(4px);
}

.site-popup.active {
    display: flex;
}

.site-popup-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(360px, 1.15fr) minmax(260px, .85fr);
    width: min(1080px, 100%);
    max-height: calc(100vh - 44px);
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .36);
    text-align: left;
    overflow: hidden;
}

.site-popup-panel img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border-radius: 0;
    object-fit: contain;
    background: #eef4ff;
    box-shadow: none;
}

.site-popup-panel img.logo-popup-image {
    padding: 70px;
    object-fit: contain;
    background: radial-gradient(circle at 30% 24%, #1969e8, #082b66 68%);
}

.site-popup-panel h2 {
    max-width: 430px;
    margin: 0 0 12px;
    color: var(--primary-dark);
    font-size: clamp(25px, 3vw, 40px);
    line-height: 1.12;
}

.site-popup-panel p:not(.eyebrow) {
    max-width: 430px;
    color: var(--muted);
    font-size: clamp(15px, 1.35vw, 19px);
    line-height: 1.55;
}

.site-popup-panel .popup-message {
    border-left: 5px solid var(--danger);
    border-radius: 8px;
    padding: 18px 20px;
    background: #fff8d7;
    color: #10213f;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(255, 196, 0, .46);
}

.popup-link-button {
    display: inline-flex;
    width: fit-content;
    min-height: 44px;
    margin-top: 18px;
    border-radius: 8px;
    padding: 12px 20px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--danger), var(--danger-dark));
    color: #fff;
    font-weight: 900;
    box-shadow: 0 14px 32px rgba(215, 25, 32, .24);
}

.site-popup-panel .eyebrow {
    display: inline-flex;
    width: auto;
    margin-bottom: 16px;
    border-radius: 999px;
    padding: 8px 14px;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 900;
}

.site-popup-content {
    display: flex;
    min-height: 380px;
    padding: 38px;
    flex-direction: column;
    justify-content: center;
}

.site-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 42px;
    min-height: 42px;
    border-radius: 999px;
    background: var(--danger);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    box-shadow: 0 12px 30px rgba(215, 25, 32, .28);
}

.popup-image-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    color: var(--muted);
    font-weight: 800;
}

.popup-image-preview img {
    width: 96px;
    height: 64px;
    border-radius: 6px;
    object-fit: cover;
}

.remove-image-option {
    display: inline-flex;
    width: auto;
    margin-left: auto;
    align-items: center;
    gap: 8px;
    color: var(--danger-dark);
}

.remove-image-option input {
    width: auto;
    margin: 0;
}


.reviews-band {
    background: #fff;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.review-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(21, 91, 213, .08);
}

.review-card p {
    color: var(--muted);
    line-height: 1.55;
}

.review-card strong {
    display: block;
}

.stars {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 20px;
    letter-spacing: 0;
}

.review-link {
    margin-top: 18px;
}

.contact-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 48px clamp(18px, 6vw, 72px);
    background: linear-gradient(135deg, var(--sidebar), var(--primary));
    color: #fff;
}

.contact-band p {
    max-width: 760px;
    color: #e5edff;
}

.contact-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 0;
}

.contact-meta a {
    border-radius: 7px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-weight: 800;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px clamp(18px, 6vw, 72px);
    border-top: 5px solid var(--accent);
    background: #071f4d;
    color: #dfe8ff;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}

.footer-brand strong,
.footer-brand span {
    display: block;
}

.footer-brand span {
    margin-top: 3px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
}

.site-footer p {
    margin: 0;
    color: #c6d4ef;
    font-size: 14px;
}

.login-logo {
    display: block;
    width: 100%;
    max-height: 120px;
    margin-bottom: 18px;
    object-fit: contain;
    object-position: left center;
}

.brand-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 8px;
    object-fit: cover;
}

.login-shell {
    width: min(440px, 100%);
}

.login-panel,
.panel,
.stat {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: 0 18px 45px rgba(21, 91, 213, .10);
}

.login-panel {
    padding: 34px;
}

.muted,
.hint {
    color: var(--muted);
}

.hint {
    margin: 14px 0 0;
    font-size: 13px;
}

.login-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 800;
}

.login-action {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    padding: 8px 11px;
}

.login-action.forgot {
    background: #eaf1ff;
    color: var(--primary);
}

.login-action.signup {
    background: var(--accent);
    color: #082b66;
}

.login-action.home {
    background: #fff0f0;
    color: var(--danger);
}

.eyebrow {
    margin-bottom: 8px;
    color: var(--danger);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.form-stack {
    display: grid;
    gap: 15px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.wide,
.settings-form h2 {
    grid-column: 1 / -1;
}

.alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 7px;
    font-weight: 700;
}

.alert.danger {
    background: #fff1f0;
    color: var(--danger);
}

.alert.warning {
    border-color: #f2c94c;
    background: #fff8db;
    color: #7a5200;
}

.alert.success {
    background: #ecfdf3;
    color: var(--success);
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    display: flex;
    width: 260px;
    flex-direction: column;
    gap: 22px;
    padding: 24px;
    background: linear-gradient(180deg, var(--sidebar), #0f47a9);
    color: #fff;
    overflow-y: auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand small {
    display: block;
    margin-top: 2px;
    color: #b7c3d7;
}

.sidebar nav {
    display: grid;
    gap: 7px;
}

.sidebar-category {
    display: block;
    margin: 12px 10px 1px;
    color: rgba(255, 255, 255, .55);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.sidebar-category:first-child {
    margin-top: 0;
}

.sidebar nav a,
.nav-group summary,
.logout {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 13px;
    border-radius: 7px;
    color: #d7deeb;
}

.nav-group {
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
}

.nav-group summary {
    cursor: pointer;
    list-style: none;
    font-weight: 900;
}

.nav-group summary::-webkit-details-marker {
    display: none;
}

.nav-group summary::after {
    content: '+';
    margin-left: auto;
    color: var(--accent);
    font-weight: 900;
}

.nav-group[open] summary::after {
    content: '-';
}

.nav-submenu {
    display: grid;
    gap: 4px;
    padding: 0 6px 7px 14px;
}

.nav-submenu a {
    min-height: 38px;
    padding: 9px 10px;
    font-size: 14px;
}

.transaction-filter-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr)) auto auto;
    align-items: end;
    gap: 12px;
    margin-bottom: 16px;
    padding: 15px;
    border: 1px solid #dbe5f2;
    border-radius: 14px;
    background: #f7faff;
}

.transaction-clear-button {
    min-height: 44px;
    background: #fff;
    color: #0b4e9b;
    box-shadow: none;
}

.transaction-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    white-space: nowrap;
}

.transaction-search-button span:first-child {
    font-size: 1.3rem;
    line-height: 1;
}

.transaction-clear-button:hover {
    color: #fff;
}

.transaction-filter-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.transaction-filter-summary article {
    display: grid;
    gap: 5px;
    padding: 14px;
    border: 1px solid #dbe5f2;
    border-radius: 13px;
    background: #fff;
}

.transaction-filter-summary article strong {
    font-size: 1.2rem;
}

.transaction-filter-summary .credit strong {
    color: #137333;
}

.transaction-filter-summary .debit strong {
    color: #b3261e;
}

@media (max-width: 760px) {
    .transaction-filter-form,
    .transaction-filter-summary {
        grid-template-columns: 1fr;
    }
}

.service-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid #0b4e9b;
    border-radius: 10px;
    color: #fff;
    background: #1264c5;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(18, 100, 197, .2);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.service-back-button:hover {
    color: #fff;
    background: #0b4e9b;
    transform: translateY(-1px);
    box-shadow: 0 9px 22px rgba(18, 100, 197, .28);
}

.service-back-button span:first-child {
    font-size: 1.25rem;
}

.pvc-card-type-fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.pvc-card-type-fieldset legend {
    margin-bottom: 12px;
    font-weight: 800;
}

.pvc-card-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 12px;
}

.pvc-card-type-option {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 7px;
    min-height: 125px;
    padding: 18px 12px;
    border: 2px solid #dbe5f2;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.pvc-card-type-option:hover {
    transform: translateY(-2px);
    border-color: #4383d8;
    box-shadow: 0 10px 25px rgba(19, 65, 126, .1);
}

.pvc-card-type-option:has(input:checked) {
    border-color: #1264c5;
    background: #eef6ff;
    box-shadow: 0 0 0 3px rgba(18, 100, 197, .12);
}

.pvc-card-type-option input {
    position: absolute;
    top: 10px;
    right: 10px;
    width: auto;
}

.pvc-card-type-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #1264c5;
    color: #fff;
    font-size: 22px;
}

.pvc-card-type-option small {
    color: #65758b;
}

.pvc-order-input-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.pvc-payment-card {
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 16px;
    border: 1px solid #b9d7c4;
    border-radius: 14px;
    background: #effaf2;
}

.pvc-payment-card strong {
    color: #137333;
    font-size: 1.55rem;
}

.pvc-submit-button {
    width: 100%;
    min-height: 50px;
    margin-top: 14px;
    font-size: 1rem;
}

[data-pvc-order-details][hidden],
.pvc-confirm-modal[hidden] {
    display: none !important;
}

.pvc-confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(5, 25, 58, .76);
}

.pvc-confirm-dialog {
    width: min(100%, 480px);
    display: grid;
    gap: 16px;
    padding: 24px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

.pvc-confirm-dialog h2,
.pvc-confirm-dialog p {
    margin: 0;
}

.pvc-confirm-summary {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 18px;
    padding: 15px;
    border-radius: 14px;
    background: #f2f7fd;
}

.pvc-confirm-summary strong {
    text-align: right;
}

@media (max-width: 680px) {
    .pvc-order-input-grid {
        grid-template-columns: 1fr;
    }
}

.role-service-catalog {
    display: grid;
    gap: 18px;
}

.role-service-category {
    display: grid;
    gap: 14px;
}

.role-service-locked {
    cursor: not-allowed;
    opacity: .68;
}

.nav-submenu .admin-icon {
    width: 18px;
    height: 18px;
}

.admin-icon {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sidebar nav a.active,
.sidebar nav a:hover,
.nav-group summary:hover,
.nav-group[open] summary,
.logout:hover {
    background: rgba(255, 196, 0, .18);
    color: #fff;
    box-shadow: inset 4px 0 0 var(--accent);
}

.logout {
    margin-top: auto;
}

.main {
    margin-left: 260px;
    padding: 28px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-balance {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 3px;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 6px 8px 6px 11px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(21, 91, 213, .08);
}

.topbar-balance-label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.topbar-balance-label .admin-icon {
    width: 15px;
    height: 15px;
    color: var(--primary);
}

.topbar-balance > strong {
    color: #12345b;
    font-size: 14px;
    line-height: 1;
}

.balance-visibility-toggle,
.topbar-add-balance {
    min-height: 26px;
    border: 0;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.balance-visibility-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    padding: 3px 5px;
    background: transparent;
    color: var(--primary);
}

.topbar-add-balance {
    grid-column: 2;
    grid-row: 2;
    background: #e8f8ef;
    color: #08713f;
}

.admin-notification {
    position: relative;
}

.admin-notification summary {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    box-shadow: 0 12px 28px rgba(21, 91, 213, .08);
}

.admin-notification summary::-webkit-details-marker {
    display: none;
}

.admin-notification summary span {
    position: absolute;
    top: -7px;
    right: -7px;
    display: grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    padding: 0 5px;
    background: var(--danger);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.notification-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 30;
    display: grid;
    width: min(380px, calc(100vw - 36px));
    max-height: 520px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(8, 43, 102, .2);
}

.notification-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.notification-head small {
    color: var(--muted);
    font-weight: 800;
}

.notification-group-title {
    margin-top: 12px;
    color: var(--danger);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.notification-item {
    display: grid;
    gap: 3px;
    margin-top: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: #f8fbff;
}

.recharge-result-notification.success {
    border-left: 4px solid var(--success);
    background: #f1fcf6;
}

.recharge-result-notification.success > strong {
    color: var(--success);
}

.recharge-result-notification.failed {
    border-left: 4px solid var(--danger);
    background: #fff5f5;
}

.recharge-result-notification.failed > strong {
    color: var(--danger);
}

.notification-item strong,
.notification-item span,
.notification-item small {
    overflow-wrap: anywhere;
}

.notification-item span,
.notification-item small,
.notification-empty {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.notification-read-form {
    margin-top: 6px;
}

.notification-read-form button {
    min-height: 32px;
    border-radius: 7px;
    padding: 6px 10px;
    background: var(--accent);
    color: #082b66;
    font-size: 12px;
    font-weight: 900;
}

.notification-empty {
    padding: 18px 6px 8px;
    text-align: center;
}

.admin-chip {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 13px;
    background: var(--accent-soft);
    color: #6b4f00;
    font-size: 14px;
}

.vle-account-menu {
    position: relative;
}

.vle-account-menu > summary {
    min-width: 230px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    cursor: pointer;
    list-style: none;
}

.vle-account-menu > summary::-webkit-details-marker {
    display: none;
}

.vle-profile-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--primary);
}

.vle-profile-avatar .admin-icon {
    width: 21px;
    height: 21px;
}

.vle-profile-summary {
    min-width: 0;
    display: grid;
    flex: 1;
}

.vle-profile-summary strong,
.vle-profile-summary small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vle-profile-summary small {
    color: var(--muted);
    font-size: 11px;
}

.vle-profile-chevron {
    color: var(--muted);
    font-size: 18px;
}

.vle-profile-dropdown {
    position: absolute;
    z-index: 80;
    top: calc(100% + 8px);
    right: 0;
    width: 260px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(11, 45, 86, .18);
}

.vle-profile-dropdown-head {
    display: grid;
    gap: 3px;
    padding: 10px 11px 12px;
    border-bottom: 1px solid var(--line);
}

.vle-profile-dropdown-head span,
.vle-profile-dropdown-head small {
    color: var(--muted);
    font-size: 12px;
}

.vle-profile-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 9px;
    color: var(--text);
    text-decoration: none;
}

.vle-profile-dropdown a:hover {
    background: var(--soft);
}

.vle-profile-dropdown a .admin-icon {
    width: 19px;
    height: 19px;
}

.vle-profile-dropdown .danger-link {
    color: var(--danger);
}

.security-settings-single {
    width: min(100%, 560px);
    margin: 0 auto;
}

@media (max-width: 640px) {
    .vle-account-menu > summary {
        min-width: 0;
        width: 48px;
        padding: 5px;
        border-radius: 50%;
    }

    .vle-profile-summary,
    .vle-profile-chevron {
        display: none;
    }

    .vle-profile-dropdown {
        position: fixed;
        top: 72px;
        right: 12px;
        width: min(280px, calc(100vw - 24px));
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.stat {
    position: relative;
    padding: 20px;
    border-top: 4px solid var(--primary);
}

.stat .admin-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 8px;
    padding: 9px;
    background: #eaf1ff;
    color: var(--primary);
}

.stat:nth-child(2) {
    border-top-color: var(--accent);
}

.stat:nth-child(2) .admin-icon {
    background: var(--accent-soft);
    color: #7a5900;
}

.stat:nth-child(3) {
    border-top-color: var(--danger);
}

.stat:nth-child(3) .admin-icon {
    background: #ffe3e5;
    color: var(--danger);
}

.stat:nth-child(4) {
    border-top-color: #0f47a9;
}

.stat:nth-child(4) .admin-icon {
    background: #e6f7ef;
    color: var(--success);
}

.stat span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.stat strong {
    display: block;
    margin-top: 9px;
    font-size: 26px;
}

.panel {
    padding: 20px;
}

.split {
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.section-title .admin-icon {
    color: var(--primary);
}

.users-panel {
    margin-top: 18px;
}

.wallet-admin-panel {
    margin-bottom: 18px;
}

.wallet-add-card {
    margin-bottom: 18px;
}

.wallet-action-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.wallet-action-card {
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    text-align: left;
    color: var(--text);
}

button.wallet-action-card {
    width: 100%;
    cursor: pointer;
    border: 1px solid var(--line);
    background: var(--surface);
}

button.wallet-action-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.wallet-action-card span {
    color: var(--muted);
    font-size: 13px;
}

.wallet-card-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #0b63ce !important;
    background: #e8f2ff;
}

.wallet-card-icon .admin-icon {
    width: 23px;
    height: 23px;
}

.wallet-card-icon.green { color: #087f5b !important; background: #e4f8ef; }
.wallet-card-icon.orange { color: #b45f06 !important; background: #fff0dc; }
.wallet-card-icon.purple { color: #7048a8 !important; background: #f1eafd; }
.wallet-card-icon.red { color: #c92a2a !important; background: #ffe8e8; }

.recharge-summary,
.receipt-card {
    display: grid;
    gap: 12px;
}

.recharge-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.recharge-summary div,
.receipt-card div {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--soft);
}

.recharge-summary span,
.receipt-card span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.receipt-card h3 {
    margin: 4px 0;
    font-size: 30px;
    color: var(--primary);
}

.recharge-review-form {
    min-width: 250px;
    display: grid;
    gap: 8px;
}

.role-commission-form {
    min-width: 310px;
    display: grid;
    grid-template-columns: repeat(3, minmax(85px, 1fr));
    gap: 7px;
}

.role-commission-form label {
    font-size: 11px;
}

.commission-limit-summary {
    grid-column: 1 / -1;
    display: grid;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #eef7ff;
    color: #174b78;
}

.commission-limit-summary small {
    color: #426b8d;
}

.commission-limit-summary .danger-text {
    color: #c62828;
    font-weight: 700;
}

.role-commission-form input {
    margin-top: 3px;
    padding: 7px;
}

.role-commission-form button {
    grid-column: 1 / -1;
}

.recharge-plan-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.recharge-plan-actions button {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.recharge-plan-actions .admin-icon {
    width: 21px;
    height: 21px;
}

.recharge-plan-panel {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--soft);
}

.recharge-plan-panel[hidden] {
    display: none;
}

.recharge-plan-panel h3 {
    margin: 0;
}

.recharge-plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 12px;
}

.recharge-plan-grid button {
    display: grid;
    gap: 4px;
    text-align: left;
    background: #fff;
    color: var(--text);
    border: 1px solid var(--line);
}

.recharge-plan-grid button:hover {
    border-color: var(--primary);
}

.recharge-plan-grid button span {
    color: var(--muted);
    font-size: 11px;
}

.recharge-fetch-status {
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--muted);
    background: var(--soft);
    font-size: 13px;
}

.recharge-step-panel,
.recharge-preview {
    display: grid;
    gap: 14px;
}

.recharge-step-panel[hidden],
.recharge-preview[hidden],
.recharge-processing[hidden] {
    display: none;
}

.recharge-network-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.recharge-auto-result {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #edf7ff;
}

.recharge-auto-result span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.dth-customer-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.dth-operator-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.dth-operator-grid button {
    min-height: 90px;
    display: flex;
    align-items: center;
    gap: 11px;
    text-align: left;
    color: var(--text);
    border: 1px solid var(--line);
    background: #fff;
}

.dth-operator-grid button:hover,
.dth-operator-grid button.active {
    border-color: var(--primary);
    background: #edf5ff;
    box-shadow: 0 0 0 2px rgba(11, 99, 206, .1);
}

.dth-operator-grid button[hidden] {
    display: none;
}

.dth-operator-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

.dth-operator-logo {
    width: 72px;
    height: 48px;
    display: grid;
    place-items: center;
}

.dth-operator-logo img {
    display: block;
    max-width: 72px;
    max-height: 48px;
    object-fit: contain;
}

.dth-change-operator {
    width: auto;
}

.dth-admin-operator-list {
    display: grid;
    gap: 16px;
}

.dth-admin-operator-card {
    display: grid;
    grid-template-columns: 90px minmax(180px, 1.5fr) minmax(210px, 1.5fr) 120px 130px auto;
    align-items: end;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.dth-admin-logo-preview {
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.dth-admin-logo-preview img {
    max-width: 78px;
    max-height: 48px;
    object-fit: contain;
}

.dth-admin-logo-preview span {
    font-weight: 800;
}

.api-management-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.api-add-form {
    max-width: 820px;
}

.api-management-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

.api-management-card summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    cursor: pointer;
}

.api-management-card summary span:first-child {
    display: grid;
    gap: 4px;
}

.api-management-card summary small {
    color: var(--muted);
}

.api-management-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    border-top: 1px solid var(--line);
    background: #f8fafc;
}

.api-management-form .wide,
.api-management-form button {
    grid-column: 1 / -1;
}

.credential-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    margin-top: 6px;
}

.credential-field input {
    min-width: 0;
    margin: 0;
    border-radius: 8px 0 0 8px;
}

.credential-field .credential-toggle {
    grid-column: auto;
    min-width: 62px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-left: 0;
    border-radius: 0 8px 8px 0;
    background: #eef3f8;
    color: var(--primary);
}

.api-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.api-check input {
    width: auto;
}

.api-operator-code-form {
    padding: 18px;
    border-top: 1px solid var(--line);
}

.api-code-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.api-code-head {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .dth-admin-operator-card {
        grid-template-columns: 80px 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .dth-admin-operator-card {
        grid-template-columns: 1fr;
    }

    .api-management-form {
        grid-template-columns: 1fr;
    }

    .api-code-row {
        grid-template-columns: 1fr;
    }

    .api-code-head {
        display: none;
    }
}

.dth-customer-details div {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.dth-customer-details span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.dth-customer-details .status-active {
    color: #087f5b;
}

[data-dth-customer-step] {
    display: grid;
    gap: 10px;
}

[data-dth-customer-step][hidden] {
    display: none;
}

.recharge-processing {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
    color: #fff;
    background: rgba(5, 25, 58, .88);
}

.recharge-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 950;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(5, 25, 58, .72);
}

.recharge-preview-dialog {
    width: min(100%, 520px);
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    display: grid;
    gap: 15px;
    padding: 22px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
}

.recharge-spinner {
    width: 58px;
    height: 58px;
    border: 5px solid rgba(255, 255, 255, .25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: rechargeSpin .8s linear infinite;
}

@keyframes rechargeSpin {
    to { transform: rotate(360deg); }
}

.wallet-action-panel {
    margin-top: 18px;
}

.wallet-action-panel[hidden],
[data-qr-result][hidden] {
    display: none !important;
}

.manual-payment-grid {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(280px, 1fr);
    gap: 22px;
    margin-top: 18px;
    align-items: start;
}

.merchant-qr-box {
    display: grid;
    gap: 9px;
    text-align: center;
    color: var(--muted);
}

.merchant-qr-box img {
    width: min(100%, 280px);
    aspect-ratio: 1;
    object-fit: contain;
    margin: 0 auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.merchant-qr-box strong {
    color: var(--text);
}

.dynamic-qr-placeholder,
[data-upi-qr]:not(.dynamic-qr-placeholder) {
    width: min(100%, 280px);
    min-height: 280px;
    margin: 0 auto;
    padding: 10px;
    display: grid;
    place-items: center;
    border: 1px dashed var(--line);
    border-radius: 14px;
    background: #fff;
}

[data-upi-qr] img,
[data-upi-qr] canvas {
    max-width: 100%;
    height: auto !important;
}

[data-payment-confirmation] {
    display: grid;
    gap: 15px;
}

[data-payment-confirmation][hidden] {
    display: none;
}

.wallet-adjust-form {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) minmax(110px, .7fr) minmax(120px, .8fr) minmax(220px, 2fr) auto;
    gap: 10px;
    margin-top: 16px;
}

@media (max-width: 900px) {
    .wallet-adjust-form {
        grid-template-columns: 1fr;
    }

    .manual-payment-grid {
        grid-template-columns: 1fr;
    }

    .wallet-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .recharge-network-fields {
        grid-template-columns: 1fr;
    }
}

.user-create-layout .form-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.user-create-layout .section-title,
.user-create-layout .primary {
    grid-column: 1 / -1;
}

.user-create-layout .user-form-divider {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.user-create-layout .user-form-divider h2 {
    margin: 0;
    color: var(--primary);
    font-size: 18px;
}

.user-create-layout .auto-id-note {
    margin: 0;
}

.admin-page-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 9px;
}

.admin-action-button {
    display: inline-flex;
    width: auto;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid transparent;
    border-radius: 11px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.admin-action-button.secondary {
    border-color: #cbd8eb;
    background: #fff;
    color: var(--primary-dark);
    box-shadow: 0 5px 14px rgba(14, 63, 156, .08);
}

.admin-action-button.secondary:hover {
    border-color: var(--primary);
    background: #edf4ff;
    color: var(--primary-dark);
    transform: translateY(-1px);
}

.admin-create-submit {
    min-height: 48px;
    margin-top: 5px;
}

@media (max-width: 640px) {
    .section-title:has(.admin-page-actions) {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-page-actions {
        justify-content: stretch;
    }

    .admin-page-actions .admin-action-button {
        flex: 1 1 140px;
    }
}

.roles-layout .panel {
    width: 100%;
}

.roles-layout table {
    min-width: 980px;
}

.roles-layout th:nth-child(1) {
    width: 22%;
}

.roles-layout th:nth-child(2) {
    width: 34%;
}

.roles-layout th:nth-child(3) {
    width: 18%;
}

.roles-layout th:nth-child(4) {
    width: 26%;
}

.table-subtext {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.table-action-link {
    display: inline-block;
    margin-top: 7px;
    font-size: 12px;
}

.action-icon-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-icon-row form {
    margin: 0;
}

.icon-action {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--primary);
    cursor: pointer;
}

.icon-action:hover {
    background: #eaf1ff;
}

.icon-action.danger {
    color: var(--danger);
}

.icon-action.credential-action {
    color: #b7791f;
}

.icon-action.login-action {
    color: #087f5b;
}

.icon-action .admin-icon {
    width: 18px;
    height: 18px;
}

.role-user-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
    min-width: 260px;
}

.role-user-detail-grid span {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 7px 8px;
    background: #f8fbff;
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.role-user-detail-grid b {
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.status-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.roles-layout .inline-form {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
}

.roles-layout .inline-form button {
    grid-column: 1 / -1;
}

.doc-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.doc-link-list a {
    border-radius: 999px;
    padding: 5px 8px;
    background: #eaf1ff;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 800;
}

.registration-page {
    background: linear-gradient(180deg, #f7fbff 0%, #fff 52%, #f7fbff 100%);
}

.registration-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.registration-form .section-title,
.registration-form .wide {
    grid-column: 1 / -1;
}

.registration-form .section-title {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.registration-form .section-title:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.registration-form input[type="file"] {
    min-height: 46px;
    padding: 10px;
    background: #fff;
}

.shop-address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.captcha-box {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    gap: 14px;
    align-items: end;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px;
    background: #f8fbff;
}

.captcha-box span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.captcha-box strong {
    display: inline-block;
    margin-top: 6px;
    border-radius: 7px;
    padding: 8px 14px;
    background: #082b66;
    color: #fff;
    font-size: 22px;
    letter-spacing: 2px;
}

.registration-success {
    margin-bottom: 18px;
    border-left: 5px solid var(--success);
}

.credential-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0;
}

.credential-grid div {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px;
    background: #f7fbff;
}

.credential-grid span {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.credential-grid strong {
    color: var(--primary);
    font-size: 20px;
    word-break: break-word;
}

.role-dashboard-shell .sidebar {
    background: linear-gradient(180deg, #082b66, #155bd5);
}

.admin-dashboard-menu-groups {
    display: grid;
    gap: 22px;
    margin-bottom: 22px;
}

.admin-dashboard-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-dashboard-menu-card {
    display: flex;
    align-items: center;
    position: relative;
    gap: 11px;
    min-height: 92px;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.admin-dashboard-menu-card:hover {
    transform: translateY(-3px);
    border-color: #abc8f4;
    box-shadow: 0 16px 32px rgba(21, 91, 213, .12);
}

.admin-dashboard-menu-card > span:nth-child(2) {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.admin-dashboard-menu-card strong {
    color: #12345b;
    font-size: 14px;
}

.admin-dashboard-menu-card small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.admin-dashboard-menu-card > b {
    margin-left: auto;
    color: var(--primary);
    font-size: 24px;
}

.admin-service-logo {
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 4px;
    background: #fff;
    object-fit: contain;
}

.service-edit-logo {
    display: block;
    width: 72px;
    height: 72px;
    margin: 8px 0;
}

.service-row-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.service-row-actions form {
    margin: 0;
}

.service-row-actions .action-link,
.service-row-actions .service-edit-button,
.service-row-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 34px;
    border-radius: 7px;
    padding: 7px 9px;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.service-row-actions .service-edit-button {
    border: 1px solid #0b4eb5;
    background: #155bd5;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 5px 12px rgba(21, 91, 213, .22);
}

.service-row-actions .service-edit-button:hover {
    background: #0b4eb5;
    color: #fff;
}

.service-row-actions .admin-icon {
    width: 15px;
    height: 15px;
}

.mplan-api-list-card {
    display: grid;
    gap: 14px;
    border: 1px solid #a8d8bb;
    border-radius: 12px;
    padding: 15px;
    background: #f3fff7;
}

.mplan-api-list-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.mplan-api-list-summary > span:nth-child(2) {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.mplan-api-list-summary small {
    overflow-wrap: anywhere;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.mplan-api-list-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid #cce8d6;
    padding-top: 12px;
    color: var(--muted);
    font-size: 12px;
}

.mplan-api-list-meta .service-edit-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    border-radius: 7px;
    padding: 8px 11px;
    background: #155bd5;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.mplan-api-list-meta .admin-icon {
    width: 16px;
    height: 16px;
}

.screen-lock-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    margin: 0;
    padding: 22px;
    background:
        radial-gradient(circle at top right, rgba(255, 196, 0, .22), transparent 32%),
        linear-gradient(145deg, #061d46, #155bd5);
}

.screen-lock-card {
    width: min(430px, 100%);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 18px;
    padding: 30px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
    text-align: center;
}

.screen-lock-card > img {
    width: 68px;
    height: 68px;
    margin-bottom: 12px;
    object-fit: contain;
}

.screen-lock-card h1 {
    margin: 4px 0 8px;
    color: #082b66;
}

.screen-lock-user {
    margin: 0 0 6px;
    color: #155bd5;
    font-weight: 900;
}

.screen-lock-card form {
    margin-top: 20px;
    text-align: left;
}

.screen-lock-card input {
    text-align: center;
    letter-spacing: 8px;
    font-size: 22px;
    font-weight: 900;
}

.screen-lock-card .primary {
    width: 100%;
}

.screen-lock-logout {
    display: inline-block;
    margin-top: 18px;
    color: var(--danger);
    font-size: 13px;
    font-weight: 900;
}

.remember-login-check {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.remember-login-check input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin: 0;
    accent-color: var(--primary);
}

.remember-login-check span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.live-recharge-sheet {
    border: 1px solid #9eb6ce;
    background: #fff;
    box-shadow: 0 12px 30px rgba(8, 43, 102, .1);
}

.live-sheet-page .sidebar {
    display: none;
}

.live-sheet-page .main {
    margin-left: 0;
    padding: 18px;
}

.live-sheet-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #9eb6ce;
    padding: 14px 16px;
    background: #e2f0d9;
}

.live-sheet-toolbar h2,
.live-sheet-toolbar p {
    margin: 0;
}

.live-sheet-toolbar > div:last-child {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-sheet-toolbar a {
    border: 1px solid #548235;
    padding: 7px 10px;
    background: #fff;
    color: #375623;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}
.live-sheet-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;border-bottom:1px solid #9eb6ce;background:#c6d5e4}.live-sheet-summary>span{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 15px;background:#f5f8fb}.live-sheet-summary small{color:#607188;font-size:10px;font-weight:800;text-transform:uppercase}.live-sheet-summary strong{color:#183451;font-size:16px}.live-sheet-summary .success strong{color:#087f5b}.live-sheet-summary .pending strong{color:#a36500}.live-sheet-summary .failed strong{color:#c62828}
.live-transaction-tools{display:grid;grid-template-columns:minmax(280px,1fr) 170px 170px auto;align-items:end;gap:10px;padding:13px 15px;border-bottom:1px solid #c9d7e5;background:#fff}.live-transaction-tools label{display:grid;gap:5px;color:#65768b;font-size:10px;font-weight:900;text-transform:uppercase}.live-transaction-tools input,.live-transaction-tools select{height:40px;border:1px solid #cad7e5;border-radius:9px;background:#f8fafc}.live-transaction-tools button{height:40px;padding:0 17px;border:0;border-radius:9px;background:#1769e0;color:#fff;font-weight:800}.live-sheet-table tbody tr[data-live-row]{cursor:pointer}.live-sheet-table tbody tr[data-live-row]:hover td{background:#eaf3ff}.live-sheet-table tr[hidden]{display:none}
.live-transaction-modal[hidden]{display:none}.live-transaction-modal{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:18px;background:rgba(3,16,35,.75);backdrop-filter:blur(4px)}.live-transaction-modal>section{width:min(680px,100%);overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.4)}.live-transaction-modal header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #e1e8f0}.live-transaction-modal header h2,.live-transaction-modal header p{margin:0}.live-transaction-modal header button{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#edf2f7;color:#40536c;font-size:24px}.live-transaction-modal [data-live-modal-content]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#e3eaf2}.live-transaction-modal [data-live-modal-content]>div{display:grid;gap:5px;padding:14px 18px;background:#fff}.live-transaction-modal [data-live-modal-content] span{color:#7a899c;font-size:10px;font-weight:900;text-transform:uppercase}.live-transaction-modal [data-live-modal-content] strong{overflow-wrap:anywhere;color:#1b2d45;font-size:13px}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #c00000;
    font-size: 12px;
    font-weight: 900;
}

.live-indicator i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #f00;
    box-shadow: 0 0 0 4px rgba(255, 0, 0, .12);
    animation: livePulse 1.4s infinite;
}

@keyframes livePulse {
    50% { opacity: .35; }
}
@media(max-width:850px){.live-transaction-tools{grid-template-columns:1fr 1fr}.live-transaction-tools label:first-child{grid-column:1/-1}}
@media(max-width:700px){.live-sheet-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.live-transaction-tools{grid-template-columns:1fr}.live-transaction-tools label:first-child{grid-column:auto}.live-transaction-modal [data-live-modal-content]{grid-template-columns:1fr}}
.dth-confirm-open{overflow:hidden}.dth-page .recharge-preview-modal{animation:dthBackdropIn .18s ease-out}.dth-page .recharge-preview-dialog{overflow:hidden;padding:0;animation:dthDialogIn .22s ease-out}.dth-confirm-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;padding:18px 20px;background:linear-gradient(135deg,#082b66,#0c69ba);color:#fff}.dth-confirm-head .recharge-phone-mark{width:43px;height:43px;border-radius:12px}.dth-confirm-head h3,.dth-confirm-head p{margin:0}.dth-confirm-head h3{font-size:19px}.dth-confirm-head .eyebrow{color:#bfe2ff}.dth-confirm-head>button{border:1px solid rgba(255,255,255,.28);border-radius:9px;background:rgba(255,255,255,.12);color:#fff}.dth-page .recharge-preview-dialog>.receipt-card,.dth-page .recharge-preview-dialog>.alert,.dth-page .recharge-preview-dialog>label,.dth-page .recharge-preview-dialog>.dth-confirm-submit{margin-left:20px;margin-right:20px}.dth-page .recharge-preview-dialog>.receipt-card{margin-top:19px}.dth-page .dth-confirm-submit{width:calc(100% - 40px);min-height:51px;margin-bottom:20px}.dth-page .recharge-preview-dialog>label{color:#34465f;font-size:12px;font-weight:800}@keyframes dthBackdropIn{from{opacity:0}to{opacity:1}}@keyframes dthDialogIn{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}

.live-sheet-scroll {
    max-height: calc(100vh - 235px);
    overflow: auto;
}

.live-sheet-table {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
    font-family: Calibri, Arial, sans-serif;
    font-size: 12px;
}

.live-sheet-table th,
.live-sheet-table td {
    min-width: 105px;
    height: 30px;
    border: 1px solid #b7c9db;
    padding: 5px 8px;
    background: #fff;
    color: #1f1f1f;
    white-space: nowrap;
}

.live-sheet-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #4472c4;
    color: #fff;
    font-weight: 700;
    text-align: left;
}

.live-sheet-table th:first-child,
.live-sheet-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 46px;
    background: #f2f2f2;
    text-align: center;
}

.live-sheet-table th:first-child {
    z-index: 3;
    background: #2f5597;
}

.live-sheet-table tbody tr:nth-child(even):not(.sheet-row-success):not(.sheet-row-pending):not(.sheet-row-failed) td {
    background: #f5f9ff;
}

.live-sheet-table tbody tr:hover td {
    box-shadow: inset 0 1px #4472c4, inset 0 -1px #4472c4;
}

.live-sheet-table .sheet-row-success td {
    background: #e2f0d9;
}

.live-sheet-table .sheet-row-pending td {
    background: #fff2cc;
}

.live-sheet-table .sheet-row-failed td {
    background: #fce4d6;
}

.live-sheet-table .sheet-row-success td:first-child {
    background: #c6e0b4;
}

.live-sheet-table .sheet-row-pending td:first-child {
    background: #ffe699;
}

.live-sheet-table .sheet-row-failed td:first-child {
    background: #f4b084;
}

.live-sheet-table .sheet-number {
    text-align: right;
}

.live-sheet-table .sheet-status {
    font-weight: 900;
    text-align: center;
}

.live-sheet-table .sheet-status.success {
    background: #c6efce;
    color: #006100;
}

.live-sheet-table .sheet-status.pending {
    background: #ffeb9c;
    color: #9c6500;
}

.live-sheet-table .sheet-status.failed {
    background: #ffc7ce;
    color: #9c0006;
}

.live-sheet-table .sheet-failure-reason {
    min-width: 260px;
    max-width: 420px;
    color: #9c0006;
    font-weight: 800;
    white-space: normal;
}

.live-sheet-table .sheet-empty {
    padding: 30px;
    text-align: center;
}

.role-status-grid .stat strong {
    font-size: clamp(18px, 2vw, 24px);
    word-break: break-word;
}

.dashboard-notice {
    margin-bottom: 18px;
    border-left: 5px solid var(--accent);
    background: #fffdf2;
}

.dashboard-notice.success {
    border-left-color: var(--success);
    background: #f1fff7;
}

.dashboard-notice p {
    margin: 8px 0 0;
    color: var(--muted);
}

.role-dashboard-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    margin-bottom: 18px;
}

.agent-support-desk {
    display: grid;
    gap: 18px;
}

.agent-vle-search {
    display: grid;
    gap: 8px;
}

.agent-vle-search .inline-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto;
}

.agent-vle-search input {
    min-width: 0;
}

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
}

.agent-caller-check {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--soft);
}

.agent-caller-check > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agent-caller-check > div > div {
    display: grid;
    gap: 3px;
}

.agent-caller-check small {
    color: var(--muted);
}

.agent-verification-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.agent-verification-strip > div {
    display: grid;
    gap: 6px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.agent-verification-strip span {
    color: var(--muted);
    font-size: 12px;
}

.agent-detail-section {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.agent-detail-section > summary {
    padding: 14px 16px;
    font-weight: 700;
    cursor: pointer;
}

.agent-detail-section > .detail-grid {
    padding: 0 16px 16px;
}

.agent-history-grid {
    margin-top: 0;
}

.agent-history-grid > article {
    min-width: 0;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.agent-history-grid h3 {
    margin-top: 0;
}

@media (max-width: 900px) {
    .agent-verification-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .agent-vle-search .inline-form,
    .agent-verification-strip {
        grid-template-columns: 1fr;
    }

    .agent-caller-check {
        align-items: flex-start;
        flex-direction: column;
    }
}

.role-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 0;
}

.role-detail-grid strong {
    word-break: break-word;
}

.dashboard-contact {
    margin-top: 14px;
}

.dashboard-contact a {
    color: var(--primary-dark);
}

.vle-shell {
    background: #f4f8fd;
}

.vle-sidebar {
    background: linear-gradient(180deg, #082b66 0%, #155bd5 70%, #d71920 100%);
}

.vle-main {
    display: grid;
    gap: 18px;
}

.vle-status-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.vle-status-strip article {
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(21, 91, 213, .08);
}

.vle-status-strip .admin-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    padding: 8px;
    background: #eaf1ff;
    color: var(--primary);
}

.vle-status-strip span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.vle-status-strip strong {
    color: var(--ink);
    font-size: clamp(18px, 2.2vw, 25px);
    word-break: break-word;
}

.vle-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, .75fr);
    gap: 18px;
    align-items: start;
}

.vle-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.vle-profile-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vle-main-column,
.vle-side-column {
    display: grid;
    gap: 18px;
}

.vle-card {
    border-radius: 8px;
}

.vle-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.vle-service-tile {
    display: grid;
    min-height: 118px;
    place-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px 10px;
    background: #fff;
    color: var(--ink);
    font-weight: 900;
    text-align: center;
    box-shadow: 0 8px 20px rgba(21, 91, 213, .07);
}

.vle-service-tile img {
    width: 54px;
    height: 54px;
}

.vle-service-activate-form {
    margin: 0;
}

.premium-package-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    border: 1px solid #f0c36a;
    background: linear-gradient(135deg, #fffaf0, #fff);
}

.premium-package-card h2 {
    margin: 3px 0 8px;
}

.premium-package-card p {
    margin: 0;
}

.premium-package-card form,
.premium-package-status {
    display: grid;
    gap: 10px;
    min-width: 220px;
    text-align: center;
}

@media (max-width: 720px) {
    .premium-package-card {
        align-items: stretch;
        flex-direction: column;
    }

    .premium-package-card form,
    .premium-package-status {
        min-width: 0;
    }
}

.vle-service-activate-form .vle-service-tile {
    width: 100%;
}

.vle-service-tile small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
}

.vle-service-tile.premium-locked {
    border-color: #f4c76b;
    background: linear-gradient(145deg, #fffdf6, #fff5d9);
}

.vle-service-tile.premium-locked b {
    border-radius: 6px;
    padding: 6px 10px;
    background: #e99a12;
    color: #fff;
    font-size: 11px;
}

.vle-service-tile:disabled,
.vle-service-tile[aria-disabled="true"] {
    cursor: not-allowed;
    filter: grayscale(.25);
    opacity: .58;
}

.recharge-complaint-form {
    display: grid;
    gap: 9px;
    width: 260px;
    margin-top: 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(8, 43, 102, .14);
}

.recharge-complaint-form textarea {
    width: 100%;
}

.recharge-complaint-form button {
    min-height: 36px;
}

.badge.in-review {
    background: #e8f1ff;
    color: #0e4f9f;
}

.recharge-complaint-button {
    width: auto;
    min-height: 34px;
    border: 1px solid #c28a00;
    border-radius: 7px;
    padding: 7px 12px;
    background: #fff7d6;
    color: #755500;
    font-size: 12px;
    font-weight: 900;
}

.recharge-complaint-button:hover {
    background: #ffeaa3;
    color: #5d4300;
}

.recharge-complaint-modal[hidden] {
    display: none !important;
}

.recharge-complaint-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(5, 25, 58, .76);
}

.complaint-modal-open {
    overflow: hidden;
}

.recharge-complaint-dialog {
    position: relative;
    display: grid;
    gap: 15px;
    width: min(100%, 520px);
    border-radius: 14px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 26px 75px rgba(0, 0, 0, .32);
}

.recharge-complaint-dialog h2,
.recharge-complaint-dialog p {
    margin-bottom: 0;
}

.recharge-complaint-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    min-height: 36px;
    border-radius: 50%;
    padding: 0;
    background: #edf3fc;
    color: var(--ink);
    font-size: 22px;
}

.recharge-complaint-dialog .recharge-complaint-form {
    width: auto;
    margin: 0;
    border: 0;
    padding: 0;
    box-shadow: none;
}

.recharge-complaint-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.recharge-complaint-actions .secondary {
    border: 1px solid var(--line);
    background: #edf3fc;
    color: var(--ink);
}

.aeps-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 18px;
    align-items: start;
}

.aeps-form {
    gap: 18px;
}

.aeps-biometric-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    border: 1px solid #b9d0f2;
    border-radius: 8px;
    padding: 16px;
    background: #f1f6ff;
}

.aeps-biometric-panel > div:nth-child(2) {
    display: grid;
    gap: 5px;
}

.aeps-biometric-panel span {
    color: var(--muted);
    font-size: 12px;
}

.aeps-fingerprint {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    box-shadow: 0 6px 18px rgba(21, 91, 213, .12);
}

.aeps-fingerprint .admin-icon {
    width: 32px;
    height: 32px;
}

.aeps-biometric-panel button {
    width: auto;
    min-width: 150px;
}

.aeps-receipt-panel {
    position: sticky;
    top: 88px;
}

.badge.demo {
    background: #fff1bd;
    color: #6d5100;
}

.aeps-2fa-shell {
    display: grid;
    min-height: calc(100vh - 170px);
    place-items: center;
}

.aeps-2fa-card {
    display: grid;
    gap: 16px;
    width: min(100%, 520px);
    text-align: center;
}

.aeps-2fa-card .setting-icon {
    margin: 0 auto;
}

.aeps-menu-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.aeps-menu-card {
    display: grid;
    min-height: 150px;
    place-items: center;
    align-content: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px 10px;
    background: #fff;
    color: var(--ink);
    text-align: center;
    box-shadow: 0 8px 20px rgba(21, 91, 213, .07);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.aeps-menu-card:hover {
    border-color: #94b5eb;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(21, 91, 213, .14);
}

.aeps-menu-card .admin-icon {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    padding: 10px;
    background: #eaf1ff;
    color: var(--primary);
}

.aeps-menu-card strong {
    font-size: 14px;
    font-weight: 900;
}

.aeps-service-heading {
    margin-bottom: 0;
}

.aeps-saved-bank-list {
    display: grid;
    gap: 10px;
}

.aeps-saved-bank-list article {
    display: grid;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #f8fbff;
}

.aeps-saved-bank-list span,
.aeps-saved-bank-list small {
    color: var(--muted);
}

@media (max-width: 1050px) {
    .aeps-layout {
        grid-template-columns: 1fr;
    }

    .aeps-receipt-panel {
        position: static;
    }

    .aeps-menu-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .aeps-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aeps-biometric-panel {
        grid-template-columns: auto 1fr;
    }

    .aeps-biometric-panel button {
        grid-column: 1 / -1;
        width: 100%;
    }
}

.vle-service-tile[aria-disabled="true"]:focus,
.vle-service-tile[aria-disabled="true"]:active {
    outline: none;
    transform: none;
    opacity: .58;
}

.vle-table th,
.vle-table td {
    white-space: nowrap;
}

.vle-profile-list {
    display: grid;
    gap: 10px;
}

.vle-profile-list div {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 11px;
    background: #f7fbff;
}

.vle-profile-list span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.vle-profile-list strong {
    word-break: break-word;
}

.vle-support-box {
    display: grid;
    gap: 8px;
    border-radius: 8px;
    padding: 14px;
    background: #f7fbff;
}

.vle-support-box a {
    color: var(--primary-dark);
    font-weight: 900;
}

.vle-kyc-popup {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(8, 18, 38, .72);
}

.vle-kyc-popup.active {
    display: flex;
}

.vle-kyc-popup-panel {
    position: relative;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 18px;
    width: min(680px, 100%);
    border-radius: 8px;
    padding: 28px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

.vle-kyc-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    min-height: 38px;
    border-radius: 50%;
    background: var(--danger);
    color: #fff;
    font-size: 24px;
    line-height: 1;
}

.vle-kyc-popup-icon {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 8px;
    background: var(--accent-soft);
    color: #7a5900;
}

.vle-kyc-popup-icon .admin-icon {
    width: 42px;
    height: 42px;
}

.vle-kyc-popup-panel h2 {
    margin: 0 46px 10px 0;
    color: var(--primary);
    font-size: clamp(26px, 4vw, 40px);
}

.vle-kyc-popup-panel p:not(.eyebrow) {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.vle-kyc-popup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.vle-id-preview {
    max-width: 420px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(21, 91, 213, .12);
}

.vle-id-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #082b66, #155bd5);
    color: #fff;
}

.vle-id-head img {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    background: #fff;
}

.vle-id-head strong,
.vle-id-head span {
    display: block;
}

.vle-id-body {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.vle-id-body h3,
.vle-id-body p {
    margin: 0;
}

.vle-id-body p {
    color: var(--muted);
    font-weight: 800;
}

.vle-id-body div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 10px;
}

.vle-id-body span {
    color: var(--muted);
    font-weight: 800;
}

.vle-certificate-preview {
    display: grid;
    max-width: 820px;
    min-height: 420px;
    place-items: center;
    gap: 14px;
    border: 8px solid #082b66;
    border-radius: 8px;
    padding: clamp(22px, 5vw, 48px);
    background: #fff;
    text-align: center;
}

.vle-certificate-preview img {
    max-width: 280px;
    width: 60%;
}

.vle-certificate-preview h3 {
    margin: 0;
    color: var(--primary);
    font-size: clamp(28px, 4vw, 44px);
}

.vle-certificate-number {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.vle-certificate-number span {
    border-radius: 999px;
    padding: 7px 12px;
    background: var(--accent-soft);
    color: #6b4f00;
    font-size: 13px;
    font-weight: 900;
}

.vle-certificate-preview p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.5;
}

.vle-certificate-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.vle-certificate-meta span {
    border-radius: 8px;
    padding: 10px;
    background: #f7fbff;
    color: var(--ink);
    font-weight: 800;
}

.vle-certificate-footer {
    display: flex;
    width: 100%;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-top: 10px;
}

.vle-certificate-stamp {
    width: 160px;
    height: 160px;
    flex: 0 0 auto;
    transform: rotate(-7deg);
    opacity: .9;
}

.stamp-line {
    fill: none;
    stroke: rgba(215, 25, 32, .78);
}

.stamp-line.thick {
    stroke-width: 6;
}

.stamp-line.faint {
    stroke-width: 2;
    stroke-opacity: .35;
}

.stamp-line.dash {
    stroke-width: 1.6;
    stroke-dasharray: 2 5;
    stroke-opacity: .55;
}

.stamp-line.logo-ring {
    stroke: rgba(8, 43, 102, .8);
    stroke-width: 2;
}

.stamp-arc-text {
    fill: rgba(215, 25, 32, .9);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0;
}

.stamp-arc-text.small {
    font-size: 11.5px;
}

.vle-certificate-sign {
    min-width: 220px;
    border-top: 2px solid var(--ink);
    padding-top: 8px;
    text-align: center;
}

.vle-certificate-sign span,
.vle-certificate-sign strong {
    display: block;
}

.vle-certificate-sign span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.kyc-user-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--line);
    border-left: 5px solid var(--primary);
    border-radius: 8px;
    padding: 12px 14px;
    background: #f7fbff;
}

.kyc-selected-details-wrap {
    display: grid;
    gap: 12px;
}

.kyc-selected-details {
    display: grid;
    gap: 12px;
    border: 1px solid rgba(21, 91, 213, .22);
    border-radius: 8px;
    padding: 14px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(21, 91, 213, .08);
}

.kyc-record-panel {
    min-width: 0;
}

.kyc-record-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.kyc-record-card {
    display: grid;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(21, 91, 213, .07);
}

.kyc-record-head,
.kyc-record-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.kyc-record-head strong,
.kyc-record-head span {
    display: block;
}

.kyc-record-head > div > span,
.kyc-record-meta span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.kyc-record-card p {
    margin: 0;
    border-radius: 8px;
    padding: 10px;
    background: #f7fbff;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.kyc-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.kyc-info-grid div,
.kyc-detail-grid div {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 9px 10px;
    background: #f8fbff;
}

.kyc-info-grid span,
.kyc-detail-grid span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.kyc-info-grid strong,
.kyc-detail-grid strong {
    display: block;
    overflow-wrap: anywhere;
    color: var(--ink);
    font-size: 13px;
}

.kyc-review-form {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) 90px;
    gap: 8px;
}

.kyc-review-form select,
.kyc-review-form input,
.kyc-review-form button {
    min-height: 38px;
    margin: 0;
}

.kyc-review-form .remark-custom {
    grid-column: 1 / -1;
}

.hidden {
    display: none !important;
}

.kyc-verify-checks {
    grid-column: 1 / -1;
    display: grid;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: #f8fbff;
}

.kyc-verify-checks > strong {
    color: var(--primary-dark);
}

.kyc-verify-checks > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.kyc-verify-checks label {
    display: flex;
    min-height: 34px;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(21, 91, 213, .12);
    border-radius: 7px;
    padding: 7px 9px;
    background: #fff;
    font-size: 12px;
    font-weight: 900;
}

.kyc-field-check {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
    vertical-align: middle;
    color: var(--primary);
    font-size: 11px;
    font-weight: 900;
}

.kyc-field-check input {
    width: 14px;
    height: 14px;
    accent-color: var(--primary);
}

.kyc-doc-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.kyc-doc-check .kyc-field-check {
    margin-left: 0;
}

.kyc-document-verify-grid {
    display: grid;
    gap: 10px;
    border: 1px solid rgba(21, 91, 213, .14);
    border-radius: 8px;
    padding: 12px;
    background: #f8fbff;
}

.kyc-document-verify-grid > strong {
    color: var(--primary-dark);
}

.kyc-document-verify-grid > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.kyc-document-verify-grid article {
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: #fff;
}

.kyc-document-verify-grid label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 900;
}

.kyc-document-verify-grid input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.kyc-document-verify-grid a {
    justify-self: start;
    border-radius: 999px;
    padding: 6px 9px;
    background: #eaf1ff;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 900;
}

.vle-kyc-flow {
    display: grid;
    gap: 18px;
}

.kyc-email-verify-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

.kyc-verify-note {
    min-height: 74px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: #fff7db;
    color: #8a5b00;
}

.kyc-verify-note.verified {
    background: #ecfdf3;
    color: var(--success);
}

.kyc-verify-note strong,
.kyc-verify-note span {
    display: block;
}

.kyc-verify-note span {
    margin-top: 5px;
    font-size: 13px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.kyc-step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.kyc-step-grid div {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: #f7fbff;
}

.kyc-step-grid div.done {
    border-color: rgba(21, 91, 213, .32);
    background: #eaf1ff;
}

.kyc-step-grid strong {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: #082b66;
}

.kyc-step-grid span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.vle-kyc-approved-card {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 34px 24px;
    text-align: center;
    border-color: rgba(34, 197, 94, .28);
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 70%);
}

.vle-kyc-approved-icon {
    display: grid;
    width: 74px;
    height: 74px;
    place-items: center;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    box-shadow: 0 18px 34px rgba(22, 163, 74, .22);
}

.vle-kyc-approved-icon .admin-icon {
    width: 38px;
    height: 38px;
}

.vle-kyc-approved-card h2 {
    margin: 0;
    color: #14532d;
    font-size: clamp(26px, 3vw, 38px);
}

.vle-kyc-approved-card p:not(.eyebrow) {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-weight: 800;
    line-height: 1.6;
}

.vle-kyc-approved-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.vle-kyc-approved-meta span {
    border: 1px solid rgba(21, 91, 213, .18);
    border-radius: 999px;
    padding: 8px 12px;
    background: #fff;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 900;
}

.vle-kyc-approved-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
}

.vle-kyc-approved-actions .secondary {
    border-color: rgba(21, 91, 213, .22);
    background: #fff;
    color: var(--primary-dark);
}

.vle-kyc-rejected-card {
    border-color: rgba(220, 38, 38, .25);
    background: linear-gradient(180deg, #fff1f2 0%, #ffffff 72%);
}

.vle-kyc-rejected-card .vle-kyc-approved-icon {
    background: #dc2626;
    box-shadow: 0 18px 34px rgba(220, 38, 38, .2);
}

.vle-kyc-rejected-card h2 {
    color: #991b1b;
}

.vle-kyc-rejected-card .vle-kyc-approved-meta span {
    border-color: rgba(220, 38, 38, .18);
    color: #991b1b;
}

.rekyc-form-hidden {
    display: none;
}

.rekyc-verified-badge {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(22, 163, 74, .22);
    border-radius: 7px;
    margin-top: 8px;
    padding: 10px 12px;
    background: #ecfdf3;
    color: #15803d;
    font-weight: 900;
}

button.action-link {
    border: 0;
    cursor: pointer;
}

.detail-main {
    margin-left: 0;
    padding: 28px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.detail-grid div {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: #f7fbff;
}

.detail-grid span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.detail-docs {
    margin-bottom: 16px;
}

.text-link {
    color: var(--danger);
    font-weight: 800;
}

.table-wrap {
    overflow-x: auto;
}

.badge {
    display: inline-flex;
    min-width: 78px;
    justify-content: center;
    border-radius: 999px;
    padding: 6px 10px;
    background: #eaf1ff;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 800;
}

.badge.active,
.badge.paid,
.badge.completed,
.badge.verified {
    background: #dce9ff;
    color: var(--primary-dark);
}

.badge.pending,
.badge.due,
.badge.processing,
.badge.not-submitted {
    background: var(--accent-soft);
    color: #7a5900;
}

.badge.inactive,
.badge.rejected,
.badge.refunded {
    background: #ffe3e5;
    color: var(--danger-dark);
}

.badge.approved {
    background: #dce9ff;
    color: var(--primary-dark);
}

.badge.forwarded {
    background: #eee5ff;
    color: #6737a8;
}

.inline-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(110px, 1fr)) 76px;
    gap: 8px;
    align-items: center;
}

.inline-form select,
.inline-form button {
    margin-top: 0;
    min-height: 36px;
}

.terms-check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--danger-dark);
    font-weight: 800;
}

.terms-check input {
    width: auto;
    margin: 0;
}

.auto-id-note {
    margin: 0;
    border: 1px solid var(--line);
    border-left: 5px solid var(--primary);
    border-radius: 8px;
    padding: 12px 14px;
    background: #eaf1ff;
    color: var(--primary-dark);
    font-weight: 800;
}

.otp-cancel-form {
    margin-top: 12px;
}

@media (max-width: 960px) {
    .sidebar {
        position: static;
        width: auto;
    }

    .main {
        margin-left: 0;
        padding: 18px;
    }

    .admin-dashboard-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-grid,
    .split,
    .form-grid,
    .kyc-email-verify-grid,
    .registration-form,
    .shop-address-grid,
    .captcha-box,
    .credential-grid,
    .role-detail-grid,
    .settings-grid {
        grid-template-columns: 1fr;
    }

    .topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .topbar-actions {
        width: 100%;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .topbar-balance {
        order: 1;
        flex: 1 1 220px;
    }

    .admin-notification {
        order: 2;
        margin-left: auto;
    }

    .notification-menu {
        right: auto;
        left: 0;
    }

    .site-nav,
    .contact-band {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-hero {
        min-height: auto;
    }

    .banner-track {
        aspect-ratio: 16 / 7;
        min-height: 190px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .trust-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-popup-panel {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .site-popup-panel img {
        height: auto;
        min-height: 0;
        max-height: 46vh;
    }

    .site-popup-content {
        min-height: auto;
        padding: 34px 28px 38px;
        align-items: center;
    }

    .vle-status-strip,
    .vle-layout,
    .vle-overview-grid,
    .kyc-record-grid,
    .kyc-info-grid,
    .role-user-detail-grid,
    .kyc-review-form,
    .kyc-step-grid,
    .vle-certificate-meta {
        grid-template-columns: 1fr;
    }

    .vle-certificate-footer {
        align-items: center;
        flex-direction: column;
    }

    .vle-kyc-popup-panel {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .vle-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .admin-dashboard-menu-grid {
        grid-template-columns: 1fr;
    }

    .live-sheet-toolbar,
    .live-sheet-toolbar > div:last-child {
        align-items: flex-start;
        flex-direction: column;
    }

    .mplan-api-list-summary {
        grid-template-columns: auto 1fr;
    }

    .mplan-api-list-summary .badge {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .mplan-api-list-meta .service-edit-button {
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }

    .login-panel,
    .panel,
    .stat {
        padding: 16px;
    }

    h1 {
        font-size: 24px;
    }

    .site-nav nav {
        width: 100%;
        flex-wrap: wrap;
    }

    .site-alert {
        align-items: flex-start;
        flex-direction: column;
    }

    .alert-marquee {
        width: 100%;
    }

    .home-hero {
        min-height: auto;
    }

    .quick-services {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .trust-stats {
        grid-template-columns: 1fr;
    }

    .vle-service-grid,
    .vle-status-strip {
        grid-template-columns: 1fr;
    }

    .service-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .banner-track {
        aspect-ratio: 1 / 1;
        min-height: 260px;
    }

    .banner-item {
        grid-template-columns: 1fr;
    }

    .banner-item img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 6;
    }

    .site-popup-panel {
        max-height: calc(100vh - 28px);
    }

    .site-popup-panel img {
        height: auto;
        min-height: 0;
        max-height: 40vh;
    }

    .site-popup-panel h2 {
        font-size: 28px;
    }

    .site-popup-panel p:not(.eyebrow) {
        font-size: 16px;
    }

    .site-popup-content {
        padding: 28px 20px 30px;
    }

    .site-popup-close {
        top: 10px;
        right: 10px;
        width: 38px;
        min-height: 38px;
    }
}

/* Premium visual system */
:root {
    --bg: #f5f7fb;
    --panel: rgba(255, 255, 255, .96);
    --ink: #101828;
    --muted: #667085;
    --line: #e4e7ec;
    --primary: #3157d5;
    --primary-dark: #182f91;
    --accent: #f6bd39;
    --accent-soft: #fff5d6;
    --sidebar: #101c3b;
    --premium-shadow: 0 18px 50px rgba(16, 24, 40, .08);
    --premium-shadow-hover: 0 24px 60px rgba(30, 58, 138, .16);
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 82% 4%, rgba(49, 87, 213, .09), transparent 26rem),
        radial-gradient(circle at 18% 92%, rgba(246, 189, 57, .08), transparent 24rem),
        var(--bg);
    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: rgba(49, 87, 213, .18);
    color: var(--primary-dark);
}

h1,
h2,
h3,
strong {
    letter-spacing: -.02em;
}

h1 {
    font-size: clamp(26px, 3vw, 34px);
}

input,
select,
textarea {
    min-height: 46px;
    border-color: #d9deea;
    border-radius: 11px;
    padding: 12px 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input:hover,
select:hover,
textarea:hover {
    border-color: #b6c1da;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(49, 87, 213, .12);
}

button,
.primary,
.action-link {
    border-radius: 11px;
    background: linear-gradient(135deg, #4065df, #213da5);
    box-shadow: 0 8px 18px rgba(49, 87, 213, .2);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

button:hover,
.primary:hover,
.action-link:hover {
    background: linear-gradient(135deg, #3157d5, #142979);
    box-shadow: 0 12px 24px rgba(33, 61, 165, .27);
    transform: translateY(-1px);
}

button:active,
.primary:active,
.action-link:active {
    transform: translateY(0);
}

.panel,
.stat,
.login-panel {
    border-color: rgba(228, 231, 236, .9);
    border-radius: 16px;
    background: var(--panel);
    box-shadow: var(--premium-shadow);
    backdrop-filter: blur(12px);
}

.panel {
    padding: 24px;
}

.sidebar {
    width: 272px;
    gap: 24px;
    padding: 24px 18px;
    background:
        radial-gradient(circle at 0 0, rgba(93, 124, 255, .28), transparent 18rem),
        linear-gradient(180deg, #121f43 0%, #09152f 100%);
    border-right: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 14px 0 40px rgba(9, 21, 47, .14);
}

.sidebar .brand {
    min-height: 64px;
    padding: 6px 8px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.sidebar nav {
    gap: 6px;
}

.sidebar nav a,
.nav-group summary,
.logout {
    min-height: 46px;
    border-radius: 11px;
    padding: 12px 14px;
    color: #cbd5e7;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.sidebar nav a.active,
.sidebar nav a:hover,
.nav-group summary:hover,
.nav-group[open] summary,
.logout:hover {
    background: linear-gradient(90deg, rgba(246, 189, 57, .2), rgba(255, 255, 255, .07));
    box-shadow: inset 3px 0 0 var(--accent);
    transform: translateX(2px);
}

.sidebar-category {
    margin-top: 16px;
    color: rgba(218, 227, 245, .55);
    letter-spacing: 1.4px;
}

.main {
    margin-left: 272px;
    padding: clamp(22px, 3vw, 38px);
}

.topbar {
    min-height: 64px;
    margin-bottom: 26px;
}

.topbar-balance,
.admin-chip {
    border: 1px solid rgba(228, 231, 236, .95);
    border-radius: 13px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 30px rgba(16, 24, 40, .07);
    backdrop-filter: blur(12px);
}

.section-title {
    margin-bottom: 4px;
}

.section-title h2 {
    margin-bottom: 0;
    font-size: 21px;
}

.stat,
.vle-status-strip article {
    position: relative;
    overflow: hidden;
    border-color: rgba(228, 231, 236, .9);
    border-radius: 16px;
    box-shadow: var(--premium-shadow);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.stat::after,
.vle-status-strip article::after {
    position: absolute;
    width: 90px;
    height: 90px;
    right: -36px;
    bottom: -42px;
    border-radius: 50%;
    background: rgba(49, 87, 213, .06);
    content: "";
}

.stat:hover,
.vle-status-strip article:hover {
    border-color: rgba(49, 87, 213, .2);
    box-shadow: var(--premium-shadow-hover);
    transform: translateY(-3px);
}

.vle-service-grid {
    gap: 16px;
}

.vle-service-tile {
    min-height: 136px;
    border-color: #e8ebf2;
    border-radius: 15px;
    padding: 18px 12px;
    background: linear-gradient(145deg, #fff, #fafbff);
    box-shadow: 0 8px 24px rgba(16, 24, 40, .06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.vle-service-tile:hover {
    border-color: rgba(49, 87, 213, .3);
    background: linear-gradient(145deg, #fff, #f3f6ff);
    box-shadow: var(--premium-shadow-hover);
    transform: translateY(-5px);
}

.vle-service-tile img {
    width: 58px;
    height: 58px;
    filter: drop-shadow(0 8px 10px rgba(49, 87, 213, .12));
}

.table-wrap {
    border: 1px solid var(--line);
    border-radius: 13px;
    overflow: auto;
}

table {
    background: rgba(255, 255, 255, .75);
}

th {
    padding-block: 14px;
    background: #f8f9fc;
    color: #475467;
    letter-spacing: .05em;
}

tbody tr {
    transition: background .18s ease;
}

tbody tr:hover {
    background: #f7f9ff;
}

.badge {
    border-radius: 999px;
    padding: 6px 10px;
}

.site-nav {
    padding-block: 12px;
    border-bottom-color: rgba(228, 231, 236, .82);
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 8px 30px rgba(16, 24, 40, .05);
    backdrop-filter: blur(18px);
}

.banner-slider {
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(16, 35, 80, .2);
}

.quick-services .service-icon,
.service-row,
.gallery-card {
    border-radius: 15px;
    box-shadow: 0 12px 32px rgba(16, 24, 40, .07);
    transition: transform .25s ease, box-shadow .25s ease;
}

.quick-services .service-icon:hover,
.service-row:hover,
.gallery-card:hover {
    box-shadow: var(--premium-shadow-hover);
    transform: translateY(-4px);
}

.login-page {
    background:
        radial-gradient(circle at 20% 20%, rgba(82, 112, 255, .35), transparent 28rem),
        radial-gradient(circle at 85% 82%, rgba(246, 189, 57, .18), transparent 24rem),
        linear-gradient(135deg, #09152f, #162e69);
}

.login-panel {
    border: 1px solid rgba(255, 255, 255, .7);
    padding: 38px;
    box-shadow: 0 30px 90px rgba(4, 12, 31, .35);
}

.password-input-wrap {
    position: relative;
    display: block;
}

.password-input-wrap input {
    padding-right: 48px;
}

.password-visibility-toggle {
    position: absolute;
    top: 50%;
    right: 7px;
    width: 38px;
    height: 38px;
    min-height: 0;
    padding: 8px;
    border: 0;
    border-radius: 8px;
    color: #586174;
    background: transparent;
    box-shadow: none;
    transform: translateY(-50%);
}

.password-visibility-toggle:hover,
.password-visibility-toggle:focus-visible {
    color: #213da5;
    background: #edf1ff;
    box-shadow: none;
    transform: translateY(-50%);
}

.password-visibility-toggle svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.password-visibility-toggle .eye-closed,
.password-visibility-toggle[aria-pressed="true"] .eye-open {
    display: none;
}

.password-visibility-toggle[aria-pressed="true"] .eye-closed {
    display: block;
}

@media (max-width: 980px) {
    .sidebar {
        width: 100%;
        box-shadow: 0 12px 30px rgba(9, 21, 47, .15);
    }

    .main {
        margin-left: 0;
        padding: 22px;
    }
}

@media (max-width: 560px) {
    .main {
        padding: 16px;
    }

    .panel,
    .stat,
    .login-panel {
        border-radius: 14px;
        padding: 18px;
    }

    .vle-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .vle-service-tile {
        min-height: 124px;
        padding: 14px 8px;
    }

    .vle-service-tile img {
        width: 50px;
        height: 50px;
    }
}

.portal-live-chat {
    position: fixed;
    z-index: 120;
    right: 24px;
    bottom: 24px;
}

.portal-chat-toggle {
    display: flex;
    width: auto;
    min-height: 54px;
    align-items: center;
    gap: 9px;
    border: 2px solid rgba(255, 255, 255, .82);
    border-radius: 999px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #4169e1, #243fa8);
    box-shadow: 0 18px 40px rgba(36, 63, 168, .34);
}

.portal-chat-toggle .admin-icon {
    width: 23px;
    height: 23px;
}

.portal-chat-panel {
    position: absolute;
    right: 0;
    bottom: 68px;
    width: min(390px, calc(100vw - 28px));
    overflow: hidden;
    border: 1px solid #dfe4ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(16, 24, 40, .25);
}

.portal-staff-chat .portal-chat-panel {
    width: min(780px, calc(100vw - 32px));
}

.portal-chat-panel > header {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    background: linear-gradient(135deg, #3157d5, #182f91);
    color: #fff;
}

.portal-chat-panel header strong,
.portal-chat-panel header small {
    display: block;
}

.portal-chat-panel header small {
    margin-top: 3px;
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
}

.portal-chat-panel header button {
    width: 36px;
    min-height: 36px;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, .14);
    box-shadow: none;
    font-size: 23px;
}

.portal-chat-panel header .portal-chat-end {
    width: auto;
    min-height: 30px;
    margin-left: auto;
    margin-right: 8px;
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: 10px;
}

.portal-chat-messages {
    display: flex;
    height: 360px;
    flex-direction: column;
    gap: 9px;
    overflow-y: auto;
    padding: 16px;
    background: #f4f6fb;
}

.portal-chat-history {
    border-bottom: 1px solid #e5e9f2;
    padding: 9px 11px;
    background: #fff;
}

.portal-chat-history > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
}

.portal-chat-history > div strong {
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.portal-chat-history [data-new-chat] {
    width: auto;
    min-height: 26px;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 9px;
}

.portal-chat-history nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.portal-chat-history nav button {
    display: grid;
    min-height: 50px;
    grid-template-columns: 1fr auto;
    gap: 3px;
    border: 1px solid #e3e7ef;
    border-radius: 9px;
    padding: 7px;
    background: #f8f9fc;
    color: var(--ink);
    box-shadow: none;
    text-align: left;
}

.portal-chat-history nav button:hover {
    border-color: #b9c8eb;
    background: #f1f5ff;
    transform: none;
}

.portal-chat-history nav span {
    font-size: 9px;
    font-weight: 900;
}

.portal-chat-history nav i {
    border-radius: 999px;
    padding: 2px 4px;
    font-size: 7px;
    font-style: normal;
    text-transform: uppercase;
}

.portal-chat-history nav i.open {
    background: #dcfce7;
    color: #087f5b;
}

.portal-chat-history nav i.closed {
    background: #e8ebf0;
    color: #667085;
}

.portal-chat-history nav small {
    grid-column: 1 / -1;
    overflow: hidden;
    color: var(--muted);
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-live-chat:not(.portal-staff-chat) .portal-chat-messages {
    height: 300px;
}

.portal-chat-message {
    display: flex;
    max-width: 82%;
    flex-direction: column;
    gap: 4px;
}

.portal-chat-message.mine {
    align-self: flex-end;
    align-items: flex-end;
}

.portal-chat-message.theirs {
    align-self: flex-start;
}

.portal-chat-message span {
    border-radius: 16px 16px 16px 4px;
    padding: 10px 13px;
    background: #fff;
    color: #202939;
    box-shadow: 0 4px 12px rgba(16, 24, 40, .07);
    white-space: pre-wrap;
    word-break: break-word;
}

.portal-chat-message.mine span {
    border-radius: 16px 16px 4px 16px;
    background: linear-gradient(135deg, #4169e1, #3157d5);
    color: #fff;
}

.portal-chat-file {
    display: flex;
    max-width: 260px;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    border: 1px solid #dfe5f0;
    border-radius: 13px;
    padding: 9px 11px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 4px 12px rgba(16, 24, 40, .07);
}

.portal-chat-file.image {
    display: grid;
    padding: 5px;
}

.portal-chat-file img {
    display: block;
    width: 100%;
    max-height: 190px;
    border-radius: 9px;
    object-fit: cover;
}

.portal-chat-file b {
    font-size: 25px;
}

.portal-chat-file em,
.portal-chat-file em small {
    display: block;
    min-width: 0;
    overflow: hidden;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aeps-location-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid #cbdaf6;
    border-radius: 13px;
    padding: 13px;
    background: linear-gradient(135deg, #f5f8ff, #edf4ff);
}

.aeps-location-panel > div {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.aeps-location-panel .admin-icon {
    width: 30px;
    height: 30px;
    color: var(--primary);
}

.aeps-location-panel span,
.aeps-location-panel strong,
.aeps-location-panel small {
    display: block;
}

.aeps-location-panel small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

.aeps-location-panel small.success {
    color: var(--success);
}

.aeps-location-panel small.error {
    color: var(--danger);
}

.aeps-location-panel button {
    width: auto;
    min-width: 130px;
    flex: 0 0 auto;
    padding: 9px 12px;
    font-size: 11px;
}

@media (max-width: 560px) {
    .aeps-location-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .aeps-location-panel button {
        width: 100%;
    }
}

.portal-chat-file em small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 600;
}

.portal-chat-message small {
    color: #8992a3;
    font-size: 9px;
}

.portal-chat-form {
    display: grid;
    grid-template-columns: 40px 1fr 44px;
    gap: 9px;
    border-top: 1px solid #e5e9f2;
    padding: 11px;
    background: #fff;
}

.portal-chat-attach {
    position: relative;
    display: grid;
    width: 40px;
    min-height: 44px;
    place-items: center;
    align-self: end;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--primary);
    cursor: pointer;
    font-size: 20px;
    transition: background .2s ease, transform .2s ease;
}

.portal-chat-attach:hover,
.portal-chat-attach.selected {
    background: #dce5ff;
    transform: translateY(-1px);
}

.portal-chat-attach.selected::after {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 9px;
    height: 9px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #16a05d;
    content: "";
}

.portal-chat-form textarea {
    min-height: 44px;
    max-height: 100px;
    margin: 0;
    resize: none;
}

.portal-chat-form button {
    width: 44px;
    min-height: 44px;
    border-radius: 50%;
    padding: 0;
    font-size: 20px;
}

.portal-chat-empty,
.portal-chat-error {
    margin: auto;
    padding: 18px;
    color: #7b8496;
    font-size: 12px;
    text-align: center;
}

.portal-chat-error {
    color: var(--danger);
}

.portal-chat-staff-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
}

.portal-chat-staff-layout > aside {
    height: 425px;
    overflow-y: auto;
    border-right: 1px solid #e5e9f2;
    background: #fff;
}

.portal-chat-staff-layout > aside button {
    position: relative;
    display: block;
    width: 100%;
    min-height: 68px;
    border: 0;
    border-bottom: 1px solid #edf0f5;
    border-radius: 0;
    padding: 12px 42px 12px 13px;
    background: #fff;
    color: var(--ink);
    box-shadow: none;
    text-align: left;
}

.portal-chat-staff-layout > aside button:hover {
    background: #f3f6ff;
    transform: none;
}

.portal-chat-staff-layout aside strong,
.portal-chat-staff-layout aside small {
    display: block;
}

.portal-chat-staff-layout aside i {
    display: inline-block;
    margin-left: 4px;
    border-radius: 999px;
    padding: 2px 6px;
    font-size: 8px;
    font-style: normal;
    text-transform: uppercase;
}

.portal-chat-staff-layout aside i.open {
    background: #dcfce7;
    color: #087f5b;
}

.portal-chat-staff-layout aside i.closed {
    background: #eef0f4;
    color: #667085;
}

.portal-chat-staff-layout aside small {
    margin-top: 4px;
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-chat-staff-layout aside b {
    position: absolute;
    top: 22px;
    right: 13px;
    min-width: 22px;
    border-radius: 999px;
    padding: 4px;
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    text-align: center;
}

.portal-chat-thread .portal-chat-messages {
    height: 360px;
}

@media (max-width: 650px) {
    .portal-live-chat {
        right: 13px;
        bottom: 13px;
    }

    .portal-chat-toggle span {
        display: none;
    }

    .portal-chat-toggle {
        width: 54px;
        padding: 12px;
    }

    .portal-staff-chat .portal-chat-panel {
        position: fixed;
        inset: 12px;
        width: auto;
    }

    .portal-chat-staff-layout {
        grid-template-columns: 125px minmax(0, 1fr);
    }

    .portal-chat-staff-layout > aside {
        height: calc(100vh - 103px);
    }

    .portal-chat-thread .portal-chat-messages {
        height: calc(100vh - 171px);
    }
}

/* Final recharge layout overrides */
.recharge-page .recharge-layout{grid-template-columns:minmax(0,760px) minmax(280px,340px);justify-content:center;gap:24px}
.recharge-page .recharge-pro-form{border-radius:20px;background:#fff;box-shadow:0 18px 55px rgba(15,50,96,.1)}
.recharge-page .recharge-pro-form>*:not(.recharge-pro-head){margin-left:30px;margin-right:30px}
.recharge-page .recharge-pro-head{padding:22px 30px;border-radius:20px 20px 0 0;background:linear-gradient(120deg,#0b377c,#0968bf)}
.recharge-page .recharge-pro-head h2{margin:1px 0 2px;font-size:25px;letter-spacing:-.02em}
.recharge-page .recharge-pro-head p{margin:0;color:#d8ebff;font-size:12px}
.recharge-page .recharge-head-kicker{display:block;color:#9fd2ff!important;font-size:10px!important;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.recharge-page .recharge-phone-mark{width:48px;height:48px;border-radius:14px}
.recharge-page .recharge-main-field{margin-top:24px}
.recharge-page .recharge-main-field>span{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-size:13px}
.recharge-page .recharge-main-field em{color:#8b99ad;font-size:9px;font-style:normal;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.recharge-page .recharge-main-field:has(input[required])::after,.recharge-page .recharge-network-fields label:has([required])::after{display:none!important;content:none!important}
.recharge-page .recharge-input-wrap{min-height:56px;border-color:#d3deeb;border-radius:14px}
.recharge-page .recharge-input-wrap input{min-height:54px;font-size:18px}
.recharge-page .recharge-fetch-status{min-height:42px;margin-top:10px;padding:12px 14px;border-color:#e2e9f2;border-radius:11px;background:#f8fafc;font-size:12px}
.recharge-page .recharge-step-panel{gap:16px;padding-top:22px;border-top:1px solid #e8edf4}
.recharge-page .recharge-step-title{gap:11px}.recharge-page .recharge-step-title>b{width:30px;height:30px;background:#0b62ba;box-shadow:0 5px 14px rgba(11,98,186,.22)}
.recharge-page .recharge-step-title strong{font-size:16px;color:#17243a}
.recharge-page .recharge-auto-result{display:flex;align-items:center;gap:12px;padding:13px 15px;border:1px solid #ccebdd;border-radius:13px;background:#f0fbf6}
.recharge-page .recharge-auto-result:before{display:none}.recharge-page .recharge-result-check{display:grid;place-items:center;width:31px;height:31px;flex:none;border-radius:10px;background:#079b67;color:#fff;font-size:16px;font-weight:900}
.recharge-page .recharge-auto-result>div:nth-child(2){display:grid;min-width:0;gap:2px}.recharge-page .recharge-auto-result span{margin:0;color:#6c7c91;font-size:10px;text-transform:uppercase;letter-spacing:.06em}
.recharge-page .recharge-auto-result strong{overflow:hidden;color:#087a54;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.recharge-page .recharge-auto-result small{margin-left:auto;padding:5px 8px;border-radius:20px;background:#d8f4e7;color:#087a54;font-size:9px;font-weight:800;text-transform:uppercase}
.recharge-page .recharge-network-fields label{color:#52647d;font-size:12px;font-weight:800}.recharge-page .recharge-network-fields select{margin-top:7px;min-height:48px;border-radius:12px;background-color:#fff}
.recharge-page .recharge-plan-actions{gap:12px}.recharge-page .recharge-plan-actions button{min-height:58px;border-radius:13px;background:#f5f9ff;box-shadow:none;font-weight:800}
.recharge-page .recharge-quick-amounts{gap:10px}.recharge-page .recharge-quick-amounts button{padding:11px 8px;border-radius:10px}
.recharge-page .recharge-continue{margin-top:4px;margin-bottom:30px;min-height:54px;border-radius:13px;background:linear-gradient(100deg,#0752a5,#0878cf);box-shadow:0 10px 24px rgba(8,95,181,.22)}
.recharge-page .recharge-side-card{border-radius:18px}
@media(max-width:1050px){.recharge-page .recharge-layout{grid-template-columns:minmax(0,760px)}.recharge-page .recharge-side-card{position:static}}
@media(max-width:600px){.recharge-page .recharge-pro-form>*:not(.recharge-pro-head){margin-left:16px;margin-right:16px}.recharge-page .recharge-pro-head{padding:18px}.recharge-page .recharge-pro-head p{display:none}.recharge-page .recharge-main-field{margin-top:18px}.recharge-page .recharge-network-fields{grid-template-columns:1fr}.recharge-page .recharge-auto-result small{display:none}.recharge-page .recharge-plan-actions{grid-template-columns:1fr}.recharge-page .recharge-step-panel{padding-top:18px}}

/* API management starts as a clean selectable list */
.api-list-panel>.alert{display:none}
.api-list-panel .api-management-card>summary{cursor:pointer;list-style:none}
.api-list-panel .api-management-card>summary::-webkit-details-marker{display:none}
.api-list-panel .api-management-card:not([open])>summary:hover{background:#f5f9ff}
.api-list-panel .mplan-api-list-card>summary{padding:0}
.api-list-panel .mplan-api-list-summary{position:relative;padding-right:34px}
.api-list-panel .mplan-api-list-summary:after{position:absolute;right:16px;top:50%;color:#75869e;font-size:24px;content:'›';transform:translateY(-50%);transition:transform .2s}
.api-list-panel details[open] .mplan-api-list-summary:after{transform:translateY(-50%) rotate(90deg)}

/* Service-first API manager */
.api-manager-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}
.api-manager-overview article{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border:1px solid #e0e8f3;border-radius:14px;background:#f8fbff}
.api-manager-overview article span{color:#66758a;font-size:13px;font-weight:700}
.api-manager-overview article strong{font-size:25px;color:#172b4d}
.api-manager-overview .is-live{background:#effbf5;border-color:#c9efdc}.api-manager-overview .is-live strong{color:#087c4c}
.api-manager-overview .has-backup{background:#fff8eb;border-color:#f5dfb5}.api-manager-overview .has-backup strong{color:#a05b00}
.api-manager-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;padding:15px;margin-bottom:18px;border:1px solid #e2e9f2;border-radius:14px;background:#fff}
.api-manager-search{display:grid;gap:6px;flex:1;max-width:480px;color:#52647a;font-size:12px;font-weight:800}.api-manager-search input{width:100%;height:42px}
.api-manager-filters{display:flex;flex-wrap:wrap;gap:7px}.api-manager-filters button{padding:9px 13px;border:1px solid #d7e0ec;border-radius:20px;background:#f8fafc;color:#52647a;font-weight:700}
.api-manager-filters button.active{border-color:#1769e0;background:#1769e0;color:#fff}
.service-api-card[hidden]{display:none}.service-api-card>summary{display:grid!important;grid-template-columns:minmax(210px,.85fr) minmax(300px,1.5fr) auto;align-items:center;gap:18px;padding:17px 20px!important}
.api-service-identity{display:flex!important;align-items:center;gap:12px}.api-service-identity i{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#eaf2ff;color:#1769e0}.api-service-identity i .admin-icon{width:20px;height:20px}
.api-route-summary{display:grid!important;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px}.api-route-summary>span{display:grid!important;gap:3px;min-width:0}.api-route-summary small,.api-card-status small{color:#7a899d;font-size:11px}.api-route-summary strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.api-route-summary>b{color:#9aabba}
.api-card-status{display:grid!important;justify-items:end;gap:4px}.api-flow-strip{display:flex;align-items:center;gap:10px;padding:12px 20px;border-top:1px solid #e6edf5;background:#f8fafc;color:#8390a2;font-size:12px;font-weight:800}.api-flow-strip span{padding:7px 10px;border:1px solid #dfe7f0;border-radius:9px;background:#fff}.api-flow-strip span.active{border-color:#b8e6cf;background:#edfaf4;color:#087c4c}.api-flow-strip span.backup{border-color:#f2d59d;background:#fff8e9;color:#9b5a00}
.api-quick-assign{display:grid;grid-template-columns:minmax(240px,1fr) 180px auto;align-items:end;gap:12px;padding:16px 20px;border-top:1px solid #dce8f5;border-bottom:1px solid #dce8f5;background:#eef6ff}.api-quick-assign label{display:grid;gap:6px;color:#38536f;font-size:12px;font-weight:800}.api-quick-assign select{min-height:43px;background:#fff}.api-quick-assign button{min-height:43px;padding:9px 18px;border-color:#1769e0;background:#1769e0;color:#fff;font-weight:800}
@media(max-width:850px){.api-manager-overview{grid-template-columns:1fr}.api-manager-toolbar{align-items:stretch;flex-direction:column}.api-manager-search{max-width:none}.service-api-card>summary{grid-template-columns:1fr auto}.api-route-summary{grid-column:1/-1;grid-row:2}.api-card-status{grid-column:2;grid-row:1}.api-flow-strip{overflow-x:auto}}
@media(max-width:700px){.api-quick-assign{grid-template-columns:1fr}.api-quick-assign button{width:100%}}
.api-provider-hub{margin:22px 0 14px;padding:20px;border:1px solid #dce6f2;border-radius:16px;background:linear-gradient(135deg,#f7faff,#eef6ff)}
.api-provider-hub nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.api-provider-hub nav a{display:grid;gap:4px;padding:16px;border:1px solid #d9e5f2;border-radius:13px;background:#fff;color:#17324d;text-decoration:none;box-shadow:0 5px 16px rgba(30,74,120,.06)}.api-provider-hub nav a:hover{border-color:#1769e0;transform:translateY(-1px)}.api-provider-hub nav small{color:#718096}.api-provider-settings,.api-anchor+form{scroll-margin-top:18px;margin-top:16px}.api-anchor{scroll-margin-top:18px}
@media(max-width:850px){.api-provider-hub nav{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.api-provider-hub nav{grid-template-columns:1fr}}

/* Fintech admin control center */
.admin-control-panel:not(.live-sheet-page){--fin-navy:#071a2f;--fin-navy-2:#0c2848;--fin-blue:#1769e0;--fin-cyan:#16b8c8;--fin-green:#0aa36c;--fin-canvas:#f3f6fa;--fin-border:#dde5ef;background:var(--fin-canvas);color:#17243a}
.admin-control-panel:not(.live-sheet-page)>.sidebar{width:272px;padding:18px 14px;border:0;background:linear-gradient(180deg,var(--fin-navy),#061423);box-shadow:8px 0 28px rgba(4,20,38,.1)}
.admin-control-panel:not(.live-sheet-page)>.sidebar .brand{min-height:66px;margin:0 4px 18px;padding:8px 8px 19px;border-bottom:1px solid rgba(255,255,255,.1)}
.admin-control-panel:not(.live-sheet-page)>.sidebar .brand-icon{width:43px;height:43px;padding:5px;border-radius:13px;background:#fff;box-shadow:0 7px 18px rgba(0,0,0,.2)}
.admin-control-panel:not(.live-sheet-page)>.sidebar .brand strong{color:#fff;font-size:14px}.admin-control-panel:not(.live-sheet-page)>.sidebar .brand small{color:#8fa7c1;font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.admin-control-panel:not(.live-sheet-page) .admin-nav{gap:8px}.admin-control-panel:not(.live-sheet-page) .admin-nav>a,.admin-control-panel:not(.live-sheet-page) .admin-nav .nav-group summary{border:1px solid transparent;border-radius:10px;color:#b9c8d9;font-size:14px;font-weight:700}.admin-control-panel:not(.live-sheet-page) .admin-nav .nav-submenu a{border:1px solid transparent;border-radius:10px;color:#b9c8d9;font-size:13px;font-weight:700}
.admin-control-panel:not(.live-sheet-page) .admin-nav>a,.admin-control-panel:not(.live-sheet-page) .admin-nav .nav-group summary{min-height:43px;padding:10px 12px}.admin-control-panel:not(.live-sheet-page) .admin-nav .nav-submenu{margin:4px 0 6px 14px;padding-left:10px;border-left:1px solid rgba(255,255,255,.1)}.admin-control-panel:not(.live-sheet-page) .admin-nav .nav-submenu a{min-height:38px;margin:2px 0;padding:8px 10px}
.admin-control-panel:not(.live-sheet-page) .admin-nav a:hover,.admin-control-panel:not(.live-sheet-page) .admin-nav summary:hover{color:#fff;background:rgba(255,255,255,.07)}.admin-control-panel:not(.live-sheet-page) .admin-nav a.active{border-color:rgba(91,167,255,.25);color:#fff;background:linear-gradient(135deg,#1769e0,#0b56b8);box-shadow:0 8px 20px rgba(23,105,224,.28)}
.admin-control-panel:not(.live-sheet-page)>.sidebar .logout{margin:12px 4px 0;border:1px solid rgba(255,119,130,.15);border-radius:10px;color:#ffadb4;background:rgba(190,35,50,.1)}
.admin-control-panel:not(.live-sheet-page)>.main{margin-left:272px;padding:26px 30px 48px}.admin-control-panel:not(.live-sheet-page) .topbar{position:sticky;z-index:80;top:0;margin:-26px -30px 24px;padding:17px 30px;border-bottom:1px solid var(--fin-border);background:rgba(255,255,255,.94);box-shadow:0 5px 18px rgba(15,39,71,.05);backdrop-filter:blur(14px)}
.admin-control-panel:not(.live-sheet-page) .topbar h1{margin:2px 0 0;color:#12213a;font-size:clamp(21px,2vw,29px);letter-spacing:-.03em}.admin-control-panel:not(.live-sheet-page) .topbar .eyebrow{color:var(--fin-blue);font-size:9px;letter-spacing:.16em}.admin-control-panel:not(.live-sheet-page) .admin-notification>summary,.admin-control-panel:not(.live-sheet-page) .admin-profile-menu>summary{border-color:var(--fin-border);border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(15,39,71,.06)}
.admin-control-panel:not(.live-sheet-page) .fintech-command-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px;padding:26px 28px;overflow:hidden;border-radius:19px;background:linear-gradient(120deg,#081f39 0%,#0c3f72 63%,#087f91 130%);box-shadow:0 16px 38px rgba(7,31,57,.18);color:#fff}.admin-control-panel:not(.live-sheet-page) .fintech-command-hero:after{position:absolute;right:-70px;top:-100px;width:270px;height:270px;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 45px rgba(255,255,255,.025);content:""}.fintech-command-hero>div{position:relative;z-index:1}.fintech-command-hero p{margin:0 0 6px;color:#77dbe5;font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.fintech-command-hero h2{margin:0 0 7px;font-size:clamp(21px,3vw,31px);letter-spacing:-.035em}.fintech-command-hero>div>span{color:#bdd0e2;font-size:12px}.fintech-command-hero aside{position:relative;z-index:1;display:grid;grid-template-columns:auto 1fr;gap:3px 8px;min-width:215px;padding:14px 16px;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:rgba(255,255,255,.08);backdrop-filter:blur(8px)}.fintech-command-hero aside i{grid-row:1/3;width:9px;height:9px;margin-top:4px;border-radius:50%;background:#35dfa0;box-shadow:0 0 0 5px rgba(53,223,160,.12)}.fintech-command-hero aside span{color:#a9bed3;font-size:10px}.fintech-command-hero aside strong{font-size:12px}
.admin-control-panel:not(.live-sheet-page) .stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.admin-control-panel:not(.live-sheet-page) .stat{position:relative;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:3px 12px;min-height:112px;padding:18px;overflow:hidden;border:1px solid var(--fin-border);border-radius:16px;background:#fff;box-shadow:0 7px 22px rgba(16,40,76,.05)}.admin-control-panel:not(.live-sheet-page) .stat:after{position:absolute;right:-25px;bottom:-35px;width:95px;height:95px;border-radius:50%;background:rgba(23,105,224,.045);content:""}.admin-control-panel:not(.live-sheet-page) .stat>.admin-icon{grid-row:1/4;width:22px;height:22px;padding:10px;box-sizing:content-box;border-radius:12px;color:var(--fin-blue);background:#eaf2ff}.admin-control-panel:not(.live-sheet-page) .stat:nth-child(2)>.admin-icon{color:#0a9666;background:#e8f8f1}.admin-control-panel:not(.live-sheet-page) .stat:nth-child(3)>.admin-icon{color:#8b5ac8;background:#f3ecfc}.admin-control-panel:not(.live-sheet-page) .stat:nth-child(4)>.admin-icon{color:#b46800;background:#fff3df}.admin-control-panel:not(.live-sheet-page) .stat span{color:#74839a;font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.admin-control-panel:not(.live-sheet-page) .stat strong{position:relative;z-index:1;color:#13233b;font-size:21px;letter-spacing:-.02em}.admin-control-panel:not(.live-sheet-page) .stat small{color:#8491a4;font-size:10px}
.admin-control-panel:not(.live-sheet-page) .panel,.admin-control-panel:not(.live-sheet-page) .setting-option{border:1px solid var(--fin-border);border-radius:16px;background:#fff;box-shadow:0 7px 22px rgba(16,40,76,.05)}.admin-control-panel:not(.live-sheet-page) .setting-option{transition:border-color .18s,box-shadow .18s,transform .18s}.admin-control-panel:not(.live-sheet-page) .setting-option:hover{border-color:#a9c8f5;box-shadow:0 14px 30px rgba(23,105,224,.1);transform:translateY(-2px)}.admin-control-panel:not(.live-sheet-page) .admin-dashboard-menu-groups{gap:20px}.admin-control-panel:not(.live-sheet-page) .admin-dashboard-menu-group>.section-title{margin-bottom:11px}.admin-control-panel:not(.live-sheet-page) .admin-dashboard-menu-card{min-height:105px;border-radius:15px}.admin-control-panel:not(.live-sheet-page) .admin-dashboard-menu-card strong{color:#18283e;font-size:14px}.admin-control-panel:not(.live-sheet-page) .admin-dashboard-menu-card small{color:#7c8a9d;font-size:10px}
.admin-control-panel:not(.live-sheet-page) .section-title h2{color:#17243a;letter-spacing:-.02em}.admin-control-panel:not(.live-sheet-page) input,.admin-control-panel:not(.live-sheet-page) select,.admin-control-panel:not(.live-sheet-page) textarea{border-color:#ccd7e5;border-radius:9px;background:#fbfcfe}.admin-control-panel:not(.live-sheet-page) input:focus,.admin-control-panel:not(.live-sheet-page) select:focus,.admin-control-panel:not(.live-sheet-page) textarea:focus{border-color:#5595ea;outline:3px solid rgba(23,105,224,.1);background:#fff}.admin-control-panel:not(.live-sheet-page) button.primary{border-radius:9px;background:linear-gradient(135deg,#1769e0,#1258bc);box-shadow:0 7px 16px rgba(23,105,224,.18)}
.admin-control-panel:not(.live-sheet-page) .table-wrap{border:1px solid var(--fin-border);border-radius:12px;background:#fff}.admin-control-panel:not(.live-sheet-page) table{border-collapse:separate;border-spacing:0}.admin-control-panel:not(.live-sheet-page) table th{padding:11px 12px;border-bottom:1px solid #d9e2ed;color:#52637a;background:#f6f8fb;font-size:10px;letter-spacing:.055em;text-transform:uppercase}.admin-control-panel:not(.live-sheet-page) table td{padding:12px;border-bottom:1px solid #edf1f6;color:#26364d;font-size:12px}.admin-control-panel:not(.live-sheet-page) table tbody tr:hover td{background:#f8fbff}.admin-control-panel:not(.live-sheet-page) .badge{padding:5px 9px;border-radius:7px;font-size:10px}
@media(max-width:1180px){.admin-control-panel:not(.live-sheet-page) .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.admin-control-panel:not(.live-sheet-page)>.sidebar{width:82px}.admin-control-panel:not(.live-sheet-page)>.sidebar .brand>div,.admin-control-panel:not(.live-sheet-page) .admin-nav span,.admin-control-panel:not(.live-sheet-page)>.sidebar .logout span{display:none}.admin-control-panel:not(.live-sheet-page)>.main{margin-left:82px}.admin-control-panel:not(.live-sheet-page) .admin-nav .nav-submenu{margin-left:0;padding-left:0;border:0}}
@media(max-width:700px){.admin-control-panel:not(.live-sheet-page)>.main{padding:18px 14px 38px}.admin-control-panel:not(.live-sheet-page) .topbar{margin:-18px -14px 18px;padding:14px}.admin-control-panel:not(.live-sheet-page) .fintech-command-hero{align-items:flex-start;flex-direction:column;padding:21px}.admin-control-panel:not(.live-sheet-page) .fintech-command-hero aside{width:100%}.admin-control-panel:not(.live-sheet-page) .stats-grid{grid-template-columns:1fr}.admin-control-panel:not(.live-sheet-page) .stat{min-height:96px}}
.recent-recharge-actions{display:flex!important;gap:5px;margin-top:4px}.recent-recharge-actions a{display:grid;place-items:center;width:28px;height:28px;border:1px solid #d6e1ee;border-radius:8px;background:#f5f9ff;color:#1769e0;font-size:16px;text-decoration:none}.recent-recharge-actions a:hover{border-color:#1769e0;background:#e8f2ff}
.recharge-preview-modal{padding:12px!important}.recharge-preview-dialog{width:min(96vw,500px)!important;max-height:calc(100vh - 24px)!important;overflow:hidden!important;gap:0!important;padding:0!important;border-radius:18px!important}.compact-confirm-head{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px;padding:16px 18px;background:linear-gradient(135deg,#082b66,#0c69ba);color:#fff}.compact-confirm-head .recharge-phone-mark{width:42px;height:42px;border-radius:12px}.compact-confirm-head h3,.compact-confirm-head p{margin:0}.compact-confirm-head h3{font-size:18px}.compact-confirm-head .eyebrow{color:#c3e4ff}.recharge-preview-dialog>.receipt-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:0!important;border:0!important;border-radius:0!important;background:#e4ebf3}.recharge-preview-dialog>.receipt-card>div{min-height:auto;padding:11px 16px;background:#fff}.recharge-preview-dialog>.alert{margin:10px 16px!important;padding:9px 11px!important;font-size:11px}.recharge-preview-dialog>label{margin:0 16px!important;font-size:11px!important}.recharge-preview-dialog>label input{min-height:42px!important;margin-top:5px;font-size:17px!important}.compact-confirm-actions{display:grid;grid-template-columns:90px 90px 1fr;gap:8px;padding:13px 16px 16px}.compact-confirm-actions button{min-height:42px;border:1px solid #cfdae7;border-radius:9px;background:#f3f6fa;color:#40536c;font-weight:800}.compact-confirm-actions button.primary{border-color:#1769e0;color:#fff;background:linear-gradient(135deg,#1769e0,#0b58bd)}@media(max-width:520px){.recharge-preview-dialog>.receipt-card{grid-template-columns:1fr 1fr}.compact-confirm-head{padding:13px 15px}.compact-confirm-actions{grid-template-columns:70px 70px 1fr;padding:11px 13px 13px}.compact-confirm-actions button{padding:7px 5px;font-size:11px}.recharge-preview-dialog>.receipt-card>div{padding:9px 12px}.recharge-preview-dialog>.alert{margin:8px 13px!important}.recharge-preview-dialog>label{margin:0 13px!important}}
.compact-confirm-head small{display:block;margin-top:2px;color:#b9dafa;font-size:10px;font-weight:700}.mobile-style-confirm .recharge-preview-dialog{border:1px solid #d8e3f0;box-shadow:0 28px 90px rgba(0,0,0,.45)}
.recharge-page,.dth-page{background:#f3f6fa}.recharge-page .recharge-layout,.dth-page .recharge-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,.65fr)!important;align-items:start;gap:20px;max-width:1220px;margin:0 auto}.recharge-page .recharge-pro-form,.dth-page .recharge-pro-form{min-width:0;margin:0;padding:0!important;overflow:hidden!important;border:1px solid #dbe4ef;border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(19,48,84,.07)}.recharge-page .recharge-pro-head,.dth-page .recharge-pro-head{min-height:92px;padding:20px 22px;border-radius:17px 17px 0 0;background:linear-gradient(120deg,#082b66,#075aa7 72%,#087f9a)}.recharge-page .recharge-pro-head h2,.dth-page .recharge-pro-head h2{margin:2px 0 3px;font-size:22px}.recharge-page .recharge-pro-head p,.dth-page .recharge-pro-head p{margin:0;color:#c6dcf0;font-size:11px}.recharge-head-kicker{color:#79d4e1!important;font-size:9px!important;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.recharge-page .recharge-pro-form>*:not(.recharge-pro-head),.dth-page .recharge-pro-form>*:not(.recharge-pro-head){margin-left:22px;margin-right:22px}.recharge-page .recharge-input-wrap,.dth-page .recharge-input-wrap{min-height:48px;border-color:#ccd8e6;border-radius:11px;background:#fbfcfe}.recharge-page .recharge-input-wrap input,.dth-page .recharge-input-wrap input{min-height:46px;font-size:15px}.recharge-page .recharge-fetch-status,.dth-page .recharge-fetch-status{margin-top:12px;padding:10px 12px;border-radius:10px;font-size:11px}.recharge-page .recharge-continue,.dth-page .recharge-continue{min-height:49px;margin:13px 0 22px;border-radius:11px}.dth-page .dth-operator-title{margin-top:0;padding-top:17px}.dth-page .dth-operator-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:10px}.dth-page .dth-operator-grid button{min-width:0;min-height:91px;padding:10px 6px;border:1px solid #dbe4ef;border-radius:12px;background:#fbfcfe}.dth-page .dth-operator-grid button:hover,.dth-page .dth-operator-grid button.active{border-color:#4f94e8;background:#eef6ff;box-shadow:0 6px 16px rgba(23,105,224,.1)}.dth-page .dth-operator-grid strong{font-size:10px;line-height:1.25}.dth-page [data-dth-customer-step]{display:grid;grid-template-columns:1fr auto;align-items:end;margin-top:4px}.dth-page .dth-customer-details{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.dth-page .dth-customer-details>div{min-width:0;padding:11px;border-radius:10px}.dth-page .dth-customer-details span{font-size:9px}.dth-page .dth-customer-details strong{overflow-wrap:anywhere;font-size:11px}.recharge-page .recharge-side-card,.dth-page .recharge-side-card{position:sticky;top:18px;margin:0;padding:17px;border:1px solid #dbe4ef;border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(19,48,84,.06)}.recharge-page .recent-recharge-list article,.dth-page .recent-recharge-list article{gap:8px;padding:12px 0}@media(max-width:1100px){.dth-page .dth-operator-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dth-page .dth-customer-details{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.recharge-page .recharge-layout,.dth-page .recharge-layout{grid-template-columns:1fr!important;max-width:760px}.recharge-page .recharge-side-card,.dth-page .recharge-side-card{position:static}}@media(max-width:600px){.recharge-page .recharge-pro-form>*:not(.recharge-pro-head),.dth-page .recharge-pro-form>*:not(.recharge-pro-head){margin-left:14px;margin-right:14px}.recharge-page .recharge-pro-head,.dth-page .recharge-pro-head{min-height:auto;padding:17px}.dth-page .dth-operator-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dth-page [data-dth-customer-step]{grid-template-columns:1fr}.dth-page .dth-customer-details{grid-template-columns:1fr 1fr}}

/* Recharge plan action colours */
.recharge-page .recharge-plan-actions button:first-child{border-color:#ffd4a8;background:linear-gradient(135deg,#fff6e9,#ffe9ca);color:#b65300;box-shadow:0 7px 18px rgba(210,106,15,.12)}
.recharge-page .recharge-plan-actions button:first-child .admin-icon{stroke:#d66a0f}
.recharge-page .recharge-plan-actions button:last-child{border-color:#bdd9ff;background:linear-gradient(135deg,#edf6ff,#dfeeff);color:#075bb4;box-shadow:0 7px 18px rgba(12,99,190,.12)}
.recharge-page .recharge-plan-actions button:last-child .admin-icon{stroke:#0871d1}
.recharge-page .recharge-plan-actions button:first-child:hover{border-color:#f2a14c;background:#ffe9cb;transform:translateY(-1px)}
.recharge-page .recharge-plan-actions button:last-child:hover{border-color:#6eacec;background:#dcebff;transform:translateY(-1px)}

/* Recharge pages: canonical responsive fixes (keep after legacy overrides). */
.recharge-page .recharge-layout,
.dth-page .recharge-layout,
.recharge-page .recharge-pro-form,
.dth-page .recharge-pro-form,
.recharge-page .recharge-side-card,
.dth-page .recharge-side-card {
    min-width: 0;
}

.recharge-page .recharge-pro-form > *,
.dth-page .recharge-pro-form > * {
    max-width: 100%;
    box-sizing: border-box;
}

.dth-page .dth-operator-logo,
.dth-page .dth-operator-logo img {
    max-width: 100%;
}

.dth-page .dth-operator-logo img {
    object-fit: contain;
}

.recharge-page .recent-recharge-list article > div,
.dth-page .recent-recharge-list article > div {
    min-width: 0;
}

.recharge-page .recent-recharge-list article span,
.dth-page .recent-recharge-list article span {
    overflow-wrap: anywhere;
}

@media (max-width: 980px) {
    .recharge-page .topbar,
    .dth-page .topbar {
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .recharge-page .recharge-layout,
    .dth-page .recharge-layout {
        width: 100%;
        gap: 14px;
    }

    .recharge-page .recharge-pro-head,
    .dth-page .recharge-pro-head {
        gap: 12px;
    }

    .recharge-page .recharge-phone-mark,
    .dth-page .recharge-phone-mark {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }

    .recharge-page .recharge-pro-head h2,
    .dth-page .recharge-pro-head h2 {
        font-size: 20px;
    }

    .recharge-page .recharge-quick-amounts,
    .dth-page .recharge-quick-amounts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dth-page [data-dth-view-details] {
        width: 100%;
        margin-top: 8px;
    }

    .recharge-page .recharge-side-card,
    .dth-page .recharge-side-card {
        padding: 14px;
    }
}

/* Full-screen recharge confirmation and coloured transaction states. */
.recharge-page .recharge-preview-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 20000 !important;
    display: grid;
    width: 100vw !important;
    height: 100dvh !important;
    max-width: none !important;
    place-items: center;
    margin: 0 !important;
    padding: 18px !important;
    background: rgba(2, 15, 36, .86) !important;
    backdrop-filter: blur(8px);
    overscroll-behavior: contain;
}

.recharge-page .recharge-preview-modal[hidden] {
    display: none !important;
}

.recharge-page .recharge-preview-dialog {
    width: min(94vw, 510px) !important;
    max-height: min(680px, calc(100dvh - 36px)) !important;
    border: 1px solid rgba(255,255,255,.32) !important;
    border-radius: 22px !important;
    background: #fff;
    box-shadow: 0 35px 110px rgba(0,0,0,.55) !important;
    animation: mobileConfirmIn .22s ease-out;
}

@keyframes mobileConfirmIn {
    from { opacity: 0; transform: translateY(18px) scale(.96); }
    to { opacity: 1; transform: none; }
}

.mobile-recharge-history .recent-recharge-list article:has(.badge.success) {
    margin: 5px 0;
    border: 1px solid #bce9d5;
    border-radius: 12px;
    padding: 10px;
    background: linear-gradient(135deg, #f4fff9, #e9faf2);
}

.mobile-recharge-history .recent-recharge-list article:has(.badge.failed) {
    margin: 5px 0;
    border: 1px solid #f3c2c2;
    border-radius: 12px;
    padding: 10px;
    background: linear-gradient(135deg, #fff8f8, #ffeded);
}

.mobile-recharge-history .recent-recharge-list article:has(.badge.pending) {
    margin: 5px 0;
    border: 1px solid #f1d9a6;
    border-radius: 12px;
    padding: 10px;
    background: linear-gradient(135deg, #fffdf5, #fff6df);
}

.mobile-recharge-history .recent-recharge-actions .recharge-print-button {
    border-color: #0874d1;
    color: #fff;
    background: linear-gradient(135deg, #0874d1, #0757aa);
    box-shadow: 0 5px 13px rgba(8,116,209,.2);
}

.mobile-recharge-history .recent-recharge-actions .recharge-print-button:hover {
    border-color: #06488d;
    color: #fff;
    background: linear-gradient(135deg, #075fae, #06488d);
}

.mobile-recharge-history .recent-recharge-actions .recharge-complaint-button:not(:disabled) {
    border-color: #e48a16;
    color: #fff;
    background: linear-gradient(135deg, #f3a126, #d97909);
    box-shadow: 0 5px 13px rgba(217,121,9,.2);
}

/* DTH uses the same root-level full-screen confirmation treatment. */
.dth-page .recharge-preview-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 20000 !important;
    display: grid;
    width: 100vw !important;
    height: 100dvh !important;
    max-width: none !important;
    place-items: center;
    margin: 0 !important;
    padding: 18px !important;
    background: rgba(2,15,36,.86) !important;
    backdrop-filter: blur(8px);
}

.dth-page .recharge-preview-modal[hidden] {
    display: none !important;
}

.dth-page .recharge-preview-dialog {
    width: min(94vw, 510px) !important;
    max-height: min(680px, calc(100dvh - 36px)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid rgba(255,255,255,.32) !important;
    border-radius: 22px !important;
    background: #fff;
    box-shadow: 0 35px 110px rgba(0,0,0,.55) !important;
    animation: mobileConfirmIn .22s ease-out;
}

.mobile-recharge-history .dth-recent-actions {
    grid-template-columns: 1fr;
}

@media (max-width: 520px) {
    .dth-page .recharge-preview-modal { padding: 10px !important; }
    .dth-page .recharge-preview-dialog {
        width: 100% !important;
        max-height: calc(100dvh - 20px) !important;
        border-radius: 18px !important;
    }
}

.mobile-recharge-history .recent-recharge-actions .recharge-complaint-button:not(:disabled):hover {
    color: #fff;
    background: linear-gradient(135deg, #df8b12, #bd6300);
}

@media (max-width: 520px) {
    .recharge-page .recharge-preview-modal {
        padding: 10px !important;
    }

    .recharge-page .recharge-preview-dialog {
        width: 100% !important;
        max-height: calc(100dvh - 20px) !important;
        border-radius: 18px !important;
    }
}

@media (max-width: 420px) {
    .dth-page .dth-operator-grid {
        grid-template-columns: 1fr;
    }

    .dth-page .dth-customer-details {
        grid-template-columns: 1fr;
    }

    .compact-confirm-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .compact-confirm-actions .primary {
        grid-column: 1 / -1;
    }
}

/* Mobile recharge workspace redesign. */
.recharge-page {
    --recharge-navy: #082b66;
    --recharge-blue: #0874d1;
    --recharge-cyan: #13a7b8;
}

.recharge-page .topbar {
    min-height: 54px;
    margin-bottom: 0;
}

.recharge-page .topbar h1 {
    font-size: clamp(22px, 2.4vw, 30px);
    letter-spacing: -.035em;
}

.recharge-page .recharge-layout {
    grid-template-columns: minmax(500px, 1.35fr) minmax(330px, .65fr) !important;
    width: 100%;
    max-width: 1280px;
    gap: 18px;
}

.recharge-page .recharge-pro-form {
    border-color: #d8e4f0;
    border-radius: 20px;
    box-shadow: 0 16px 45px rgba(8, 43, 102, .09);
}

.recharge-page .recharge-pro-head {
    min-height: 78px;
    padding: 16px 22px;
    background: linear-gradient(125deg, #06275c 0%, #075ca9 64%, #0b91a5 125%);
}

.recharge-page .recharge-pro-head::after {
    position: absolute;
    right: -35px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    content: "";
}

.recharge-page .recharge-pro-head {
    position: relative;
    overflow: hidden;
}

.recharge-page .recharge-main-field {
    margin-top: 16px;
}

.recharge-page .recharge-input-wrap {
    min-height: 50px;
    border: 1px solid #cbd9e8;
    background: #f9fbfe;
    box-shadow: inset 0 1px 2px rgba(8,43,102,.03);
}

.recharge-page .recharge-input-wrap:focus-within {
    border-color: var(--recharge-blue);
    box-shadow: 0 0 0 3px rgba(8,116,209,.1);
}

.recharge-page .recharge-fetch-status {
    min-height: 36px;
    margin-top: 8px;
    padding: 9px 12px;
}

.recharge-page .recharge-step-panel {
    gap: 11px;
    padding-top: 14px;
}

.recharge-page .recharge-plan-actions button {
    min-height: 48px;
}

.recharge-page .recharge-continue {
    min-height: 48px;
    margin: 5px 0 18px;
}

.mobile-recharge-history {
    overflow: hidden;
    padding: 0 !important;
    border: 1px solid #d8e4f0 !important;
    box-shadow: 0 16px 45px rgba(8,43,102,.08) !important;
}

.mobile-recharge-history .recharge-side-head {
    gap: 11px;
    padding: 15px 16px;
    color: #fff;
    background: linear-gradient(125deg, #082b66, #075ca9);
}

.mobile-recharge-history .recharge-side-head h2,
.mobile-recharge-history .recharge-side-head span {
    margin: 0;
    color: inherit;
}

.mobile-recharge-history .recharge-side-head h2 {
    font-size: 17px;
}

.mobile-recharge-history .recharge-side-head span {
    display: block;
    margin-bottom: 2px;
    color: #a9d6fb;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mobile-recharge-history .recharge-shield {
    background: rgba(255,255,255,.14);
    color: #fff;
}

.mobile-recharge-history .recent-recharge-list {
    margin: 0;
    padding: 4px 14px;
}

.mobile-recharge-history .recent-recharge-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 10px;
    padding: 10px 1px;
}

.mobile-recharge-history .recent-recharge-main {
    gap: 2px;
}

.mobile-recharge-history .recent-recharge-main small {
    overflow: hidden;
    color: #526b89;
    font-size: 9px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-recharge-history .recent-recharge-summary {
    align-content: start;
    justify-items: end;
}

.mobile-recharge-history .recent-recharge-actions {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin: 3px 0 0;
}

.mobile-recharge-history .recent-recharge-actions .recharge-print-button,
.mobile-recharge-history .recent-recharge-actions .recharge-complaint-button {
    display: flex;
    width: 100%;
    min-height: 31px;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 8px;
    padding: 6px 9px;
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
}

.mobile-recharge-history .recent-recharge-actions .recharge-print-button {
    border: 1px solid #0874d1;
    color: #fff;
    background: linear-gradient(135deg, #0874d1, #0757aa);
    box-shadow: 0 5px 13px rgba(8,116,209,.2);
}

.mobile-recharge-history .recharge-complaint-button:disabled {
    cursor: not-allowed;
    filter: grayscale(1);
    opacity: .45;
}

@media (min-width: 981px) and (min-height: 680px) {
    /* Keep the recharge page vertically scrollable.
       R-Offer/live-plan results can make the form taller than the viewport. */
    .recharge-page {
        height: auto;
        min-height: 100vh;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .recharge-page .vle-main {
        grid-template-rows: auto auto auto;
        height: auto;
        min-height: 100vh;
        overflow: visible;
        padding: 18px 24px 36px;
    }

    .recharge-page .recharge-layout {
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .recharge-page .mobile-recharge-history {
        position: sticky;
        top: 18px;
        max-height: none;
    }
}

@media (max-width: 980px) {
    .recharge-page .recharge-layout {
        grid-template-columns: 1fr !important;
        max-width: 760px;
    }
}

@media (max-width: 600px) {
    .recharge-page .recharge-pro-head {
        padding: 15px;
    }

    .mobile-recharge-history .recent-recharge-list {
        padding: 3px 12px;
    }
}

/* Lock the page while the root-level confirmation is open. */
.recharge-confirm-open {
    overflow: hidden;
}

.recharge-page .recharge-preview-dialog {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

@media (max-width: 420px) {
    .recharge-page .recharge-preview-dialog > .receipt-card {
        grid-template-columns: 1fr;
    }
}

/* VLE top quick navigation */
.vle-quick-nav{position:sticky;z-index:70;top:88px;margin:-8px 0 22px;padding:8px;border:1px solid #dbe5f0;border-radius:15px;background:rgba(255,255,255,.96);box-shadow:0 9px 28px rgba(19,48,84,.08);backdrop-filter:blur(12px)}
.vle-quick-nav-links{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px}
.vle-quick-nav-links a{display:flex;min-width:0;min-height:48px;align-items:center;justify-content:center;gap:7px;padding:8px 7px;border-radius:10px;color:#52647a;font-size:11px;font-weight:800;text-align:center;text-decoration:none;transition:.18s ease}
.vle-quick-nav-links a .admin-icon{width:17px;height:17px;flex:0 0 auto}
.vle-quick-nav-links a:hover{color:#0b5fc7;background:#f0f6ff}
.vle-quick-nav-links a.active{color:#fff;background:linear-gradient(135deg,#1769e0,#0b58bd);box-shadow:0 7px 17px rgba(23,105,224,.22)}
.vle-quick-nav-toggle{display:none;width:100%;min-height:45px;align-items:center;justify-content:space-between;padding:0 13px;border:0;border-radius:10px;color:#16355d;background:#f1f6fc;font:800 13px inherit}
@media(max-width:1150px){.vle-quick-nav-links{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.vle-quick-nav{position:relative;top:auto;margin:0 0 16px;padding:7px}.vle-quick-nav-toggle{display:flex}.vle-quick-nav-links{display:none;grid-template-columns:repeat(2,minmax(0,1fr));padding-top:7px}.vle-quick-nav.open .vle-quick-nav-links{display:grid}.vle-quick-nav-links a{justify-content:flex-start;padding:10px 12px;text-align:left}}

/* Website-style VLE header navigation */
.vle-shell .topbar{gap:18px}
.vle-header-brand{display:flex;min-width:max-content;align-items:center;gap:9px;color:#112b50;text-decoration:none}
.vle-header-brand img{width:39px;height:39px;object-fit:contain}
.vle-header-brand span{display:flex;flex-direction:column}.vle-header-brand strong{max-width:145px;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.vle-header-brand small{margin-top:2px;color:#718199;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.vle-header-menu{display:flex;min-width:0;align-items:center;justify-content:center;gap:2px;margin-right:auto}
.vle-header-menu>a,.vle-header-menu>details>summary{display:flex;min-height:38px;align-items:center;padding:0 9px;border-radius:8px;color:#506179;font-size:10px;font-weight:800;text-decoration:none;white-space:nowrap;cursor:pointer;list-style:none}
.vle-header-menu>details>summary::-webkit-details-marker{display:none}.vle-header-menu>a:hover,.vle-header-menu>a.active,.vle-header-menu>details>summary:hover{color:#0963c5;background:#edf5ff}
.vle-header-menu>details{position:relative}.vle-header-menu>details>div{position:absolute;z-index:200;top:44px;right:0;display:grid;width:150px;padding:7px;border:1px solid #dce5ef;border-radius:11px;background:#fff;box-shadow:0 16px 36px rgba(17,43,80,.16)}
.vle-header-menu>details>div a{padding:10px;border-radius:7px;color:#506179;font-size:11px;font-weight:800;text-decoration:none}.vle-header-menu>details>div a:hover{color:#0963c5;background:#edf5ff}
.vle-header-menu-toggle{display:none;min-height:40px;align-items:center;gap:8px;padding:0 12px;border:1px solid #d7e2ee;border-radius:9px;color:#16355d;background:#f5f8fc;font-weight:800}
@media(max-width:1280px){.vle-header-menu>a,.vle-header-menu>details>summary{padding:0 6px;font-size:9px}.vle-header-brand span{display:none}}
@media(max-width:1050px){.vle-shell .topbar{flex-wrap:wrap}.vle-header-menu-toggle{display:flex}.vle-header-menu{order:3;display:none;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));padding-top:10px;border-top:1px solid #e2e9f1}.vle-shell .topbar.menu-open .vle-header-menu{display:grid}.vle-header-menu>a,.vle-header-menu>details>summary{justify-content:center;padding:9px}.vle-header-menu>details>div{top:42px;right:auto;left:0}.vle-shell .topbar-actions{margin-left:auto}}
@media(max-width:600px){.vle-header-brand span{display:flex}.vle-header-brand strong{max-width:105px}.vle-header-menu{grid-template-columns:repeat(2,minmax(0,1fr))}.vle-shell .topbar-actions{width:auto}.vle-shell .topbar-balance-label,.vle-shell .balance-visibility-toggle,.vle-shell .topbar-add-balance{display:none}}

/* Service Management list-first interface. */
/* BBPS pages share the recharge visual language without changing payment logic. */
.bbps-page,.vle-shell:has(input[name="service_code"]){background:#f3f6fa}.vle-shell:has(input[name="service_code"]) .main{gap:16px}.vle-shell:has(input[name="service_code"]) .main>.split{display:grid;grid-template-columns:minmax(0,1fr);max-width:760px;margin:0 auto}.vle-shell:has(input[name="service_code"]) .main>.split>form:first-child{overflow:hidden;padding:22px;border:1px solid #d9e4ef;border-radius:20px;background:#fff;box-shadow:0 16px 45px rgba(8,43,102,.09)}.vle-shell:has(input[name="service_code"]) .main>.split>form:first-child:before{display:block;margin:-22px -22px 20px;padding:20px 22px;color:#fff;background:linear-gradient(125deg,#06275c,#075ca9 65%,#0b91a5);font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;content:"Secure BBPS Bill Fetch"}.vle-shell:has(input[name="service_code"]) .main>.split>form:first-child label{color:#40536d;font-size:12px;font-weight:800}.vle-shell:has(input[name="service_code"]) .main>.split>form:first-child select,.vle-shell:has(input[name="service_code"]) .main>.split>form:first-child input{min-height:50px;border-color:#cbd9e8;border-radius:11px;background:#f9fbfe}.vle-shell:has(input[name="service_code"]) .main>.split>form:first-child button.primary{min-height:50px;border-radius:11px;background:linear-gradient(100deg,#0752a5,#0878cf)}.vle-shell:has(input[name="service_code"]) form:has(input[value="pay_bill"]){position:fixed;inset:0;z-index:20000;display:grid;width:100vw;height:100dvh;place-content:center;grid-template-columns:minmax(0,510px);margin:0;padding:18px;background:rgba(2,15,36,.86);backdrop-filter:blur(8px)}.vle-shell:has(input[name="service_code"]) form:has(input[value="pay_bill"])>*{margin-left:0;margin-right:0}.vle-shell:has(input[name="service_code"]) form:has(input[value="pay_bill"]):before{display:block;margin-bottom:-14px;padding:18px 20px;border-radius:20px 20px 0 0;color:#fff;background:linear-gradient(125deg,#06275c,#075ca9);font-size:18px;font-weight:900;content:"Confirm BBPS Payment"}.vle-shell:has(input[name="service_code"]) form:has(input[value="pay_bill"])>.section-title,.vle-shell:has(input[name="service_code"]) form:has(input[value="pay_bill"])>.receipt-card,.vle-shell:has(input[name="service_code"]) form:has(input[value="pay_bill"])>label,.vle-shell:has(input[name="service_code"]) form:has(input[value="pay_bill"])>button{position:relative;margin:0;padding-left:20px;padding-right:20px;background:#fff}.vle-shell:has(input[name="service_code"]) form:has(input[value="pay_bill"])>.section-title{display:none}.vle-shell:has(input[name="service_code"]) form:has(input[value="pay_bill"])>.receipt-card{padding-top:18px}.vle-shell:has(input[name="service_code"]) form:has(input[value="pay_bill"])>label{padding-top:13px}.vle-shell:has(input[name="service_code"]) form:has(input[value="pay_bill"])>button{min-height:56px;border-radius:0 0 20px 20px}.vle-shell:has(input[name="service_code"]) .users-panel{max-width:1220px;margin:0 auto;border:1px solid #d9e4ef}.vle-shell:has(input[name="service_code"]) .users-panel tbody tr:has(.badge.success){background:#effbf5}.vle-shell:has(input[name="service_code"]) .users-panel tbody tr:has(.badge.failed),.vle-shell:has(input[name="service_code"]) .users-panel tbody tr:has(.badge.refunded){background:#fff1f1}.vle-shell:has(input[name="service_code"]) .users-panel tbody tr:has(.badge.processing){background:#fff9e8}@media(max-width:600px){.vle-shell:has(input[name="service_code"]) form:has(input[value="pay_bill"]){padding:10px}.vle-shell:has(input[name="service_code"]) .users-panel{padding:14px}}
.recharge-processing-open{overflow:hidden}.recharge-processing{position:fixed!important;inset:0!important;z-index:30000!important;display:grid!important;width:100vw;height:100dvh;place-items:center;margin:0!important;padding:18px;background:rgba(2,15,36,.9)!important;backdrop-filter:blur(9px)}.recharge-processing[hidden]{display:none!important}.recharge-processing-card{display:grid;width:min(92vw,460px);justify-items:center;gap:10px;padding:30px 28px;border:1px solid rgba(255,255,255,.2);border-radius:22px;background:linear-gradient(145deg,#fff,#f2f7fd);box-shadow:0 35px 110px rgba(0,0,0,.5);color:#172b48;text-align:center}.recharge-processing-card .recharge-spinner{width:62px;height:62px;border-color:#dbe9f7;border-top-color:#0874d1}.recharge-processing-card .eyebrow{margin:3px 0 0;color:#0874d1}.recharge-processing-card>strong{font-size:22px}.recharge-processing-card>span{min-height:20px;color:#65768d;font-size:12px}.recharge-processing-card>small{color:#8a5b09;font-size:10px;font-weight:800}.recharge-progress-track{width:100%;height:7px;margin-top:8px;overflow:hidden;border-radius:10px;background:#dfe8f2}.recharge-progress-track i{display:block;width:45%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0874d1,#12a6b7,#0874d1);animation:rechargeProgress 1.15s ease-in-out infinite}.recharge-processing-steps{display:grid;width:100%;grid-template-columns:repeat(3,1fr);gap:6px}.recharge-processing-steps b{color:#9aa7b7;font-size:9px;text-transform:uppercase}.recharge-processing-steps b.active{color:#07845c}@keyframes rechargeProgress{0%{transform:translateX(-110%)}100%{transform:translateX(325%)}}
.recharge-page .recharge-processing:not([hidden]){visibility:visible!important;opacity:1!important;transform:none!important;animation:rechargeProcessingIn .18s ease-out}.recharge-page.recharge-processing-open .recharge-preview-modal{display:none!important}@keyframes rechargeProcessingIn{from{opacity:0}to{opacity:1}}
.api-list-panel .api-manager-overview,.api-list-panel .api-manager-filters,.api-list-panel>.alert{display:none}
.api-list-panel .api-manager-toolbar{margin:12px 0 14px;padding:0;border:0;background:transparent}.api-list-panel .api-manager-search{max-width:none}
.api-list-panel .api-management-list{gap:8px}.api-list-panel .api-management-card{margin:0;border:1px solid #dce5ef;border-radius:11px;box-shadow:none;background:#fff}
.api-list-panel .api-management-card>summary{min-height:64px;background:#fff}.api-list-panel .api-management-card[open]{border-color:#8bb8ed;box-shadow:0 10px 28px rgba(23,105,224,.09)}
.api-list-panel .api-management-card:not([open])>:not(summary){display:none!important}.api-list-panel .api-flow-strip{display:none}.api-list-panel .api-card-status small{color:#1769e0;font-weight:900}
.service-management-editor,.service-management-disclosure{overflow:hidden;border:1px solid #dce5ef;border-radius:13px;background:#fff}
.service-management-editor>summary,.service-management-disclosure>summary{display:flex;min-height:62px;align-items:center;gap:12px;padding:12px 15px;color:#243b5a;cursor:pointer;list-style:none}
.service-management-editor>summary::-webkit-details-marker,.service-management-disclosure>summary::-webkit-details-marker{display:none}
.service-management-editor>summary span{color:#718199;font-size:11px}.service-management-editor>summary b,.service-management-editor>summary em,.service-management-disclosure>summary b{margin-left:auto;color:#1769e0;font-size:11px;font-style:normal}
.service-management-editor>form,.service-management-disclosure>form{margin:0;border-top:1px solid #e4ebf3;padding:16px}
.dth-admin-operator-card.service-management-disclosure{display:block;padding:0}.service-management-disclosure>summary .dth-admin-logo-preview{width:44px;height:44px;margin:0;flex:0 0 44px}.service-management-disclosure>summary .badge{margin-left:auto}.service-management-disclosure>summary b{margin-left:0}
.vle-shell:has(input[name="service_code"])>.main{display:grid;grid-template-columns:minmax(500px,1.35fr) minmax(330px,.65fr);grid-template-rows:auto auto minmax(0,1fr);align-content:start;column-gap:18px;max-width:none}
.vle-shell:has(input[name="service_code"])>.main>.topbar,.vle-shell:has(input[name="service_code"])>.main>.alert{grid-column:1/-1}
.vle-shell:has(input[name="service_code"])>.main>.split{grid-column:1;grid-row:3;display:block;width:100%;max-width:none;margin:0}
.vle-shell:has(input[name="service_code"])>.main>.split>form:first-child{min-height:100%;margin:0}
.vle-shell:has(input[name="service_code"])>.main>.users-panel{grid-column:2;grid-row:3;align-self:start;width:100%;margin:0;padding:0;overflow:hidden;border-radius:20px;background:#fff;box-shadow:0 16px 45px rgba(8,43,102,.08)}
.vle-shell:has(input[name="service_code"])>.main>.users-panel>.section-title{margin:0;padding:17px 18px;border:0;color:#fff;background:linear-gradient(125deg,#082b66,#075ca9)}
.vle-shell:has(input[name="service_code"])>.main>.users-panel>.section-title h2{color:#fff;font-size:18px}
.vle-shell:has(input[name="service_code"])>.main>.users-panel .table-wrap{max-height:calc(100vh - 190px);padding:8px 13px;overflow:auto;border:0;border-radius:0}
.vle-shell:has(input[name="service_code"])>.main>.users-panel table,.vle-shell:has(input[name="service_code"])>.main>.users-panel tbody{display:block;background:transparent}
.vle-shell:has(input[name="service_code"])>.main>.users-panel thead{display:none}
.vle-shell:has(input[name="service_code"])>.main>.users-panel tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;margin:6px 0;padding:12px;border:1px solid #dce5ef;border-radius:12px;background:#f8fbff}
.vle-shell:has(input[name="service_code"])>.main>.users-panel tbody td{display:block;padding:0;border:0;font-size:10px}.vle-shell:has(input[name="service_code"])>.main>.users-panel tbody td:nth-child(1){grid-column:1;color:#8190a4}.vle-shell:has(input[name="service_code"])>.main>.users-panel tbody td:nth-child(2){grid-column:1;font-size:12px;font-weight:900;color:#243b5a}.vle-shell:has(input[name="service_code"])>.main>.users-panel tbody td:nth-child(3){grid-column:1;color:#526b89}.vle-shell:has(input[name="service_code"])>.main>.users-panel tbody td:nth-child(4){grid-column:2;grid-row:1/3;font-size:13px;font-weight:900;color:#243b5a;text-align:right}.vle-shell:has(input[name="service_code"])>.main>.users-panel tbody td:nth-child(5){grid-column:2;text-align:right}.vle-shell:has(input[name="service_code"])>.main>.users-panel tbody td:nth-child(6){grid-column:1/-1;margin-top:5px;padding-top:6px;border-top:1px dashed #cfdae7;color:#526b89;font-weight:800;overflow-wrap:anywhere}
.vle-shell:has(input[name="service_code"])>.main>.users-panel tbody tr:has(.badge.success){border-color:#bce9d5;background:#effbf5}.vle-shell:has(input[name="service_code"])>.main>.users-panel tbody tr:has(.badge.failed),.vle-shell:has(input[name="service_code"])>.main>.users-panel tbody tr:has(.badge.refunded){border-color:#f3c2c2;background:#fff1f1}.vle-shell:has(input[name="service_code"])>.main>.users-panel tbody tr:has(.badge.processing){border-color:#f1d9a6;background:#fff9e8}
@media(max-width:1050px){.vle-shell:has(input[name="service_code"])>.main{grid-template-columns:1fr}.vle-shell:has(input[name="service_code"])>.main>.split,.vle-shell:has(input[name="service_code"])>.main>.users-panel{grid-column:1;grid-row:auto;max-width:760px;margin-left:auto;margin-right:auto}.vle-shell:has(input[name="service_code"])>.main>.users-panel .table-wrap{max-height:none}}
.bbps-confirm-open{overflow:hidden}.vle-shell:has(input[name="service_code"]) form:has(input[value="pay_bill"]){position:fixed!important}.vle-shell:has(input[name="service_code"]) form:has(input[value="pay_bill"])>.bbps-confirm-close{position:absolute;z-index:2;top:22px;right:22px;width:auto;min-height:34px;margin:0!important;padding:7px 11px!important;border:1px solid rgba(255,255,255,.3);border-radius:9px!important;color:#fff;background:rgba(255,255,255,.14);font-size:10px;font-weight:900}.vle-shell:has(input[name="service_code"]) form:has(input[value="pay_bill"])>.bbps-confirm-close:hover{background:rgba(255,255,255,.25)}

/* BBPS last-five payments: compact recharge-style cards without an inner scrollbar. */
.vle-shell:has(input[name="service_code"]) .bbps-payment-history{overflow:hidden!important;padding:0!important}
.bbps-history-head{display:flex;align-items:center;gap:11px;padding:15px 16px;color:#fff;background:linear-gradient(125deg,#082b66,#075ca9)}
.bbps-history-head h2,.bbps-history-head span{margin:0;color:inherit}.bbps-history-head h2{font-size:17px}.bbps-history-head span{display:block;margin-bottom:2px;color:#a9d6fb;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.bbps-history-icon{display:grid;width:40px;height:40px;flex:0 0 40px;place-items:center;border-radius:12px;background:rgba(255,255,255,.14)}.bbps-history-icon .admin-icon{width:19px;height:19px}
.bbps-history-list{display:grid;gap:7px;padding:10px 13px;overflow:visible!important}
.bbps-history-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;min-width:0;padding:11px 12px;border:1px solid #dce5ef;border-radius:12px;background:#f8fbff}
.bbps-history-card.success{border-color:#bce9d5;background:#effbf5}.bbps-history-card.failed,.bbps-history-card.refunded{border-color:#f3c2c2;background:#fff1f1}.bbps-history-card.processing,.bbps-history-card.pending{border-color:#f1d9a6;background:#fff9e8}
.bbps-history-main{display:grid;min-width:0;gap:2px}.bbps-history-main strong{overflow:hidden;color:#243b5a;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.bbps-history-main span{overflow:hidden;color:#8190a4;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.bbps-history-main small{overflow:hidden;color:#526b89;font-size:9px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}
.bbps-history-summary{display:grid;align-content:start;justify-items:end;gap:4px}.bbps-history-summary>strong{color:#243b5a;font-size:13px}.bbps-history-summary .badge{padding:3px 8px;font-size:9px}
.bbps-history-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:3px}.bbps-history-actions .bbps-print-button,.bbps-history-actions .bbps-complaint-button{display:flex;width:100%;min-height:30px;align-items:center;justify-content:center;margin:0;padding:6px 9px;border-radius:8px;font-size:10px;font-weight:900;text-decoration:none}.bbps-print-button{border:1px solid #0874d1;color:#fff;background:linear-gradient(135deg,#0874d1,#0757aa);box-shadow:0 5px 13px rgba(8,116,209,.2)}.bbps-complaint-button{border:1px solid #ef960d;color:#fff;background:linear-gradient(135deg,#f5a11a,#e68100)}.bbps-complaint-button:disabled{cursor:not-allowed;filter:grayscale(1);opacity:.45}.bbps-history-actions>.badge{display:flex;align-items:center;justify-content:center;min-height:30px}
.bbps-history-empty{min-height:210px}.bbps-history-empty .admin-icon{width:24px;height:24px}
@media(min-width:1051px) and (min-height:680px){.vle-shell:has(input[name="service_code"]){height:100vh;overflow:hidden}.vle-shell:has(input[name="service_code"])>.main{height:100vh;overflow:hidden}.vle-shell:has(input[name="service_code"])>.main>.users-panel{max-height:calc(100vh - 108px)}.bbps-history-list{grid-template-rows:repeat(5,minmax(0,1fr));height:calc(100vh - 171px);min-height:0}.bbps-history-card{align-content:center;min-height:0}}

/* VLE premium package, category groups and personal favourite services. */
.premium-package-card{position:relative;overflow:hidden;min-height:150px;padding:26px 28px!important;border:1px solid #d8c27b!important;border-radius:20px!important;color:#fff;background:linear-gradient(125deg,#071d49 0%,#0a4d91 58%,#087d91 100%)!important;box-shadow:0 20px 50px rgba(7,43,94,.2)!important}.premium-package-card:before,.premium-package-card:after{position:absolute;border-radius:50%;background:rgba(255,255,255,.08);content:""}.premium-package-card:before{width:190px;height:190px;right:-70px;top:-95px}.premium-package-card:after{width:110px;height:110px;left:42%;bottom:-75px}.premium-package-card>div,.premium-package-card>form{position:relative;z-index:1}.premium-package-card .eyebrow{color:#84e0e5!important}.premium-package-card h2{color:#fff;font-size:25px}.premium-package-card p{max-width:680px;color:#c9ddf2;line-height:1.6}.premium-package-card form,.premium-package-card .premium-package-status{padding:16px;border:1px solid rgba(255,255,255,.18);border-radius:15px;background:rgba(255,255,255,.1);backdrop-filter:blur(8px)}.premium-package-card form>strong,.premium-package-card .premium-package-status>strong{color:#fff}.premium-package-card form .primary{border:1px solid #ffd66e;background:linear-gradient(135deg,#ffc44d,#e8930b);box-shadow:0 8px 20px rgba(0,0,0,.18)}
.vle-category-service-list{display:grid!important;grid-template-columns:1fr!important;gap:18px!important}.vle-service-category-group{overflow:hidden;border:1px solid #e0e8f1;border-radius:17px;background:#f8fbff}.vle-service-category-head{display:flex;align-items:center;justify-content:space-between;padding:14px 17px;border-bottom:1px solid #e0e8f1;background:linear-gradient(120deg,#edf5ff,#f8fbff)}.vle-service-category-head span{color:#1670c7;font-size:9px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.vle-service-category-head h3{margin:2px 0 0;color:#173557;font-size:17px}.vle-service-category-head b{padding:5px 9px;border-radius:999px;color:#1769b8;background:#dfedfc;font-size:9px}.vle-service-category-group>.vle-service-grid{padding:15px}
.vle-service-tile{position:relative}.vle-favourite-toggle{position:absolute;z-index:4;top:8px;right:8px;display:grid;width:28px;height:28px;place-items:center;border:1px solid #dce5ef;border-radius:50%;color:#8091a7;background:#fff;box-shadow:0 4px 12px rgba(24,55,90,.1);font-size:18px;line-height:1;cursor:pointer}.vle-favourite-toggle:hover,.vle-favourite-toggle.active{border-color:#f1b72d;color:#e79600;background:#fff8dd}.vle-dashboard-services.has-favourites>.section-title h2:after{margin-left:7px;color:#e79600;font-size:11px;content:"★ Favourites first"}
@media(max-width:720px){.premium-package-card{padding:21px!important}.premium-package-card h2{font-size:21px}.vle-service-category-group>.vle-service-grid{padding:11px}.vle-service-category-head{padding:12px}}

/* Responsive service catalogue: grid, live search and category dropdown. */
html,body{max-width:100%;overflow-x:hidden}.vle-shell .vle-main{min-width:0}.vle-all-services,.vle-dashboard-services{min-width:0;max-width:100%}.vle-all-services .vle-service-grid,.vle-dashboard-services .vle-service-grid{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));width:100%;min-width:0}.vle-service-tools{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,260px) auto;align-items:end;gap:12px;margin-bottom:16px;padding:14px;border:1px solid #dce6f1;border-radius:14px;background:#f7faff}.vle-service-tools label{display:grid;gap:5px;margin:0;color:#52677f;font-size:10px;font-weight:900;text-transform:uppercase}.vle-service-tools input,.vle-service-tools select{width:100%;min-width:0;height:44px;padding:0 12px;border:1px solid #cbd9e8;border-radius:10px;background:#fff;color:#18324f}.vle-service-tools>strong{display:flex;height:44px;align-items:center;justify-content:center;padding:0 13px;border-radius:10px;color:#1269b8;background:#e5f1ff;font-size:11px;white-space:nowrap}.vle-all-services .vle-service-tile,.vle-dashboard-services .vle-service-tile{width:100%;min-width:0}.vle-all-services .vle-service-tile span,.vle-dashboard-services .vle-service-tile span{max-width:100%;overflow-wrap:anywhere}
@media(max-width:760px){.vle-service-tools{grid-template-columns:1fr 1fr}.vle-service-tools>strong{grid-column:1/-1}.vle-all-services .vle-service-grid,.vle-dashboard-services .vle-service-grid{grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px}}
@media(max-width:480px){.vle-service-tools{grid-template-columns:1fr}.vle-service-tools>strong{grid-column:auto}.vle-all-services .vle-service-grid,.vle-dashboard-services .vle-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vle-all-services .vle-service-tile,.vle-dashboard-services .vle-service-tile{min-height:120px;padding:14px 8px}.vle-all-services .vle-service-tile img,.vle-dashboard-services .vle-service-tile img{width:48px;height:48px}}
.location-permission-help{position:fixed;inset:0;z-index:50000;display:grid;place-items:center;padding:18px;background:rgba(2,15,36,.88);backdrop-filter:blur(8px)}.location-permission-help>section{width:min(100%,460px);padding:27px;border:1px solid #d9e5f1;border-radius:21px;background:#fff;box-shadow:0 30px 100px rgba(0,0,0,.45);text-align:center}.location-help-icon{display:grid;width:58px;height:58px;margin:0 auto 10px;place-items:center;border-radius:18px;color:#fff;background:linear-gradient(135deg,#0874d1,#08a0a8);font-size:29px}.location-permission-help h2{margin:4px 0 10px;color:#17304f}.location-permission-help p:not(.eyebrow){color:#52677f;line-height:1.55}.location-permission-help small{display:block;padding:10px;border-radius:10px;color:#78500a;background:#fff5d8;line-height:1.5}.location-permission-help section>div:last-child{display:grid;grid-template-columns:1fr 1.3fr;gap:9px;margin-top:17px}.location-permission-help button{min-height:43px;border:1px solid #cedae7;border-radius:10px;background:#f1f5f9;color:#40536b;font-weight:900}.location-permission-help button.primary{border-color:#0874d1;color:#fff;background:linear-gradient(135deg,#0874d1,#0757aa)}
.recharge-result-open{overflow:hidden}.recharge-final-result{position:fixed;inset:0;z-index:45000;display:grid;place-items:center;padding:18px;background:rgba(2,15,36,.9);backdrop-filter:blur(9px);animation:resultFadeIn .2s ease-out}.recharge-final-result.closing{opacity:0;transition:opacity .18s ease}.recharge-final-result>section{width:min(94vw,470px);padding:30px 27px;border:1px solid rgba(255,255,255,.25);border-radius:23px;background:linear-gradient(145deg,#fff,#f3f8fd);box-shadow:0 35px 110px rgba(0,0,0,.5);text-align:center;animation:resultCardIn .35s cubic-bezier(.2,.8,.2,1)}.recharge-final-result h2{margin:5px 0 8px;color:#17304f;font-size:24px}.recharge-final-result>section>p:not(.eyebrow){margin:0 auto 16px;color:#65768d;font-size:12px;line-height:1.55}.recharge-final-result>section>small{display:block;margin:12px 0 0;color:#855a0c;font-size:10px;font-weight:800}.recharge-result-symbol{position:relative;width:78px;height:78px;margin:0 auto 12px;border-radius:50%}.recharge-final-result.success .recharge-result-symbol{background:#e4f8ef;box-shadow:0 0 0 10px rgba(8,157,103,.08);animation:resultPulseGreen 1.3s infinite}.recharge-final-result.success .recharge-result-symbol:before{position:absolute;width:31px;height:17px;left:22px;top:24px;border-left:7px solid #079b67;border-bottom:7px solid #079b67;content:"";transform:rotate(-45deg);animation:resultTick .45s .15s both}.recharge-final-result.failed .recharge-result-symbol{background:#feeaea;box-shadow:0 0 0 10px rgba(211,54,54,.07);animation:resultShake .45s .1s}.recharge-final-result.failed .recharge-result-symbol:before,.recharge-final-result.failed .recharge-result-symbol:after{position:absolute;width:38px;height:7px;left:20px;top:35px;border-radius:8px;background:#d53636;content:""}.recharge-final-result.failed .recharge-result-symbol:before{transform:rotate(45deg)}.recharge-final-result.failed .recharge-result-symbol:after{transform:rotate(-45deg)}.recharge-final-result.pending .recharge-result-symbol{border:6px solid #fff0c8;background:#fff8e4;box-shadow:0 0 0 9px rgba(232,158,13,.08);animation:resultPulseAmber 1.2s infinite}.recharge-final-result.pending .recharge-result-symbol:before,.recharge-final-result.pending .recharge-result-symbol:after{position:absolute;left:31px;top:12px;width:5px;height:23px;border-radius:5px;background:#dc9209;content:"";transform-origin:bottom center;animation:resultClock 1.4s linear infinite}.recharge-final-result.pending .recharge-result-symbol:after{left:31px;top:31px;width:18px;height:5px;transform-origin:left center;animation-duration:2.8s}.recharge-result-details{display:grid;grid-template-columns:1fr 1fr;gap:1px;overflow:hidden;border:1px solid #dce5ef;border-radius:13px;background:#dce5ef;text-align:left}.recharge-result-details>div{display:grid;gap:3px;padding:11px 13px;background:#fff}.recharge-result-details span{color:#8190a4;font-size:9px;font-weight:800;text-transform:uppercase}.recharge-result-details strong{overflow-wrap:anywhere;color:#243b5a;font-size:12px}.recharge-final-result button{width:100%;min-height:47px;margin-top:18px;border:0;border-radius:11px;color:#fff;background:linear-gradient(135deg,#0874d1,#0757aa);font-weight:900}.recharge-final-result.success button{background:linear-gradient(135deg,#079b67,#057b53)}.recharge-final-result.failed button{background:linear-gradient(135deg,#d94a4a,#b92525)}.recharge-final-result.pending button{background:linear-gradient(135deg,#eea316,#ce7f00)}@keyframes resultFadeIn{from{opacity:0}to{opacity:1}}@keyframes resultCardIn{from{opacity:0;transform:translateY(18px) scale(.96)}to{opacity:1;transform:none}}@keyframes resultTick{from{opacity:0;transform:rotate(-45deg) scale(.4)}to{opacity:1;transform:rotate(-45deg) scale(1)}}@keyframes resultPulseGreen{50%{box-shadow:0 0 0 17px rgba(8,157,103,0)}}@keyframes resultPulseAmber{50%{box-shadow:0 0 0 17px rgba(232,158,13,0)}}@keyframes resultShake{20%,60%{transform:translateX(-4px)}40%,80%{transform:translateX(4px)}}@keyframes resultClock{to{transform:rotate(360deg)}}
.pvc-order-filters{display:grid;grid-template-columns:minmax(240px,1fr) 190px auto auto auto;align-items:end;gap:10px;margin:14px 0;padding:13px;border:1px solid #dce5ef;border-radius:13px;background:#f7faff}.pvc-order-filters label{display:grid;gap:5px;color:#5a6c82;font-size:10px;font-weight:900;text-transform:uppercase}.pvc-order-filters input,.pvc-order-filters select{height:41px;border:1px solid #cbd8e6;border-radius:9px;background:#fff}.pvc-order-filters button,.pvc-order-filters a{display:flex;min-height:41px;align-items:center;justify-content:center;padding:0 14px;border:0;border-radius:9px;color:#fff;background:#1769e0;font-weight:800;text-decoration:none}.pvc-order-filters a{color:#40536c;background:#e9eef5}.pvc-order-filters>strong{padding:10px;color:#1769b8;text-align:center}.pvc-order-overdue td{background:#fff3f3!important}.pvc-order-overdue td:first-child:before{display:block;margin-bottom:4px;color:#c42d2d;font-size:9px;font-weight:900;content:"OVERDUE"}.pvc-password-reveal{margin-top:6px}.pvc-password-reveal summary{cursor:pointer;color:#1769e0;font-size:10px;font-weight:800}.pvc-password-reveal code{display:block;margin-top:5px;padding:6px;border-radius:6px;background:#eef3f8;color:#243b5a}.pvc-order-closed{color:#65768b;font-size:10px}.pvc-pagination{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}.pvc-pagination a{display:grid;min-width:34px;height:34px;place-items:center;border:1px solid #d3deea;border-radius:8px;color:#40536c;background:#fff;text-decoration:none}.pvc-pagination a.active{border-color:#1769e0;color:#fff;background:#1769e0}@media(max-width:850px){.pvc-order-filters{grid-template-columns:1fr 1fr}.pvc-order-filters>strong{grid-column:1/-1}}@media(max-width:520px){.pvc-order-filters{grid-template-columns:1fr}}


/* Mobile Recharge scroll/result safety fix */
body.recharge-page:not(.recharge-confirm-open):not(.recharge-processing-open):not(.recharge-result-open) {
    overflow-y: auto !important;
}
.recharge-page .recharge-plan-panel {
    overflow: visible;
}


/* =========================================================
   AR DIGITAL SEVA PORTAL - REAL RESPONSIVE FIX
   Target: VLE dashboard (vle_dashboard.php)
   This overrides the existing fixed desktop layout without
   changing PHP/HTML functionality.
   ========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.vle-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0 !important;
    overflow-x: hidden;
}

.vle-shell > .sidebar {
    box-sizing: border-box;
}

.vle-shell > .vle-main,
.vle-shell > .main {
    min-width: 0 !important;
    width: auto;
    max-width: none;
    overflow-x: hidden;
}

.vle-shell .topbar,
.vle-shell .topbar > *,
.vle-shell .vle-header-menu,
.vle-shell .vle-header-brand,
.vle-shell .topbar-actions {
    min-width: 0;
}

.vle-shell .vle-header-menu {
    flex-shrink: 1;
}

.vle-shell .vle-dashboard-services,
.vle-shell .vle-all-services,
.vle-shell .vle-service-category-group,
.vle-shell .vle-service-grid {
    min-width: 0 !important;
    max-width: 100%;
}

/* Normal desktop: make the content width explicit so it cannot
   become wider than the viewport beside the fixed sidebar. */
@media (min-width: 1201px) {
    .vle-shell > .sidebar {
        width: 272px;
    }

    .vle-shell > .main {
        width: calc(100% - 272px);
        max-width: calc(100% - 272px);
        margin-left: 272px;
    }

    .vle-shell .vle-service-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}

/* Around 125% browser zoom / smaller laptops:
   compact sidebar + menu button prevents the header navigation
   from pushing the page wider than the viewport. */
@media (max-width: 1200px) {
    .vle-shell > .sidebar {
        width: 72px !important;
        padding: 18px 8px !important;
    }

    .vle-shell > .sidebar .brand {
        justify-content: center;
        padding-inline: 0;
    }

    .vle-shell > .sidebar .brand > div,
    .vle-shell > .sidebar .sidebar-category,
    .vle-shell > .sidebar nav a span,
    .vle-shell > .sidebar .logout span {
        display: none !important;
    }

    .vle-shell > .sidebar nav a,
    .vle-shell > .sidebar .logout {
        justify-content: center;
        padding: 11px 8px;
    }

    .vle-shell > .main {
        width: calc(100% - 72px);
        max-width: calc(100% - 72px);
        margin-left: 72px;
        padding: 20px;
    }

    .vle-shell .vle-header-brand span {
        display: none;
    }

    .vle-shell .vle-header-menu-toggle {
        display: flex;
        flex: 0 0 auto;
    }

    .vle-shell .vle-header-menu {
        order: 3;
        display: none;
        width: 100%;
        flex-basis: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-top: 10px;
        border-top: 1px solid #e2e9f1;
    }

    .vle-shell .topbar.menu-open .vle-header-menu {
        display: grid;
    }

    .vle-shell .vle-header-menu > a,
    .vle-shell .vle-header-menu > details > summary {
        justify-content: center;
        min-width: 0;
        padding: 9px 6px;
        white-space: normal;
        text-align: center;
    }

    .vle-shell .topbar-actions {
        margin-left: auto;
    }

    .vle-shell .vle-service-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 12px;
    }
}

/* Tablet */
@media (max-width: 800px) {
    .vle-shell > .sidebar {
        width: 64px !important;
        padding-inline: 7px !important;
    }

    .vle-shell > .main {
        width: calc(100% - 64px);
        max-width: calc(100% - 64px);
        margin-left: 64px;
        padding: 16px;
    }

    .vle-shell .vle-service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    .vle-shell .vle-header-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Phone */
@media (max-width: 600px) {
    .vle-shell > .main {
        width: calc(100% - 64px);
        max-width: calc(100% - 64px);
        margin-left: 64px;
        padding: 10px;
    }

    .vle-shell .topbar {
        width: 100%;
        gap: 10px;
        padding: 10px;
        margin-bottom: 14px;
    }

    .vle-shell .vle-header-brand {
        min-width: 0;
        max-width: calc(100% - 110px);
    }

    .vle-shell .vle-header-brand span {
        display: flex;
        min-width: 0;
    }

    .vle-shell .vle-header-brand strong {
        max-width: 110px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vle-shell .topbar-actions {
        width: auto;
        max-width: 100%;
    }

    .vle-shell .topbar-balance-label,
    .vle-shell .balance-visibility-toggle,
    .vle-shell .topbar-add-balance {
        display: none;
    }

    .vle-shell .vle-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px;
    }

    .vle-shell .vle-service-tile {
        min-width: 0;
        min-height: 116px;
        padding: 13px 7px;
    }

    .vle-shell .vle-service-tile img {
        width: 48px;
        height: 48px;
    }

    .vle-shell .vle-service-tile span {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
        text-align: center;
    }

    .vle-shell .vle-status-strip,
    .vle-shell .vle-overview-grid,
    .vle-shell .split,
    .vle-shell .form-grid {
        grid-template-columns: 1fr !important;
    }

    .vle-shell .panel {
        max-width: 100%;
        padding: 14px;
    }
}

/* Very small phones */
@media (max-width: 380px) {
    .vle-shell > .main {
        padding: 8px;
    }

    .vle-shell .vle-service-tile {
        min-height: 108px;
        padding: 11px 5px;
    }

    .vle-shell .vle-service-tile img {
        width: 42px;
        height: 42px;
    }

    .vle-shell .vle-header-menu {
        grid-template-columns: 1fr;
    }
}

/* Prevent long labels/URLs/API values from forcing horizontal overflow. */
.vle-shell h1,
.vle-shell h2,
.vle-shell h3,
.vle-shell p,
.vle-shell strong,
.vle-shell span,
.vle-shell a,
.vle-shell td,
.vle-shell th {
    overflow-wrap: anywhere;
}

.vle-shell img,
.vle-shell iframe,
.vle-shell video,
.vle-shell canvas {
    max-width: 100%;
}

.vle-sidebar-shared .vle-menu-dashboard{--vle-icon:#2563eb;--vle-icon-bg:#dbeafe}.vle-sidebar-shared .vle-menu-services{--vle-icon:#7c3aed;--vle-icon-bg:#ede9fe}.vle-sidebar-shared .vle-menu-premium{--vle-icon:#d97706;--vle-icon-bg:#fef3c7}.vle-sidebar-shared .vle-menu-wallet{--vle-icon:#059669;--vle-icon-bg:#d1fae5}.vle-sidebar-shared .vle-menu-ledger{--vle-icon:#0891b2;--vle-icon-bg:#cffafe}.vle-sidebar-shared .vle-menu-transactions{--vle-icon:#db2777;--vle-icon-bg:#fce7f3}.vle-sidebar-shared .vle-menu-kyc{--vle-icon:#16a34a;--vle-icon-bg:#dcfce7}.vle-sidebar-shared .vle-menu-support{--vle-icon:#ea580c;--vle-icon-bg:#ffedd5}.vle-sidebar-shared .vle-menu-review{--vle-icon:#9333ea;--vle-icon-bg:#f3e8ff}.vle-sidebar-shared .logout{--vle-icon:#dc2626;--vle-icon-bg:#fee2e2}.vle-sidebar-shared a .admin-icon{color:var(--vle-icon,#dbeafe)!important;background:var(--vle-icon-bg,rgba(255,255,255,.1))!important}
.vle-sidebar-shared a svg.admin-icon{fill:none;stroke:currentColor;stroke-width:2.15}.vle-sidebar-shared a img.vle-uploaded-menu-icon{display:block;object-fit:contain;object-position:center;background:#fff!important;border:1px solid rgba(255,255,255,.35);filter:none}


/* Voter Mobile Link follows the Mobile Recharge transaction flow. */
.voter-price-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;border:1px solid #dbe7f4;border-radius:15px;background:#f8fbff}.voter-price-strip span{display:grid;gap:3px;padding:8px;border-radius:10px;background:#fff}.voter-price-strip small{color:#64748b;font-size:.68rem;font-weight:700}.voter-price-strip strong{color:#0f4ca0}.voter-main-field>span{font-weight:800;color:#61708a}.voter-main-field em{color:#dc2626;font-size:.66rem;font-style:normal;text-transform:uppercase}.voter-link-page .recharge-side-head{margin-bottom:18px}
.voter-link-page .voter-link-layout{grid-template-columns:minmax(360px,.78fr) minmax(460px,1.22fr);align-items:start}.voter-link-page .voter-link-form{overflow:hidden}.voter-id-mark,.voter-history-mark{width:54px;height:54px;display:grid;place-items:center;flex:0 0 54px;border-radius:17px;background:linear-gradient(145deg,#2563eb,#0891b2);color:#fff;font-size:25px;font-weight:900;box-shadow:0 12px 25px rgba(37,99,235,.22)}.voter-main-field{display:grid;gap:8px}.voter-main-field input{min-height:58px;border-radius:15px;font-size:1rem}.voter-link-form .api-check{padding:14px;border:1px solid #dbe7f4;border-radius:14px;background:#f8fbff}.voter-link-form .recharge-continue{width:100%;min-height:54px;display:flex;align-items:center;justify-content:center;gap:12px}.voter-history-card{min-width:0}.voter-request-list{display:grid;gap:12px}.voter-request-item{border-left:4px solid #f59e0b!important}.voter-request-item.success{border-left-color:#16a34a!important}.voter-request-item.failed{border-left-color:#dc2626!important}.voter-request-item .recent-recharge-main{min-width:0}.voter-request-item .recent-recharge-main strong,.voter-request-item .recent-recharge-main small{overflow-wrap:anywhere}.voter-request-item .recent-recharge-summary{justify-self:end}.voter-confirm-modal .receipt-card{grid-template-columns:repeat(2,minmax(0,1fr))}.voter-confirm-modal .receipt-card>div:last-child{grid-column:1/-1;background:#eefbf4}.voter-confirm-modal .alert\.warning{padding:12px 14px;border-radius:12px;background:#fff7dd;color:#805400}
.voter-confirm-modal .compact-confirm-actions{grid-template-columns:90px 90px 1fr}.voter-confirm-modal .alert.warning{padding:12px 14px;border-radius:12px;background:#fff7dd;color:#805400}
@media(max-width:1050px){.voter-link-page .voter-link-layout{grid-template-columns:1fr}.voter-history-card{width:100%}}@media(max-width:560px){.voter-confirm-modal .receipt-card{grid-template-columns:1fr}.voter-confirm-modal .receipt-card>div:last-child{grid-column:auto}.voter-request-item{grid-template-columns:minmax(0,1fr) auto!important}}

/* One compact, fixed and scroll-hidden VLE sidebar across retailer pages. */
.vle-shell>.vle-sidebar-shared{display:flex!important;position:fixed!important;z-index:80;top:0;bottom:0;left:0;width:72px!important;height:100vh!important;min-height:0!important;padding:18px 8px!important;box-sizing:border-box;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;transition:width .22s ease}.vle-shell>.vle-sidebar-shared::-webkit-scrollbar{display:none;width:0;height:0}.vle-sidebar-shared .sidebar-category,.vle-sidebar-shared nav a span,.vle-sidebar-shared .logout span{display:none}.vle-sidebar-shared nav{width:100%}.vle-sidebar-shared nav a,.vle-sidebar-shared .logout{justify-content:center;padding:8px 4px}.vle-sidebar-shared .admin-icon{width:38px;height:38px;flex:0 0 38px;box-sizing:border-box;padding:8px;border-radius:11px;color:#dbeafe;background:rgba(255,255,255,.1)}.vle-sidebar-toggle{width:42px;height:42px;display:flex;flex:0 0 auto;align-items:center;justify-content:center;align-self:center;margin:0 auto 12px;border:1px solid #dfe7f2;border-radius:11px;background:#fff;color:#0f4ca0;font-size:1.2rem;cursor:pointer}.vle-shell.sidebar-expanded>.vle-sidebar-shared{width:272px!important;padding:22px 18px!important}.vle-shell.sidebar-expanded>.vle-sidebar-shared .sidebar-category,.vle-shell.sidebar-expanded>.vle-sidebar-shared nav a span,.vle-shell.sidebar-expanded>.vle-sidebar-shared .logout span{display:flex}.vle-shell.sidebar-expanded>.vle-sidebar-shared nav a,.vle-shell.sidebar-expanded>.vle-sidebar-shared .logout{justify-content:flex-start;padding:9px 12px}.vle-shell>.vle-main{width:calc(100% - 72px)!important;max-width:calc(100% - 72px)!important;margin-left:72px!important}.vle-shell.sidebar-expanded>.vle-main{width:calc(100% - 272px)!important;max-width:calc(100% - 272px)!important;margin-left:272px!important}
@media(max-width:820px){.vle-shell>.vle-sidebar-shared{display:none!important}.vle-shell>.vle-main,.vle-shell.sidebar-expanded>.vle-main{width:100%!important;max-width:100%!important;margin-left:0!important}.vle-sidebar-toggle{display:none}}
