:root {
    color-scheme: light;
    --bg: #eef3f8;
    --panel: #ffffff;
    --panel-soft: #f7fafc;
    --ink: #172033;
    --muted: #667085;
    --line: #d9e2ec;
    --line-strong: #c8d4e2;
    --brand: #0f766e;
    --brand-dark: #0b4f4a;
    --brand-soft: #dff7f2;
    --blue: #1d4ed8;
    --green: #067647;
    --red: #b42318;
    --amber: #b54708;
    --sidebar: #101828;
    --sidebar-soft: #1d2939;
    --shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input, select {
    font: inherit;
}

button {
    cursor: pointer;
}

.shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 24px;
    background: var(--sidebar);
    color: #ffffff;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #20bca8;
    color: #063b37;
    font-weight: 900;
}

.brand strong,
.brand span {
    display: block;
}

.brand span,
.sidebar-card small {
    color: #b7c3d1;
    font-size: 13px;
}

.nav-list {
    display: grid;
    gap: 6px;
}

.nav-list a {
    display: block;
    color: #d8e0ea;
    text-decoration: none;
    padding: 11px 12px;
    border-radius: 8px;
    font-weight: 700;
}

.nav-list a:hover,
.nav-list a.active {
    background: var(--sidebar-soft);
    color: #ffffff;
}

.sidebar-card {
    margin-top: auto;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.sidebar-card strong,
.sidebar-card small {
    display: block;
}

.app {
    min-width: 0;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 22px clamp(18px, 3vw, 38px);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
}

.eyebrow,
.label {
    display: block;
    margin: 0 0 6px;
    color: var(--brand-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.sidebar .label {
    color: #9ee9dc;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1 {
    margin-bottom: 0;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 10px;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 16px;
    font-size: 18px;
    letter-spacing: 0;
}

p {
    color: var(--muted);
    line-height: 1.6;
}

.top-actions {
    display: grid;
    grid-template-columns: minmax(220px, 320px) auto;
    gap: 12px;
    align-items: center;
}

.content {
    display: grid;
    gap: 22px;
    padding: 24px clamp(18px, 3vw, 38px) 44px;
}

.hero-panel {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) 1.22fr;
    gap: 20px;
    align-items: stretch;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #f5fbfa 100%);
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: 8px 6px;
}

.hero-copy p {
    max-width: 640px;
    margin-bottom: 0;
}

.hero-grid,
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.stat {
    min-height: 124px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.stat span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.stat strong {
    display: block;
    margin: 12px 0 8px;
    font-size: 34px;
    line-height: 1;
}

.stat small {
    color: var(--brand-dark);
    font-weight: 800;
}

.dashboard-grid,
.cards-grid,
.records-grid {
    display: grid;
    gap: 18px;
}

.dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.records-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
    align-items: start;
}

.panel {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.04);
}

.form-card {
    grid-column: span 2;
}

.panel-head,
.section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.panel-head.compact {
    align-items: flex-start;
}

.panel-head h3,
.section-head h2 {
    margin-bottom: 0;
}

.form-grid {
    display: grid;
    gap: 12px;
}

.form-grid.two-col,
.form-grid.split-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid label,
.form-grid .wide,
.span-form {
    min-width: 0;
}

.form-grid label span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.wide,
.span-form {
    grid-column: 1 / -1;
}

input, select {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    padding: 10px 12px;
    outline: none;
}

input:focus,
select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.primary,
button {
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    background: var(--brand);
    color: #ffffff;
    font-weight: 900;
}

.primary:hover,
button:hover {
    background: var(--brand-dark);
}

.status-pill,
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.badge.active {
    background: #dcfae6;
    color: var(--green);
}

.badge.suspended,
.badge.denied {
    background: #fee4e2;
    color: var(--red);
}

.badge.custom {
    background: #e0eaff;
    color: var(--blue);
}

.badge.fixed {
    background: #fff4d6;
    color: var(--amber);
}

.muted {
    color: var(--muted);
    font-size: 13px;
}

.table-panel {
    padding-bottom: 8px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
}

th, td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

td strong,
.item strong {
    display: block;
}

.usage-cell {
    min-width: 190px;
}

.usage-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.progress {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9eef5;
}

.progress span {
    display: block;
    height: 100%;
    width: var(--value, 0%);
    max-width: 100%;
    background: var(--brand);
}


.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.log-item {
    background: #ffffff;
}
.usage-form {
    display: grid;
    grid-template-columns: 88px 86px;
    gap: 8px;
    align-items: center;
}

.usage-form input,
.usage-form button {
    min-height: 36px;
}

.side-stack,
.list {
    display: grid;
    gap: 14px;
}

.item {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-soft);
}

.item-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

.decision {
    margin-top: 14px;
    min-height: 48px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-soft);
    color: var(--muted);
    font-weight: 800;
}

.decision.allowed {
    border-color: #abefc6;
    background: #ecfdf3;
    color: var(--green);
}

.decision.denied {
    border-color: #fecdca;
    background: #fef3f2;
    color: var(--red);
}

.decision.quiet {
    color: var(--muted);
}

.toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 20;
    max-width: min(380px, calc(100vw - 36px));
    padding: 12px 14px;
    border-radius: 8px;
    background: #101828;
    color: #ffffff;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(12px);
    transition: 180ms ease;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1380px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1120px) {
    .shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        height: auto;
        padding: 18px;
    }

    .nav-list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .sidebar-card {
        margin-top: 0;
    }

    .hero-panel,
    .records-grid,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .topbar,
    .panel-head,
    .section-head {
        align-items: stretch;
        flex-direction: column;
    }

    .top-actions,
    .hero-grid,
    .stats,
    .cards-grid,
    .form-grid.two-col,
    .form-grid.split-fields,
    .nav-list {
        grid-template-columns: 1fr;
    }

    .form-card {
        grid-column: span 1;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 25px;
    }
}
.is-hidden {
    display: none !important;
}

.login-screen {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(16, 24, 40, 0.94), rgba(15, 118, 110, 0.88)),
        radial-gradient(circle at top right, rgba(32, 188, 168, 0.32), transparent 34%);
}

.login-card {
    width: min(100%, 480px);
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.login-brand {
    margin-bottom: 24px;
    color: var(--ink);
}

.login-card h1 {
    margin-bottom: 12px;
    font-size: 32px;
}

.login-card p {
    margin-bottom: 20px;
}

.logout-button {
    width: auto;
    min-height: 34px;
    padding: 7px 12px;
    background: #e9eef5;
    color: var(--ink);
}

.logout-button:hover {
    background: #d9e2ec;
}
.nav-menu {
    display: grid;
    gap: 10px;
}

.nav-menu button {
    text-align: left;
}

.nav-link,
.menu-title {
    width: 100%;
    min-height: 38px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #d8e0ea;
    padding: 10px 12px;
    font-weight: 800;
}

.nav-link:hover,
.menu-title:hover,
.nav-link.active {
    background: var(--sidebar-soft);
    color: #ffffff;
}

.menu-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ee9dc;
    text-transform: uppercase;
    font-size: 12px;
}

.menu-title::after {
    content: "+";
    color: #9ee9dc;
}

.menu-items {
    display: grid;
    gap: 4px;
    padding-left: 10px;
}

.menu-items.is-collapsed {
    display: none;
}

.menu-items .nav-link {
    min-height: 34px;
    padding-left: 14px;
    font-size: 14px;
}

.app-view {
    display: grid;
    gap: 18px;
}

.form-page {
    max-width: 980px;
}

.compact-page {
    margin-top: 18px;
}

.after-form {
    margin-top: 18px;
}

.item-note {
    margin: 10px 0 0;
}

@media (max-width: 1120px) {
    .nav-menu {
        grid-template-columns: 1fr;
    }

    .sidebar {
        height: auto;
    }
}
textarea {
    width: 100%;
    min-height: 82px;
    resize: vertical;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    padding: 10px 12px;
    font: inherit;
    outline: none;
}

textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.form-section-title {
    grid-column: 1 / -1;
    margin: 12px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: 16px;
}

.onboarding-form .form-section-title:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.isp-detail-list {
    display: grid;
    gap: 16px;
}

.isp-detail-card {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-soft);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.detail-item {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.detail-item.wide {
    grid-column: 1 / -1;
}

.detail-item span,
.detail-item strong {
    display: block;
}

.detail-item span {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.detail-item strong {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}


.document-item {
    display: grid;
    gap: 8px;
}

.document-item .action-button {
    justify-self: start;
}

.document-item .action-button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(16, 24, 40, 0.72);
}

.modal-panel {
    width: min(100%, 980px);
    max-height: calc(100vh - 48px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.document-preview {
    min-height: 360px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.document-preview img,
.document-preview iframe {
    display: block;
    width: 100%;
    min-height: 70vh;
    border: 0;
    object-fit: contain;
}

.document-preview img {
    height: auto;
    padding: 12px;
}
@media (max-width: 900px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}
.isp-grid td {
    vertical-align: top;
}

.action-button {
    width: auto;
    min-width: 74px;
    min-height: 34px;
    padding: 8px 14px;
    white-space: nowrap;
}

.secondary {
    width: auto;
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    background: #e8eef6;
    color: var(--ink);
    font-weight: 800;
}

.secondary:hover {
    background: #d9e2ec;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.form-actions .primary,
.form-actions .secondary {
    width: auto;
    min-width: 130px;
}

.compact-details {
    display: grid;
    gap: 4px;
    min-width: 220px;
}
.stat {
    width: 100%;
    text-align: left;
    color: var(--ink);
}

.stat:hover {
    background: var(--panel);
}

.action-stat {
    border-color: #f7c566;
    background: #fffbeb;
}

.action-stat:hover {
    background: #fef3c7;
}

.kyc-item {
    display: grid;
    gap: 14px;
}

.kyc-detail-grid {
    margin-top: 4px;
}

.kyc-actions {
    justify-content: flex-start;
}

.kyc-actions .primary {
    width: auto;
    min-width: 190px;
}

.role-picker {
    max-width: 420px;
    margin: 18px 0 14px;
}

.role-picker label span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}
.role-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0;
}

.role-check {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    font-weight: 800;
}

.role-check input {
    width: auto;
    min-height: auto;
}

.role-form {
    display: grid;
    gap: 10px;
}


.document-item {
    display: grid;
    gap: 8px;
}

.document-item .action-button {
    justify-self: start;
}

.document-item .action-button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(16, 24, 40, 0.72);
}

.modal-panel {
    width: min(100%, 980px);
    max-height: calc(100vh - 48px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.document-preview {
    min-height: 360px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.document-preview img,
.document-preview iframe {
    display: block;
    width: 100%;
    min-height: 70vh;
    border: 0;
    object-fit: contain;
}

.document-preview img {
    height: auto;
    padding: 12px;
}
@media (max-width: 900px) {
    .role-grid {
        grid-template-columns: 1fr;
    }
}
.hotspot-public-page {
    background: #eef5f6;
}

.hotspot-public {
    min-height: 100vh;
    color: #10212b;
}

.hotspot-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
    gap: 28px;
    align-items: center;
    min-height: 62vh;
    padding: 72px clamp(18px, 5vw, 72px);
    color: #ffffff;
    background: linear-gradient(130deg, rgba(5, 20, 31, 0.95), rgba(11, 104, 104, 0.88)), url('/images/slide-isp-management.png') center/cover;
}

.hotspot-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 5.4rem);
    line-height: 1;
    letter-spacing: 0;
}

.hotspot-hero p {
    max-width: 720px;
    color: #d8edf0;
    line-height: 1.75;
    font-size: 1.08rem;
}

.portal-section {
    padding: 42px clamp(18px, 5vw, 72px);
}

.portal-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 20px;
}

.portal-head h2,
.portal-card h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 3rem);
    letter-spacing: 0;
}

.portal-card {
    padding: 24px;
    border: 1px solid #cddce2;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 50px rgba(14, 37, 48, 0.12);
}

.portal-plans {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.portal-plan {
    display: grid;
    gap: 8px;
    text-align: left;
    padding: 22px;
    min-height: 190px;
    border: 1px solid #d3e1e7;
    border-radius: 8px;
    background: #ffffff;
    color: #10212b;
    cursor: pointer;
}

.portal-plan:hover,
.portal-plan.selected {
    border-color: #0f8f86;
    box-shadow: 0 16px 34px rgba(15, 143, 134, 0.18);
}

.portal-plan strong {
    font-size: 1.25rem;
}

.portal-plan span {
    color: #647482;
}

.portal-plan b {
    margin-top: auto;
    color: #0f766e;
    font-size: 1.35rem;
}

@media (max-width: 900px) {
    .hotspot-hero,
    .portal-plans {
        grid-template-columns: 1fr;
    }

    .portal-head {
        align-items: stretch;
        flex-direction: column;
    }
}

/* ISP operator dashboard */
.isp-home {
    gap: 12px;
}

.module-strip {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 7px 12px;
    border-top: 4px solid #3e73d8;
    border-bottom: 1px solid #d8dee8;
    background: #ffffff;
    color: #516070;
    font-size: 13px;
    font-weight: 800;
}

.module-item.active,
.module-item:hover {
    color: #2f67c5;
}

.module-date {
    margin-left: auto;
    color: #4b5563;
    font-weight: 700;
}

.operator-page {
    min-width: 0;
    border: 1px solid #dce3ed;
    background: #f7f7f7;
}

.console-tabs {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    background: #202020;
}

.console-tabs button {
    min-width: max-content;
    min-height: 42px;
    border: 0;
    border-right: 1px solid #333333;
    background: transparent;
    color: #d8dce2;
    padding: 0 18px;
    font-size: 12px;
    font-weight: 800;
}

.console-tabs button.active,
.console-tabs button:hover {
    background: #3d70ce;
    color: #ffffff;
}

.operator-title {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
    gap: 16px;
    align-items: start;
    padding: 22px 24px 12px;
}

.operator-title h2 {
    margin: 0 0 6px;
    font-size: 24px;
    color: #4c5564;
}

.operator-title p {
    margin: 0;
    color: #6b7280;
}

.compact-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-stats .stat {
    min-height: 74px;
    padding: 10px 12px;
    border-radius: 2px;
    box-shadow: none;
}

.compact-stats .stat strong {
    margin: 5px 0;
    font-size: 22px;
}

.blue-ribbon {
    width: min(980px, calc(100% - 48px));
    margin: 8px 24px 0;
    padding: 7px 16px;
    background: #3f72cf;
    color: #ffffff;
    text-align: center;
    font-size: 13px;
    font-weight: 900;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%);
}

.active-user-board {
    display: grid;
    grid-template-columns: minmax(360px, 0.62fr) minmax(360px, 0.38fr);
    gap: 16px;
    padding: 16px 24px 18px;
}

.online-total-card,
.quick-count-card,
.filter-panel,
.active-table-panel,
.notes-panel {
    border: 1px solid #e0e4ea;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.08);
}

.online-total-card,
.quick-count-card {
    min-height: 164px;
    padding: 18px;
}

.board-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6fb0d9;
    font-size: 15px;
}

.round-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
}

.round-icon.green { background: #9ac232; }
.round-icon.blue { background: #6bb7df; }

.online-total {
    display: block;
    margin: 26px 0 22px;
    color: #91bd2d;
    text-align: center;
    font-size: 58px;
    line-height: 1;
    font-weight: 400;
}

.connection-splits,
.mini-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.split,
.mini-metrics span {
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.split.blue { background: #438cc8; }
.split.orange { background: #f39a0a; }
.split.gray { background: #777777; }
.split.indigo { background: #3e67c9; }

.mini-metrics {
    margin-top: 26px;
}

.mini-metrics span {
    min-height: 42px;
    flex-direction: column;
    gap: 4px;
    background: #f4f7fb;
    color: #4b5563;
    border-left: 4px solid #3f72cf;
}

.mini-metrics b {
    color: #263445;
    font-size: 22px;
}

.filter-panel {
    margin: 16px 24px 0;
    padding: 16px;
    box-shadow: none;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(130px, 1fr)) auto;
    gap: 8px;
    align-items: center;
}

.filter-grid input,
.filter-grid select,
.rows-control select {
    min-height: 32px;
    border: 1px solid #d7dde6;
    border-radius: 2px;
    background: #ffffff;
    color: #526071;
    padding: 5px 9px;
    font-size: 12px;
}

.search-button {
    min-height: 32px;
    border: 0;
    border-radius: 2px;
    background: #3f72cf;
    color: #ffffff;
    padding: 0 20px;
    font-size: 12px;
    font-weight: 900;
}

.filter-note {
    margin: 18px 0 0;
    color: #333333;
    font-size: 12px;
    font-style: italic;
}

.filter-note b:first-child,
.red-text { color: #ff0000; }
.blue-text { color: #2d65c8; }
.orange-text { color: #f19900; }

.active-table-panel {
    margin: 22px 24px 0;
    padding: 0 0 10px;
    box-shadow: none;
}

.rows-control {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    padding: 12px 12px 8px;
    color: #4b5563;
    font-size: 12px;
    font-weight: 800;
}

.operator-table-wrap {
    max-width: 100%;
    overflow: auto;
    border-top: 1px solid #e4e7ec;
}

.operator-table {
    min-width: 2100px;
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    color: #515b69;
}

.operator-table th,
.operator-table td {
    border: 1px solid #e2e6ec;
    padding: 8px 9px;
    white-space: nowrap;
    vertical-align: middle;
}

.operator-table th {
    background: #ffffff;
    color: #657080;
    font-weight: 900;
}

.operator-table td strong,
.operator-table td span {
    display: block;
}

.operator-table .no-data {
    height: 42px;
    text-align: center;
}

.operator-table .total-row td {
    background: #fbfbfb;
    font-weight: 900;
}

.notes-panel {
    margin: 22px 24px 28px;
    padding: 14px 16px;
    box-shadow: none;
}

.notes-panel strong {
    display: block;
    margin-bottom: 10px;
    color: #087515;
    font-size: 12px;
}

.notes-panel p {
    margin: 0 0 8px;
    padding: 8px 10px;
    border-left: 5px solid #3f72cf;
    background: #ffffff;
    box-shadow: 0 1px 6px rgba(17, 24, 39, 0.06);
    font-size: 12px;
}

.gateway-tools {
    margin-top: 14px;
}

@media (max-width: 1260px) {
    .operator-title,
    .active-user-board {
        grid-template-columns: 1fr;
    }

    .filter-grid {
        grid-template-columns: repeat(3, minmax(140px, 1fr));
    }
}

@media (max-width: 760px) {
    .module-strip,
    .console-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .operator-title,
    .active-user-board,
    .filter-panel,
    .active-table-panel,
    .notes-panel {
        margin-left: 12px;
        margin-right: 12px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .blue-ribbon {
        width: calc(100% - 24px);
        margin-left: 12px;
        margin-right: 12px;
    }

    .filter-grid,
    .compact-stats,
    .connection-splits,
    .mini-metrics {
        grid-template-columns: 1fr;
    }

    .online-total {
        font-size: 44px;
    }
}

/* Add User registration console */
.add-user-page {
    background: #f4f7fb;
    border-color: #d7e0ec;
}

.add-user-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    padding: 26px 28px 12px;
    color: #667085;
}

.add-user-heading span {
    color: #546172;
    font-size: 24px;
    font-weight: 800;
}

.add-user-heading small {
    color: #6b7280;
    font-weight: 700;
}

.add-user-form {
    display: grid;
    gap: 0;
}

.form-ribbon {
    width: min(1500px, calc(100% - 56px));
    margin-top: 18px;
    background: #386fd0;
    font-size: 16px;
}

.add-user-section {
    display: grid;
    gap: 11px;
    max-width: 1500px;
    padding: 22px 28px 22px;
}

.isp-form-row {
    display: grid;
    grid-template-columns: 260px minmax(260px, 520px);
    gap: 12px;
    align-items: center;
}

.isp-form-row > label:first-child {
    color: #1f2937;
    text-align: right;
    font-size: 14px;
    font-weight: 900;
}

.isp-form-row b {
    color: #ef4444;
}

.isp-form-row input,
.isp-form-row select,
.isp-form-row textarea,
.input-icon input {
    min-height: 38px;
    border: 1px solid #d8dee8;
    border-radius: 3px;
    background: #ffffff;
    color: #263445;
    padding: 8px 11px;
    box-shadow: inset 0 1px 0 rgba(16, 24, 40, 0.03);
}

.isp-form-row input:focus,
.isp-form-row select:focus,
.isp-form-row textarea:focus,
.input-icon input:focus {
    border-color: #386fd0;
    box-shadow: 0 0 0 3px rgba(56, 111, 208, 0.12);
}

.isp-form-row textarea {
    min-height: 54px;
}

.isp-form-row.two-wide {
    grid-template-columns: 260px minmax(260px, 520px) minmax(260px, 520px);
}

.isp-form-row.three-wide {
    grid-template-columns: 260px minmax(180px, 320px) minmax(180px, 320px) minmax(180px, 320px);
}

.isp-form-row.compact-pair,
.isp-form-row.with-button,
.isp-form-row.file-row {
    grid-template-columns: 260px minmax(260px, 520px) auto;
}

.isp-form-row.textarea-row {
    grid-template-columns: 260px minmax(320px, 760px);
}

.radio-row {
    align-items: center;
}

.radio-pack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #344054;
    font-weight: 700;
}

.radio-pack label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.radio-pack input {
    width: 17px;
    min-height: 17px;
    accent-color: #386fd0;
}

.input-icon {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
}

.input-icon span {
    display: grid;
    place-items: center;
    min-height: 38px;
    border: 1px solid #d8dee8;
    border-right: 0;
    border-radius: 3px 0 0 3px;
    background: #eef2f7;
    color: #4b5563;
    font-size: 12px;
    font-weight: 900;
}

.input-icon input {
    border-radius: 0 3px 3px 0;
}

.success-button,
.save-user-button {
    min-height: 38px;
    border: 0;
    border-radius: 4px;
    color: #ffffff;
    padding: 0 18px;
    font-weight: 900;
}

.success-button {
    background: #4fb866;
}

.save-user-button {
    width: auto;
    min-width: 108px;
    background: #386fd0;
}

.toggle-pill {
    width: 74px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 4px 6px;
    border-radius: 999px;
    background: #418bd0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    position: relative;
}

.toggle-pill::after {
    content: "";
    position: absolute;
    right: 4px;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.24);
}

.file-row input[type="file"] {
    min-width: 260px;
    padding: 6px;
    background: #ffffff;
}

.file-row input[readonly] {
    background: #edf0f3;
}

.file-note {
    width: min(100%, 760px);
    padding: 12px 16px;
    border-left: 8px solid #386fd0;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
    color: #1f2937;
    font-weight: 700;
}

.file-note b {
    color: #008000;
}

.action-row .secondary {
    width: max-content;
}

.account-section,
.kyc-section-form {
    padding-bottom: 32px;
}

@media (max-width: 1180px) {
    .isp-form-row,
    .isp-form-row.two-wide,
    .isp-form-row.three-wide,
    .isp-form-row.compact-pair,
    .isp-form-row.with-button,
    .isp-form-row.file-row,
    .isp-form-row.textarea-row {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .isp-form-row > label:first-child {
        text-align: left;
    }

    .add-user-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-ribbon {
        width: calc(100% - 28px);
        margin-left: 14px;
        margin-right: 14px;
    }
}

/* Minimal dashboard cards */
.dashboard-cards-only {
    display: block;
}

.dashboard-summary-page {
    min-height: 420px;
    display: grid;
    gap: 28px;
    align-content: start;
    padding: 28px;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(16, 24, 40, 0.07);
}

.dashboard-summary-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5ebf2;
}

.dashboard-summary-head h2 {
    margin-bottom: 8px;
    font-size: 28px;
}

.dashboard-summary-head p {
    max-width: 760px;
    margin: 0;
    color: #667085;
}

.dashboard-five-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(170px, 1fr));
    gap: 16px;
}

.summary-card {
    min-height: 160px;
    display: grid;
    align-content: space-between;
    gap: 12px;
    padding: 20px;
    border: 1px solid #d8e2ee;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: #386fd0;
}

.summary-card span {
    color: #5d6b7d;
    font-size: 13px;
    font-weight: 900;
}

.summary-card strong {
    color: #172033;
    font-size: 42px;
    line-height: 1;
}

.summary-card small {
    color: #667085;
    font-weight: 800;
}

.summary-card.paid::before { background: #16a34a; }
.summary-card.unpaid::before { background: #f59e0b; }
.summary-card.live::before { background: #0284c7; }
.summary-card.due::before { background: #dc2626; }

@media (max-width: 1280px) {
    .dashboard-five-cards {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
    }
}

@media (max-width: 760px) {
    .dashboard-summary-page {
        padding: 18px;
    }

    .dashboard-summary-head {
        flex-direction: column;
    }

    .dashboard-five-cards {
        grid-template-columns: 1fr;
    }
}

/* Modern Add User step cards */
.add-user-wizard-page {
    padding: 0;
    border: 1px solid #dbe5f1;
    border-radius: 8px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
    box-shadow: 0 16px 42px rgba(16, 24, 40, 0.08);
}

.add-user-wizard-form {
    display: grid;
    gap: 18px;
    padding: 24px;
}

.wizard-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    padding: 8px 4px 4px;
}

.wizard-head h2 {
    margin-bottom: 8px;
    font-size: 30px;
}

.wizard-head p {
    max-width: 760px;
    margin: 0;
    color: #64748b;
    font-weight: 650;
}

.wizard-status {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.wizard-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.wizard-step {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #cfdae8;
    border-radius: 8px;
    background: #ffffff;
    color: #475569;
    padding: 12px 14px;
    text-align: left;
    font-weight: 900;
}

.wizard-step span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
}

.wizard-step.active {
    border-color: #386fd0;
    background: #eff6ff;
    color: #1d4ed8;
}

.wizard-step.active span {
    background: #386fd0;
    color: #ffffff;
}

.wizard-card {
    display: grid;
    gap: 18px;
    padding: 22px;
    border: 1px solid #dbe5f1;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.wizard-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf2f7;
}

.wizard-card-head h3 {
    margin: 0;
    font-size: 22px;
}

.wizard-card-head small {
    color: #64748b;
    font-weight: 750;
}

.wizard-grid {
    display: grid;
    gap: 14px;
}

.wizard-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wizard-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wizard-grid label,
.wizard-grid .wide {
    min-width: 0;
}

.wizard-grid label span {
    display: block;
    margin-bottom: 7px;
    color: #475569;
    font-size: 12px;
    font-weight: 900;
}

.wizard-grid b {
    color: #dc2626;
}

.wizard-grid input,
.wizard-grid select,
.wizard-grid textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d7e0ec;
    border-radius: 8px;
    background: #ffffff;
    color: #172033;
    padding: 10px 12px;
}

.wizard-grid textarea {
    min-height: 92px;
    resize: vertical;
}

.wizard-grid input:focus,
.wizard-grid select:focus,
.wizard-grid textarea:focus {
    border-color: #386fd0;
    box-shadow: 0 0 0 3px rgba(56, 111, 208, 0.12);
}

.wizard-grid .wide {
    grid-column: 1 / -1;
}

.wizard-note {
    padding: 12px 14px;
    border-left: 5px solid #386fd0;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    font-weight: 750;
}

.wizard-note b {
    color: #15803d;
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
}

.wizard-actions.end {
    justify-content: flex-end;
}

.wizard-actions .primary,
.wizard-actions .secondary {
    width: auto;
    min-width: 140px;
}

@media (max-width: 1040px) {
    .wizard-grid.two,
    .wizard-grid.three {
        grid-template-columns: 1fr;
    }

    .wizard-head,
    .wizard-card-head {
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .add-user-wizard-form {
        padding: 14px;
    }

    .wizard-steps {
        grid-template-columns: 1fr;
    }

    .wizard-actions,
    .wizard-actions.end {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .wizard-actions .primary,
    .wizard-actions .secondary {
        width: 100%;
    }
}

/* Payment-first hotspot captive portal */
.payment-hero {
    min-height: 54vh;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
    background:
        linear-gradient(130deg, rgba(6, 16, 28, 0.94), rgba(6, 95, 92, 0.82)),
        url('/images/slide-isp-management.png') center/cover;
}

.payment-status-card {
    display: grid;
    gap: 18px;
}

.hotspot-stepper {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hotspot-step {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 10px;
    border: 1px solid #d6e1ea;
    border-radius: 8px;
    background: #f8fbff;
    color: #5b6878;
    font-weight: 900;
}

.hotspot-step span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
}

.hotspot-step.active {
    border-color: #14b8a6;
    background: #ecfdf5;
    color: #0f766e;
}

.hotspot-step.active span {
    background: #0f766e;
    color: #ffffff;
}

.network-code span {
    display: block;
    margin-bottom: 7px;
    color: #5d6b7a;
    font-size: 12px;
    font-weight: 900;
}

.hotspot-stage {
    scroll-margin-top: 20px;
}

.payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 18px;
    align-items: start;
}

.payment-summary {
    display: grid;
    gap: 6px;
    min-height: 96px;
    padding: 14px;
    border: 1px solid #d8e4ed;
    border-radius: 8px;
    background: #f8fafc;
    color: #667085;
    font-weight: 800;
}

.payment-summary strong,
.payment-summary b {
    display: block;
    color: #10212b;
    font-size: 18px;
}

.payment-summary b {
    color: #0f766e;
    font-size: 24px;
}

.start-browsing-card {
    width: min(100%, 920px);
    margin: 0 auto;
    padding: 28px;
    border: 1px solid #cfe2dc;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(14, 37, 48, 0.12);
}

.start-browsing-card h2 {
    margin-bottom: 8px;
}

@media (max-width: 900px) {
    .payment-hero,
    .payment-layout {
        grid-template-columns: 1fr;
    }
}

/* Full modern hotspot redesign */
.hotspot-modern-page {
    background:
        radial-gradient(circle at 12% 8%, rgba(20, 184, 166, 0.16), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(245, 158, 11, 0.13), transparent 28%),
        linear-gradient(180deg, #f6fbff 0%, #eef5f9 48%, #f8fafc 100%);
}

.hotspot-modern-page .hotspot-public {
    overflow: hidden;
}

.modern-hotspot-hero {
    position: relative;
    min-height: 640px;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(125deg, rgba(7, 19, 34, 0.94) 0%, rgba(13, 86, 83, 0.9) 48%, rgba(115, 63, 18, 0.72) 100%),
        url('/images/slide-isp-management.png') center/cover;
}

.modern-hotspot-hero::before {
    content: "";
    position: absolute;
    inset: auto -8% -34% -8%;
    height: 54%;
    background: #f6fbff;
    transform: skewY(-3deg);
    transform-origin: left top;
    z-index: -1;
}

.signal-field {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

.signal-field span {
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    animation: hotspotPulse 6s ease-in-out infinite;
}

.signal-field span:nth-child(1) { right: 11%; top: 12%; }
.signal-field span:nth-child(2) { right: 3%; top: 2%; animation-delay: 1.1s; }
.signal-field span:nth-child(3) { left: 8%; bottom: 14%; animation-delay: 2.2s; }

.hero-copy-stack {
    display: grid;
    gap: 18px;
    animation: riseIn 620ms ease both;
}

.hero-copy-stack .eyebrow {
    color: #9ff4e8;
}

.hero-copy-stack h1 {
    max-width: 900px;
    text-wrap: balance;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 160px));
    gap: 12px;
    margin-top: 12px;
}

.hero-metrics div {
    min-height: 86px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
}

.hero-metrics strong,
.hero-metrics span {
    display: block;
}

.hero-metrics strong {
    color: #ffffff;
    font-size: 22px;
}

.hero-metrics span {
    color: #cae8e7;
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.glass-card {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
    animation: floatIn 760ms ease both 120ms;
}

.hotspot-modern-page .hotspot-step {
    position: relative;
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.hotspot-modern-page .hotspot-step::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: #94a3b8;
}

.hotspot-modern-page .hotspot-step small {
    margin-left: auto;
    color: #7b8794;
    font-size: 12px;
    font-weight: 800;
}

.hotspot-modern-page .hotspot-step.active {
    transform: translateX(4px);
    box-shadow: 0 12px 30px rgba(15, 118, 110, 0.14);
}

.hotspot-modern-page .hotspot-step.active::after {
    background: #0f766e;
}

.modern-stage {
    position: relative;
    padding-top: 34px;
    animation: riseIn 420ms ease both;
}

.modern-head {
    align-items: center;
}

.modern-head p {
    max-width: 780px;
    margin: 8px 0 0;
}

.security-chip {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid #cde8df;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 13px;
    font-weight: 950;
    white-space: nowrap;
}

.modern-payment-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
}

.plan-zone {
    min-width: 0;
}

.modern-plan-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.modern-plan-card {
    position: relative;
    overflow: hidden;
    min-height: 226px;
    padding: 24px;
    border-color: #d6e3ed;
    background:
        linear-gradient(145deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 18px 40px rgba(18, 38, 63, 0.08);
    opacity: 0;
    transform: translateY(18px);
    animation: cardEnter 520ms ease forwards;
    animation-delay: var(--card-delay, 0ms);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.modern-plan-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #14b8a6, #f59e0b, #3b82f6);
}

.modern-plan-card::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -42px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.1);
    transition: transform 220ms ease, background 220ms ease;
}

.modern-plan-card:hover,
.modern-plan-card.selected {
    transform: translateY(-6px);
    border-color: #14b8a6;
    box-shadow: 0 24px 54px rgba(15, 118, 110, 0.18);
}

.modern-plan-card:hover::after,
.modern-plan-card.selected::after {
    transform: scale(1.25);
    background: rgba(245, 158, 11, 0.14);
}

.plan-badge {
    width: max-content;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985 !important;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.checkout-card,
.kyc-modern-card,
.success-modern-card {
    border-color: #d7e4ef;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 26px 70px rgba(16, 24, 40, 0.12);
}

.checkout-card {
    position: sticky;
    top: 18px;
}

.checkout-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #e6eef5;
}

.checkout-head span {
    color: #172033;
    font-size: 24px;
    font-weight: 950;
}

.checkout-head strong {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
}

.hotspot-modern-page input,
.hotspot-modern-page select,
.hotspot-modern-page textarea {
    border-color: #d2deea;
    background: #fbfdff;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.hotspot-modern-page input:focus,
.hotspot-modern-page select:focus,
.hotspot-modern-page textarea:focus {
    transform: translateY(-1px);
    border-color: #0f766e;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.animated-button,
.ghost-button {
    position: relative;
    overflow: hidden;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.animated-button {
    background: linear-gradient(135deg, #0f766e 0%, #2563eb 100%);
    box-shadow: 0 14px 32px rgba(15, 118, 110, 0.24);
}

.animated-button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
    transform: translateX(-110%);
    transition: transform 520ms ease;
}

.animated-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.25);
}

.animated-button:hover::after {
    transform: translateX(110%);
}

.animated-button.is-loading {
    color: transparent;
    pointer-events: none;
}

.animated-button.is-loading::before {
    content: "";
    position: absolute;
    left: calc(50% - 10px);
    top: calc(50% - 10px);
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.42);
    border-top-color: #ffffff;
    border-radius: 999px;
    animation: spin 720ms linear infinite;
}

.ghost-button {
    border: 1px solid #cbd5e1;
    background: #ffffff;
}

.ghost-button:hover {
    transform: translateY(-2px);
    background: #f1f5f9;
}

.form-title h2 {
    margin-bottom: 8px;
}

.form-title p {
    margin: 0;
}

.modern-decision {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
}

.success-modern-card {
    position: relative;
    overflow: hidden;
}

.success-modern-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 7px;
    background: linear-gradient(90deg, #22c55e, #14b8a6, #3b82f6);
}

.portal-ready .hero-copy-stack,
.portal-ready .glass-card {
    will-change: transform, opacity;
}

@keyframes hotspotPulse {
    0%, 100% { transform: scale(0.82); opacity: 0.34; }
    50% { transform: scale(1.18); opacity: 0.08; }
}

@keyframes riseIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatIn {
    from { opacity: 0; transform: translateY(24px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cardEnter {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
    .modern-plan-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .checkout-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .modern-hotspot-hero {
        min-height: auto;
        padding-top: 42px;
        padding-bottom: 54px;
    }

    .hero-metrics,
    .modern-plan-grid {
        grid-template-columns: 1fr;
    }

    .modern-head {
        align-items: stretch;
    }

    .security-chip {
        justify-content: center;
    }
}

/* Full modern ISP manager redesign */
.admin-modern-page {
    --bg: #f4f8fb;
    --panel: rgba(255, 255, 255, 0.94);
    --panel-soft: #f8fbff;
    --ink: #132033;
    --muted: #64748b;
    --line: #d8e4ef;
    --brand: #0f766e;
    --brand-dark: #064e48;
    --brand-soft: #dff9f3;
    --blue: #2563eb;
    --amber: #d97706;
    --sidebar: #07111f;
    --sidebar-soft: rgba(255, 255, 255, 0.1);
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    background:
        radial-gradient(circle at 14% 8%, rgba(20, 184, 166, 0.15), transparent 32%),
        radial-gradient(circle at 94% 6%, rgba(37, 99, 235, 0.12), transparent 28%),
        linear-gradient(180deg, #f7fbff 0%, #eef5fb 48%, #f8fafc 100%);
}

.admin-modern-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 72%);
    z-index: -1;
}

.admin-modern-page .login-screen {
    background:
        linear-gradient(135deg, rgba(4, 14, 28, 0.94), rgba(15, 118, 110, 0.82)),
        url('/images/slide-isp-management.png') center/cover;
    position: relative;
    overflow: hidden;
}

.admin-modern-page .login-screen::before,
.admin-modern-page .login-screen::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    animation: adminPulse 7s ease-in-out infinite;
}

.admin-modern-page .login-screen::before { right: 12%; top: 12%; }
.admin-modern-page .login-screen::after { left: 8%; bottom: 10%; animation-delay: 1.8s; }

.admin-modern-page .login-card {
    position: relative;
    z-index: 1;
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.3);
    animation: adminRise 620ms ease both;
}

.admin-modern-page .brand-mark {
    background: linear-gradient(135deg, #2dd4bf, #f59e0b);
    color: #062820;
    box-shadow: 0 12px 30px rgba(20, 184, 166, 0.25);
}

.admin-modern-page .shell {
    grid-template-columns: 304px minmax(0, 1fr);
}

.admin-modern-page .sidebar {
    gap: 20px;
    padding: 22px 18px;
    background:
        linear-gradient(180deg, rgba(7, 17, 31, 0.98), rgba(12, 31, 46, 0.98)),
        radial-gradient(circle at top left, rgba(20, 184, 166, 0.24), transparent 38%);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 18px 0 60px rgba(15, 23, 42, 0.18);
}

.admin-modern-page .nav-menu {
    gap: 8px;
}

.admin-modern-page .menu-group {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.admin-modern-page .menu-group.open {
    border-color: rgba(45, 212, 191, 0.4);
    background: rgba(20, 184, 166, 0.08);
}

.admin-modern-page .menu-title {
    min-height: 44px;
    border-radius: 0;
    color: #b5f4eb;
    letter-spacing: 0;
}

.admin-modern-page .menu-title::after {
    content: "+";
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    transition: transform 180ms ease, background 180ms ease;
}

.admin-modern-page .menu-group.open .menu-title::after {
    content: "-";
    background: rgba(45, 212, 191, 0.2);
}

.admin-modern-page .menu-items {
    padding: 4px 8px 10px;
    animation: menuDrop 220ms ease both;
}

.admin-modern-page .nav-link {
    position: relative;
    overflow: hidden;
    min-height: 38px;
    border-radius: 8px;
    color: #d7e5f0;
    transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}

.admin-modern-page .nav-link::before {
    content: "";
    position: absolute;
    inset: 9px auto 9px 0;
    width: 3px;
    border-radius: 999px;
    background: transparent;
}

.admin-modern-page .nav-link:hover,
.admin-modern-page .nav-link.active {
    background: linear-gradient(90deg, rgba(45, 212, 191, 0.18), rgba(37, 99, 235, 0.14));
    color: #ffffff;
    transform: translateX(3px);
}

.admin-modern-page .nav-link.active::before {
    background: #2dd4bf;
}

.admin-modern-page .nav-pressed {
    animation: navPress 260ms ease;
}

.admin-modern-page .sidebar-card {
    border-color: rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-modern-page .topbar {
    min-height: 86px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(20px);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.admin-modern-page .topbar h1 {
    font-size: 31px;
}

.admin-modern-page .top-actions {
    grid-template-columns: minmax(240px, 360px) auto auto;
}

.admin-modern-page .status-pill,
.admin-modern-page .badge {
    box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.12);
}

.admin-modern-page.app-loading .status-pill#apiStatus {
    background: #fff7ed;
    color: #c2410c;
}

.admin-modern-page.app-loading::after {
    content: "";
    position: fixed;
    left: 304px;
    right: 0;
    top: 0;
    height: 3px;
    z-index: 80;
    background: linear-gradient(90deg, #14b8a6, #f59e0b, #2563eb, #14b8a6);
    background-size: 240% 100%;
    animation: loadingBar 1s linear infinite;
}

.admin-modern-page .content {
    gap: 24px;
    padding-top: 28px;
}

.admin-modern-page .app-view.view-enter {
    animation: viewIn 320ms ease both;
}

.admin-modern-page .panel,
.admin-modern-page .dashboard-summary-page,
.admin-modern-page .add-user-wizard-page {
    border-color: rgba(203, 213, 225, 0.82);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.admin-modern-page .panel:hover,
.admin-modern-page .dashboard-summary-page:hover,
.admin-modern-page .add-user-wizard-page:hover {
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.11);
}

.admin-modern-page .dashboard-summary-page {
    position: relative;
    overflow: hidden;
}

.admin-modern-page .dashboard-summary-page::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, #14b8a6, #2563eb, #f59e0b, #ef4444);
}

.admin-modern-page .dashboard-five-cards {
    gap: 18px;
}

.admin-modern-page .summary-card {
    min-height: 176px;
    border-color: #d9e5ef;
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
    transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
    animation: cardLift 420ms ease both;
}

.admin-modern-page .summary-card:hover {
    transform: translateY(-5px);
    border-color: #14b8a6;
    box-shadow: 0 24px 54px rgba(15, 118, 110, 0.14);
}

.admin-modern-page .summary-card strong {
    font-size: 46px;
}

.admin-modern-page .summary-card::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -42px;
    width: 118px;
    height: 118px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
}

.admin-modern-page input,
.admin-modern-page select,
.admin-modern-page textarea {
    border-color: #d3dfeb;
    background: #fbfdff;
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.admin-modern-page input:focus,
.admin-modern-page select:focus,
.admin-modern-page textarea:focus {
    transform: translateY(-1px);
    border-color: #0f766e;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.admin-modern-page .primary,
.admin-modern-page button.primary,
.admin-modern-page .save-user-button {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f766e 0%, #2563eb 100%);
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.22);
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.admin-modern-page .primary:hover,
.admin-modern-page button.primary:hover,
.admin-modern-page .save-user-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.22);
}

.admin-modern-page .secondary,
.admin-modern-page .logout-button {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #172033;
    transition: transform 150ms ease, background 150ms ease;
}

.admin-modern-page .secondary:hover,
.admin-modern-page .logout-button:hover {
    transform: translateY(-2px);
    background: #eef5fb;
}

.admin-modern-page .wizard-steps {
    padding: 8px;
    border: 1px solid #dbe7f2;
    border-radius: 8px;
    background: #ffffff;
}

.admin-modern-page .wizard-step {
    border-color: transparent;
    background: #f7fafc;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.admin-modern-page .wizard-step:hover,
.admin-modern-page .wizard-step.active {
    transform: translateY(-2px);
    background: #ecfdf5;
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.11);
}

.admin-modern-page .wizard-card {
    border-color: #dbe7f2;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
    animation: viewIn 260ms ease both;
}

.admin-modern-page .table-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
}

.admin-modern-page table {
    border-collapse: separate;
    border-spacing: 0;
}

.admin-modern-page th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f8fbff;
    color: #475569;
}

.admin-modern-page td {
    background: #ffffff;
}

.admin-modern-page tbody tr {
    transition: background 140ms ease, transform 140ms ease;
}

.admin-modern-page tbody tr:hover td {
    background: #f8fcff;
}

.admin-modern-page .item,
.admin-modern-page .role-check,
.admin-modern-page .detail-item {
    border-color: #dbe7f2;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
    transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.admin-modern-page .item:hover,
.admin-modern-page .role-check:hover,
.admin-modern-page .detail-item:hover {
    transform: translateY(-2px);
    border-color: #14b8a6;
    box-shadow: 0 18px 44px rgba(15, 118, 110, 0.1);
}

.admin-modern-page .progress span {
    background: linear-gradient(90deg, #14b8a6, #2563eb);
}

.admin-modern-page .modal {
    backdrop-filter: blur(8px);
}

.admin-modern-page .modal-panel {
    animation: modalIn 200ms ease both;
}

.admin-modern-page .toast {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, #07111f, #0f766e);
}

@keyframes adminPulse {
    0%, 100% { transform: scale(0.82); opacity: 0.28; }
    50% { transform: scale(1.16); opacity: 0.08; }
}

@keyframes adminRise {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes menuDrop {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes navPress {
    0% { transform: scale(1); }
    50% { transform: scale(0.97); }
    100% { transform: scale(1); }
}

@keyframes loadingBar {
    to { background-position: 240% 0; }
}

@keyframes viewIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cardLift {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1120px) {
    .admin-modern-page .shell {
        grid-template-columns: 1fr;
    }

    .admin-modern-page.app-loading::after {
        left: 0;
    }

    .admin-modern-page .sidebar {
        height: auto;
        position: static;
    }

    .admin-modern-page .top-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .admin-modern-page .topbar,
    .admin-modern-page .dashboard-summary-head {
        gap: 12px;
    }

    .admin-modern-page .content {
        padding-left: 14px;
        padding-right: 14px;
    }

    .admin-modern-page .summary-card strong {
        font-size: 38px;
    }
}

/* Milky-blue closed sidebar update */
.admin-modern-page .sidebar {
    background:
        linear-gradient(180deg, rgba(232, 244, 255, 0.98), rgba(218, 236, 252, 0.98)),
        radial-gradient(circle at top left, rgba(20, 184, 166, 0.16), transparent 38%) !important;
    color: #17324d;
    border-right: 1px solid #c8dbec;
    box-shadow: 18px 0 52px rgba(60, 94, 126, 0.14);
}

.admin-modern-page .sidebar .brand strong,
.admin-modern-page .sidebar-card strong {
    color: #102a43;
}

.admin-modern-page .sidebar .brand span,
.admin-modern-page .sidebar-card small {
    color: #5a7188;
}

.admin-modern-page .sidebar .label {
    color: #0f766e;
}

.admin-modern-page .menu-group {
    border-color: #c7d9e8;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 24px rgba(60, 94, 126, 0.07);
}

.admin-modern-page .menu-group.open {
    border-color: #8dcfc5;
    background: rgba(255, 255, 255, 0.82);
}

.admin-modern-page .menu-title {
    color: #174469;
}

.admin-modern-page .menu-title:hover {
    background: rgba(20, 184, 166, 0.12);
    color: #0f4f66;
}

.admin-modern-page .menu-title::after {
    background: rgba(15, 118, 110, 0.1);
    color: #0f766e;
}

.admin-modern-page .menu-group.open .menu-title::after {
    background: rgba(15, 118, 110, 0.18);
}

.admin-modern-page .nav-link {
    color: #31536f;
}

.admin-modern-page .nav-link:hover,
.admin-modern-page .nav-link.active {
    background: linear-gradient(90deg, rgba(20, 184, 166, 0.14), rgba(37, 99, 235, 0.1));
    color: #0f3557;
}

.admin-modern-page .nav-link.active::before {
    background: #0f766e;
}

.admin-modern-page .sidebar-card {
    border-color: #c7d9e8;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 32px rgba(60, 94, 126, 0.08);
}

.admin-modern-page .menu-items.is-collapsed {
    display: none;
}

/* Live login ID validation */
.field-status {
    display: block;
    min-height: 20px;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 900;
}

.field-status.quiet {
    color: #64748b;
}

.field-status.checking {
    color: #2563eb;
}

.field-status.available {
    color: #047857;
}

.field-status.taken {
    color: #b42318;
}

.admin-modern-page input.field-valid {
    border-color: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.admin-modern-page input.field-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

/* Compact KYC verification grid */
.kyc-grid-wrap {
    margin-top: 14px;
}

.kyc-grid-table {
    min-width: 1280px;
}

.kyc-grid-table th,
.kyc-grid-table td {
    padding: 10px 11px;
    vertical-align: top;
}

.kyc-grid-table td strong,
.kyc-grid-table td span {
    display: block;
}

.kyc-doc-cell {
    display: grid;
    gap: 6px;
    min-width: 118px;
}

.kyc-doc-cell span,
.kyc-address-cell {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kyc-doc-cell .action-button,
.kyc-grid-table .action-button {
    min-width: 88px;
    min-height: 31px;
    padding: 6px 10px;
    font-size: 12px;
}

.kyc-doc-cell .action-button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

/* Dashboard live bandwidth and KYC cards */
.admin-modern-page .dashboard-five-cards,
.dashboard-five-cards {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.summary-card.kyc::before { background: #7c3aed; }
.summary-card.download::before { background: #0284c7; }
.summary-card.upload::before { background: #0f766e; }

.admin-modern-page .summary-card.kyc::after { background: rgba(124, 58, 237, 0.08); }
.admin-modern-page .summary-card.download::after { background: rgba(2, 132, 199, 0.08); }
.admin-modern-page .summary-card.upload::after { background: rgba(15, 118, 110, 0.08); }

.dashboard-mini-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 220px));
    gap: 12px;
    margin-top: 14px;
}

.mini-stat {
    min-height: 72px;
    border: 1px solid #dbe7f4;
    border-radius: 8px;
    background: #f8fbff;
    padding: 12px 14px;
    text-align: left;
    display: grid;
    gap: 6px;
    cursor: pointer;
}

.mini-stat span {
    color: #5d6b7d;
    font-size: 12px;
    font-weight: 900;
}

.mini-stat strong {
    color: #172033;
    font-size: 24px;
    line-height: 1;
}

.mini-stat.live { border-left: 4px solid #0284c7; }
.mini-stat.kyc { border-left: 4px solid #7c3aed; }

.zone-row {
    display: grid;
    grid-template-columns: minmax(180px, 1.1fr) minmax(360px, 2fr) auto;
    gap: 14px;
    align-items: start;
}

.zone-main {
    display: grid;
    gap: 5px;
}

.zone-main small {
    color: #6b7280;
    font-weight: 700;
}

.zone-router-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(110px, 1fr));
    gap: 8px;
}

.zone-router-grid span {
    border: 1px solid #e1eaf4;
    border-radius: 8px;
    background: #fbfdff;
    padding: 8px 10px;
    color: #1f2937;
    font-weight: 800;
    min-width: 0;
    overflow-wrap: anywhere;
}

.zone-router-grid b {
    display: block;
    color: #64748b;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.zone-router-grid em {
    font-style: normal;
}

.zone-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.zone-mikrotik-result {
    grid-column: 1 / -1;
    white-space: pre-wrap;
}

@media (max-width: 980px) {
    .zone-row {
        grid-template-columns: 1fr;
    }

    .zone-router-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
}
.customer-icon-actions {
    display: grid;
    grid-template-columns: repeat(5, 34px);
    gap: 6px;
    align-items: center;
}

.customer-icon-button {
    width: 34px;
    height: 34px;
    border: 1px solid #d7e3f1;
    border-radius: 8px;
    background: #f8fbff;
    color: #1f3b57;
    font-size: 15px;
    font-weight: 900;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.customer-icon-button:hover {
    transform: translateY(-1px);
    border-color: #83a9d8;
    background: #eef6ff;
}

.customer-icon-button:disabled {
    cursor: wait;
    opacity: 0.55;
}

.customer-icon-button.renew { color: #15803d; }
.customer-icon-button.reset-mac { color: #0f766e; }
.customer-icon-button.delete { color: #dc2626; }
.customer-icon-button.pause { color: #b45309; }
.customer-icon-button.disable { color: #991b1b; }
.customer-icon-button.logout { color: #475569; }
.customer-icon-button.usage { color: #2563eb; }
.customer-icon-button.ping { color: #7c3aed; }
.customer-icon-button.edit { color: #0369a1; }
.customer-icon-button.log { color: #334155; }