@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #f5f8f6;
    --navy: #123b2b;
    --primary: #15965f;
    --primary-dark: #087747;
    --text: #18352a;
    --muted: #788b80;
    --border: #e4eee8;
    --white: #ffffff;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'DM Sans', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

button, input { font: inherit; }
button { cursor: pointer; }

.loading {
    padding: 60px 20px;
    text-align: center;
    color: var(--muted);
}

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
}

.login-brand {
    background: linear-gradient(145deg, #0d3827, #168653);
    color: white;
    padding: 9%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brand-logo {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.8px;
}

.brand-logo span { color: #8ee3b6; }

.brand-message h1 {
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.15;
    margin: 0 0 20px;
}

.brand-message p {
    color: #d0ecdc;
    line-height: 1.8;
    max-width: 430px;
}

.login-area {
    display: grid;
    place-items: center;
    padding: 30px;
}

.login-card { width: min(100%, 410px); }

.login-card h2 {
    font-size: 29px;
    margin: 0 0 8px;
}

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

.field { margin-top: 22px; }

.field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 9px;
}

.field input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    background: #fbfdfb;
}

.field input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px #15965f18;
}

.primary-btn {
    width: 100%;
    padding: 15px;
    margin-top: 25px;
    border: 0;
    border-radius: 10px;
    background: var(--primary);
    color: white;
    font-weight: 700;
}

.primary-btn:hover { background: var(--primary-dark); }
.primary-btn:disabled { opacity: .6; }

.error {
    color: #c83345;
    background: #fff0f1;
    padding: 11px;
    border-radius: 8px;
    font-size: 13px;
    margin-top: 15px;
}

.app-layout { min-height: 100vh; }

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 250px;
    background: var(--navy);
    color: white;
    padding: 27px 18px;
    display: flex;
    flex-direction: column;
    z-index: 20;
}

.sidebar .brand-logo { padding: 0 12px 38px; }

.nav-label {
    color: #9bb9a8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 0 12px 12px;
}

.nav-account { margin-top: 25px; }

.nav-link {
    width: 100%;
    border: 0;
    background: transparent;
    color: #c8dfd2;
    padding: 13px 12px;
    border-radius: 9px;
    text-align: left;
    margin-bottom: 5px;
    font-size: 14px;
}

.nav-link.active, .nav-link:hover {
    background: #24543e;
    color: white;
}

.sidebar-bottom {
    margin-top: auto;
    border-top: 1px solid #315844;
    padding-top: 18px;
}

.main-area { margin-left: 250px; }

.topbar {
    height: 76px;
    background: white;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 35px;
}

.topbar-left {
    display: flex;
    align-items: center;
}

.topbar h2 { font-size: 17px; margin: 0; }

.user-chip {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 13px;
    font-weight: 700;
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e3f5eb;
    color: var(--primary-dark);
    display: grid;
    place-items: center;
    font-weight: 800;
}

.content {
    padding: 32px 35px;
    max-width: 1450px;
    margin: auto;
}

.welcome h1 { font-size: 25px; margin: 0 0 7px; }
.welcome p { color: var(--muted); margin: 0; font-size: 14px; }

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 27px 0;
}

.stat-card, .panel {
    background: white;
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 22px;
}

.stat-card small {
    color: var(--muted);
    font-weight: 600;
}

.stat-card strong {
    display: block;
    font-size: 26px;
    margin-top: 13px;
}

.stat-note {
    color: var(--muted);
    font-size: 12px;
    margin-top: 7px;
}

.active-text { color: var(--primary); }

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 34px 0 17px;
}

.section-heading h2 {
    margin: 0 0 5px;
    font-size: 19px;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.service-card {
    min-height: 175px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 21px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform .18s, box-shadow .18s, border-color .18s;
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: #a9ddbf;
    box-shadow: 0 9px 25px #174b3010;
}

.service-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    background: #e9f7ef;
    border-radius: 12px;
    font-size: 23px;
    margin-bottom: 15px;
}

.service-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
}

.service-desc {
    color: var(--muted);
    font-size: 12px;
    margin-top: 6px;
}

.service-arrow {
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    margin-top: 16px;
}

.admin-notice {
    margin-top: 25px;
    padding: 19px 21px;
    background: #eaf7ef;
    border: 1px solid #d5eddf;
    border-radius: 12px;
}

.admin-notice strong { color: #126b42; }
.admin-notice p {
    color: #527361;
    font-size: 13px;
    margin-bottom: 0;
}

.history-panel { margin-top: 30px; }

.panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 17px;
}

.panel-heading h3 { margin: 0; font-size: 17px; }
.panel-heading p { margin: 5px 0 0; font-size: 12px; }

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

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
    text-align: left;
}

th {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 12px 10px;
    background: #f8fbf9;
}

td {
    padding: 15px 10px;
    border-bottom: 1px solid #f0f4f1;
    font-size: 13px;
}

.amount { font-weight: 700; }
.credit { color: #15966b; }
.debit { color: #d34d5d; }

.status {
    display: inline-block;
    border-radius: 20px;
    padding: 5px 9px;
    background: #eef2f8;
    font-size: 11px;
    font-weight: 700;
}

.status.successful, .status.posted {
    color: #13855f;
    background: #e7f7ef;
}

.status.failed, .status.rejected, .status.reversed {
    color: #c23f50;
    background: #fff0f1;
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 12px;
}

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

.secondary-btn, .back-btn {
    border: 1px solid var(--border);
    background: white;
    padding: 9px 13px;
    border-radius: 8px;
    color: var(--text);
}

.secondary-btn:disabled { opacity: .4; cursor: not-allowed; }

.empty {
    padding: 35px;
    text-align: center;
    color: var(--muted);
}

.category-view { margin-top: 25px; }
.category-view[hidden], .service-grid[hidden] { display: none; }

.back-btn { margin-bottom: 22px; }
.back-btn:hover { border-color: var(--primary); color: var(--primary-dark); }

.category-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.category-heading .service-icon { margin: 0; flex-shrink: 0; }
.category-heading h2 { margin: 0 0 5px; font-size: 21px; }
.category-heading p { margin: 0; color: var(--muted); font-size: 13px; }

.coming-soon {
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    text-align: center;
    padding: 45px 20px;
}

.coming-icon { font-size: 32px; }
.coming-soon h3 { margin: 12px 0 7px; }
.coming-soon p {
    color: var(--muted);
    font-size: 13px;
    max-width: 470px;
    margin: auto;
    line-height: 1.7;
}

.mobile-menu { display: none; }

@media (max-width: 800px) {
    .login-page { grid-template-columns: 1fr; }
    .login-brand { display: none; }
    .login-area { min-height: 100vh; padding: 24px; }

    .sidebar {
        transform: translateX(-100%);
        transition: transform .2s;
        box-shadow: 10px 0 30px #0002;
    }

    .sidebar.open { transform: translateX(0); }
    .main-area { margin-left: 0; }
    .topbar { padding: 0 17px; height: 66px; }
    .content { padding: 25px 16px; }
    .stats { grid-template-columns: 1fr; gap: 12px; }
    .stat-card { padding: 17px; }
    .stat-card strong { font-size: 23px; }
    .mobile-menu {
        display: inline-block;
        border: 0;
        background: transparent;
        font-size: 22px;
        margin-right: 12px;
        color: var(--text);
    }
}

@media (max-width: 420px) {
    .service-grid { gap: 10px; }
    .service-card { padding: 15px; min-height: 165px; }
    .service-title { font-size: 14px; }
    .service-desc { font-size: 11px; }
    .user-chip { font-size: 11px; gap: 7px; }
    .avatar { width: 33px; height: 33px; }
}

/* Verification service catalogue */
.service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    min-height: 180px;
    padding: 20px;
    background: var(--card, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 16px;
}

.service-item h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.service-item p {
    margin: 0;
    color: var(--muted, #64748b);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.service-status {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.status-disabled {
    display: inline-block;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 20px;
    background: #fff3e0;
    color: #a65b00;
    font-size: 12px;
    font-weight: 700;
}

.service-status small {
    color: var(--muted, #64748b);
    font-size: 12px;
}

.service-action {
    width: 100%;
    padding: 11px 14px;
    border: 0;
    border-radius: 9px;
    background: #e5e7eb;
    color: #6b7280;
    font-weight: 600;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .service-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-item {
        min-height: 150px;
        padding: 16px;
    }
}

/* Premium NIN verification form design */
#ninForm {
    max-width: 760px;
    margin: 24px auto;
    padding: 26px;
    background: #ffffff;
    border: 1px solid #e3ebe6;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(20, 65, 43, 0.06);
}

#ninForm label {
    display: block;
    margin: 20px 0 9px;
    color: #233d32;
    font-size: 15px;
    font-weight: 700;
}

#ninForm select,
#ninForm input {
    display: block;
    width: 100%;
    min-height: 54px;
    padding: 0 15px;
    border: 1.5px solid #dce6df;
    border-radius: 12px;
    background: #f9fbfa;
    color: #243c32;
    font: inherit;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

#ninForm select:focus,
#ninForm input:focus {
    border-color: #168044;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(22, 128, 68, .10);
}

#ninForm input::placeholder {
    color: #9aa9a0;
}

#ninForm #ninFormNotice {
    margin: 22px 0 15px;
    padding: 14px;
    border-radius: 12px;
    background: #f1f7f3;
    color: #527362;
    font-size: 14px;
    line-height: 1.6;
}

#ninForm .service-action {
    min-height: 54px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
}

#ninForm .service-action:disabled {
    background: #e9edeb;
    color: #77847c;
    opacity: 1;
}

#ninForm #ninDemographicGroup {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #edf1ee;
}

#ninForm #ninDemographicGroup[hidden] {
    display: none;
}

@media (max-width: 600px) {
    #ninForm {
        margin: 18px 0;
        padding: 20px 17px;
        border-radius: 18px;
    }

    #ninForm label {
        font-size: 14px;
        margin-top: 17px;
    }

    #ninForm select,
    #ninForm input {
        min-height: 52px;
        font-size: 15px;
    }
}


/* Compact virtual account details inside wallet card */
.virtual-account-details {
    margin-top: 16px;
    padding-top: 11px;
    border-top: 1px solid rgba(255,255,255,.25);
    display: grid;
    gap: 9px;
}
.va-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
}
.va-row > span { opacity: .78; flex-shrink: 0; }
.va-row strong {
    display: inline !important;
    margin: 0 !important;
    font-size: 11px !important;
    font-weight: 700;
    text-align: right;
    overflow-wrap: anywhere;
}
.va-account-number {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}
.va-copy-btn {
    border: 1px solid rgba(255,255,255,.55);
    background: rgba(255,255,255,.15);
    color: inherit;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}
.va-empty, .va-loading { font-size: 11px; opacity: .8; }

@media (max-width: 420px) {
    .virtual-account-details { gap: 8px; }
    .va-row { font-size: 10px; gap: 6px; }
    .va-row strong { font-size: 10px !important; }
}

/* =====================================
   VERIFYPLATFORM - PROFESSIONAL FINTECH
===================================== */

.content {
    padding: 32px 35px;
}

.welcome {
    margin-bottom: 28px;
}

.welcome h1 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: #153b2b;
}

.welcome p {
    font-size: 14px;
    color: #718279;
}

/* Dashboard statistic cards */
.stats {
    gap: 18px;
    margin: 28px 0 38px;
}

.stat-card {
    border: 1px solid #e6eee9;
    border-radius: 19px;
    padding: 25px;
    box-shadow: 0 5px 18px rgba(20, 55, 38, .035);
    transition: transform .2s ease, box-shadow .2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(20, 55, 38, .08);
}

.stat-card small {
    font-size: 13px;
    letter-spacing: .2px;
}

/* Main wallet card */
.stats > .stat-card:first-child {
    background: linear-gradient(135deg, #087b4b 0%, #075c39 55%, #06452e 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 12px 28px rgba(5, 100, 59, .19);
    position: relative;
    overflow: hidden;
}

.stats > .stat-card:first-child::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 50%;
    right: -75px;
    top: -95px;
    pointer-events: none;
}

.stats > .stat-card:first-child small,
.stats > .stat-card:first-child .stat-note {
    color: rgba(255,255,255,.78);
}

.stats > .stat-card:first-child > strong {
    color: #ffffff;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-top: 16px;
}

.stats > .stat-card:first-child .virtual-account-details {
    border-top: 1px solid rgba(255,255,255,.22);
    position: relative;
    z-index: 1;
}

.stats > .stat-card:first-child .va-row {
    color: rgba(255,255,255,.82);
}

.stats > .stat-card:first-child .va-row strong {
    color: #ffffff;
}

.stats > .stat-card:first-child .va-copy-btn {
    background: #ffffff;
    color: #08633e;
    border: none;
    padding: 6px 11px;
    border-radius: 7px;
    font-weight: 800;
}

.stats > .stat-card:first-child .va-copy-btn:hover {
    background: #e7f5ed;
}

.stats > .stat-card:first-child .va-empty,
.stats > .stat-card:first-child .va-loading {
    color: #ffffff;
}

/* Other statistic cards */
.stats > .stat-card:not(:first-child) {
    background: #ffffff;
}

.stats > .stat-card:not(:first-child) strong {
    color: #183c2d;
    font-size: 29px;
    font-weight: 800;
}

.stats > .stat-card:not(:first-child) .active-text {
    color: #15945d;
}

/* Section headings */
.section-heading {
    margin-top: 38px;
    margin-bottom: 20px;
}

.section-heading h2 {
    color: #183c2d;
    font-size: 21px;
    font-weight: 800;
}

.section-heading p {
    color: #829087;
}

/* Service cards */
.service-card {
    border: 1px solid #e4ece7;
    border-radius: 17px;
    background: #ffffff;
    box-shadow: 0 5px 16px rgba(20, 55, 38, .035);
    transition: all .2s ease;
}

.service-card:hover {
    border-color: #15945d;
    box-shadow: 0 12px 25px rgba(20, 100, 60, .09);
    transform: translateY(-3px);
}

.service-icon {
    border-radius: 13px;
}

/* Top navigation */
.topbar {
    border-bottom: 1px solid #e8eee9;
    box-shadow: 0 2px 10px rgba(20, 55, 38, .025);
}

.avatar {
    background: #e5f5eb;
    color: #087b4b;
}

/* Mobile refinement */
@media (max-width: 768px) {
    .content {
        padding: 25px 16px;
    }

    .welcome h1 {
        font-size: 25px;
    }

    .stats {
        gap: 13px;
        margin: 24px 0 32px;
    }

    .stat-card {
        padding: 21px;
        border-radius: 17px;
    }

    .stats > .stat-card:first-child > strong {
        font-size: 31px;
    }

    .section-heading h2 {
        font-size: 19px;
    }
}



/* Compact account information inside wallet */
.wallet-mini-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.22);
}

.wallet-mini-item {
    display: flex;
    align-items: center;
    gap: 9px;
}

.wallet-mini-item small {
    display: block;
    color: rgba(255,255,255,.72) !important;
    font-size: 10px;
    margin-bottom: 4px;
}

.wallet-mini-item strong {
    display: block;
    color: #ffffff !important;
    font-size: 14px !important;
    margin: 0 !important;
}

.wallet-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #65e6a1;
    box-shadow: 0 0 0 4px rgba(101,230,161,.15);
}

@media (max-width: 420px) {
    .wallet-mini-stats {
        gap: 24px;
    }
}


/* Professional mobile sidebar drawer */
.sidebar-overlay {
    display: none;
}

@media (max-width: 800px) {
    .sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(82vw, 320px);
        max-width: 320px;
        height: 100dvh;
        overflow-y: auto;
        z-index: 1002;
        transform: translateX(-105%);
        transition: transform .28s cubic-bezier(.22,.61,.36,1);
        box-shadow: 12px 0 35px rgba(0,0,0,.16);
        padding-bottom: 25px;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(8, 25, 17, .52);
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .25s ease, visibility .25s ease;
    }

    .sidebar-overlay.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.sidebar-menu-open {
        overflow: hidden;
    }

    .topbar {
        position: relative;
        z-index: 10;
    }

    .mobile-menu {
        cursor: pointer;
        position: relative;
        z-index: 1003;
        border-radius: 9px;
        padding: 7px 10px;
    }
}

/* ===== BVN SERVICES - MODERN FINTECH DESIGN ===== */

#bvnForm {
    background: #ffffff;
    border: 1px solid #e5eee9;
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 12px 35px rgba(20, 70, 48, 0.07);
    max-width: 760px;
    margin-top: 24px;
}

#bvnForm label {
    display: block;
    color: #243b32;
    font-size: 14px;
    font-weight: 700;
    margin: 20px 0 9px;
}

#bvnForm select,
#bvnForm input {
    display: block;
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid #dce8e1;
    border-radius: 12px;
    background-color: #f9fcfa;
    color: #193b2d;
    font-size: 16px;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
    box-sizing: border-box;
}

#bvnForm select {
    cursor: pointer;
}

#bvnForm input::placeholder {
    color: #9aa9a1;
}

#bvnForm select:focus,
#bvnForm input:focus {
    border-color: #15945c;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(21, 148, 92, 0.11);
}

#bvnForm .bvn-price-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 22px 0;
    padding: 19px 20px;
    border: 1px solid #d9eee2;
    border-radius: 16px;
    background: linear-gradient(120deg, #effaf3, #f8fcf9);
}

#bvnForm .bvn-price-line span {
    color: #52675c;
    font-size: 14px;
    font-weight: 600;
}

#bvnForm #bvnServicePrice {
    color: #087b49;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

#bvnForm #bvnNumber {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

#bvnForm #bvnFormNotice {
    margin: 20px 0;
    padding: 13px 15px;
    border-radius: 11px;
    background: #f2f7f4;
    border: 1px solid #e3ece6;
    color: #687a70;
    font-size: 13px;
    line-height: 1.6;
}

#bvnForm .service-action {
    width: 100%;
    min-height: 55px;
    border: 0;
    border-radius: 13px;
    font-size: 15px;
    font-weight: 750;
    transition: .2s ease;
}

#bvnForm .service-action:disabled {
    background: #e8ece9;
    color: #7d8982;
    cursor: not-allowed;
    opacity: 1;
}

@media (max-width: 600px) {
    #bvnForm {
        padding: 20px 17px;
        border-radius: 19px;
        margin-top: 18px;
    }

    #bvnForm label {
        font-size: 13px;
    }

    #bvnForm select,
    #bvnForm input {
        min-height: 52px;
        font-size: 15px;
    }

    #bvnForm .bvn-price-line {
        padding: 16px;
    }

    #bvnForm #bvnServicePrice {
        font-size: 21px;
    }
}


/* ===== IPE PREMIUM MOBILE UI ===== */

#ipeForm {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 24px;
    border: 1px solid #e3eee8;
    border-radius: 22px;
    box-shadow: 0 8px 28px rgba(22, 75, 52, .055);
}

#ipeForm label {
    display: block;
    width: 100%;
    font-size: 14px;
    font-weight: 700;
    color: #244b3b;
    margin-bottom: -5px;
}

#ipeForm input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 56px;
    box-sizing: border-box;
    padding: 0 16px;
    border: 1.5px solid #dce9e1;
    border-radius: 13px;
    background: #fbfdfb;
    color: #183b2d;
    font-size: 16px;
    outline: none;
    transition: .2s ease;
}

#ipeForm input:focus {
    border-color: #16845c;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(22, 132, 92, .10);
}

#ipeForm input::placeholder {
    color: #9aa9a0;
    font-size: 14px;
}

#ipeForm .bvn-price-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px;
    margin: 3px 0;
    border-radius: 14px;
    background: #eff8f2;
    color: #315c47;
    font-size: 14px;
}

#ipeForm .bvn-price-line strong {
    color: #08784e;
    font-size: 21px;
    white-space: nowrap;
}

#ipeForm .error {
    margin: 0;
    padding: 15px;
    border: 1px solid #f7d8d8;
    border-radius: 13px;
    background: #fff5f4;
    color: #a94343;
    font-size: 13px;
    line-height: 1.65;
}

#ipeForm #ipeNotice {
    margin: 2px 0;
    padding: 12px 14px;
    border-radius: 11px;
    background: #f4f7f5;
    font-size: 13px;
    line-height: 1.5;
}

#ipeForm .service-action {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 13px;
    background: #16845c;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

#ipeForm .service-action:disabled {
    background: #e8ece9;
    color: #77847c;
    cursor: not-allowed;
}

#ipeHistoryList {
    display: grid;
    gap: 13px;
    margin-top: 16px;
}

#ipeHistoryList .bvn-history-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border: 1px solid #e3eee8;
    border-radius: 16px;
    background: #fbfdfb;
}

#ipeHistoryList .bvn-history-item p {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

#ipeHistoryList .ipe-check-btn,
#refreshIpeHistory {
    min-height: 42px;
    padding: 10px 17px;
    border: 1px solid #cfe4d7;
    border-radius: 11px;
    background: #eaf6ee;
    color: #08784e;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

#ipeHistoryList .ipe-check-btn:disabled {
    opacity: .6;
    cursor: wait;
}

#refreshIpeHistory {
    background: #16845c;
    border-color: #16845c;
    color: #fff;
}

@media (max-width: 600px) {
    #ipeForm {
        padding: 19px;
        gap: 12px;
    }

    #ipeForm .bvn-price-line {
        padding: 14px;
    }

    #ipeForm .bvn-price-line strong {
        font-size: 19px;
    }

    #ipeHistoryList .bvn-history-item {
        padding: 15px;
    }

    #ipeHistoryList .ipe-check-btn {
        width: 100%;
    }
}



/* ===== NIN VALIDATION RESPONSIVE PREMIUM UI ===== */

#ninValidationForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px;
    margin-top: 20px;
    border: 1px solid #e1ebe5;
    border-radius: 22px;
    box-shadow: 0 8px 28px rgba(22, 75, 52, .06);
    background: #fff;
}

#ninValidationForm label {
    display: block;
    margin: 8px 0 0;
    color: #294b3b;
    font-size: 14px;
    font-weight: 700;
}

#ninValidationForm select,
#ninValidationForm input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 13px 15px;
    border: 1px solid #d8e5dd;
    border-radius: 12px;
    outline: none;
    background: #fbfdfb;
    color: #203d30;
    font-size: 16px;
}

#ninValidationForm select:focus,
#ninValidationForm input:focus {
    border-color: #239765;
    box-shadow: 0 0 0 3px rgba(35, 151, 101, .11);
    background: #fff;
}

#ninValidationForm input::placeholder {
    color: #9aa9a0;
}

#ninValidationForm .bvn-price-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    padding: 17px 18px;
    margin: 5px 0;
    border: 1px solid #e0eee5;
    border-radius: 14px;
    background: #f5faf6;
    color: #486455;
    font-size: 14px;
}

#ninValidationForm .bvn-price-line strong {
    color: #137b4d;
    font-size: 21px;
    font-weight: 800;
}

#ninValidationForm #ninValidationTotal {
    font-size: 23px;
}

#ninValidationForm #ninValidationNotice {
    box-sizing: border-box;
    width: 100%;
    padding: 13px 15px;
    margin: 4px 0;
    border: 1px solid #e3ece6;
    border-radius: 12px;
    background: #f2f7f4;
    color: #687a70;
    font-size: 13px;
    line-height: 1.6;
}

#ninValidationForm .service-action {
    width: 100%;
    min-height: 55px;
    margin-top: 5px;
    border: 0;
    border-radius: 13px;
    font-size: 15px;
    font-weight: 750;
}

#ninValidationForm .service-action:disabled {
    background: #e8ece9;
    color: #7d8982;
    cursor: not-allowed;
    opacity: 1;
}

#ninValidationHistory {
    box-sizing: border-box;
    width: 100%;
    margin-top: 20px;
    padding: 24px;
    border: 1px solid #e1ebe5;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(22, 75, 52, .045);
}

#ninValidationHistory h3 {
    margin: 0 0 12px;
    color: #234a38;
    font-size: 19px;
}

#ninValidationHistory p {
    margin: 0;
    color: #84948b;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 600px) {
    #ninValidationForm {
        gap: 11px;
        padding: 20px 17px;
        margin-top: 17px;
        border-radius: 19px;
    }

    #ninValidationForm label {
        margin-top: 7px;
        font-size: 13px;
    }

    #ninValidationForm select,
    #ninValidationForm input {
        min-height: 53px;
        padding: 12px 13px;
        font-size: 15px;
    }

    #ninValidationForm .bvn-price-line {
        padding: 15px;
        font-size: 13px;
    }

    #ninValidationForm .bvn-price-line strong {
        font-size: 20px;
    }

    #ninValidationForm #ninValidationTotal {
        font-size: 22px;
    }

    #ninValidationHistory {
        padding: 20px 17px;
        border-radius: 18px;
    }
}


/* ===== NIN VALIDATION HISTORY PREMIUM UI ===== */

#ninValidationHistory .bvn-history-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

#ninValidationHistory .bvn-history-heading h3 {
    margin: 0;
}

#refreshNinValidationHistory,
#ninValidationHistory .nin-validation-check-btn {
    min-height: 42px;
    padding: 10px 17px;
    border: 1px solid #cfe4d7;
    border-radius: 11px;
    background: #eaf6ee;
    color: #08784e;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

#ninValidationHistoryList {
    display: grid;
    gap: 13px;
    margin-top: 12px;
}

#ninValidationHistoryList .bvn-history-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border: 1px solid #e3eee8;
    border-radius: 16px;
    background: #fbfdfb;
}

#ninValidationHistoryList .bvn-history-item p {
    margin: 8px 0 0;
    color: #607568;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

#ninValidationHistoryList .bvn-history-item strong {
    color: #234a38;
}

#ninValidationHistory button:disabled {
    opacity: .6;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    #ninValidationHistory {
        padding: 20px 17px;
        border-radius: 19px;
    }

    #ninValidationHistoryList .bvn-history-item {
        padding: 15px;
    }

    #ninValidationHistory .nin-validation-check-btn {
        width: 100%;
    }
}



/* SDC GLOBAL SUBMIT BUTTONS */
.service-action {
    width: 100%;
    min-height: 54px;
    padding: 14px 20px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #087f55, #13a875);
    color: #fff;
    font-size: 15px;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(8,127,85,.20);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.service-action:not(:disabled):hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 8px 20px rgba(8,127,85,.28);
}

.service-action:not(:disabled):active {
    transform: scale(.97);
}

.service-action:focus-visible {
    outline: 3px solid rgba(19,168,117,.3);
    outline-offset: 3px;
}

.service-action:disabled {
    background: #dfe9e4;
    color: #74847b;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
}

.service-action.is-loading {
    cursor: wait;
    pointer-events: none;
    opacity: .9;
}

.service-action.is-loading::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    vertical-align: -3px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sdc-submit-spin .7s linear infinite;
}

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


/* Hide duplicate NIN Validation total */
#ninValidationTotal {
    display: none !important;
}
#ninValidationTotal {
    visibility: hidden;
}
