/* =========================================================
   PREMIUM BANKING UI — BLUE / WHITE
   ========================================================= */

:root {
    --blue-950: #071a33;
    --blue-900: #092b57;
    --blue-800: #0b3d78;
    --blue-700: #0d56a6;
    --blue-600: #146bc1;
    --blue-500: #2584dc;

    --white: #ffffff;
    --bg: #f4f8fc;
    --surface: #ffffff;
    --surface-soft: #f7faff;

    --text: #10233d;
    --text-soft: #65758b;
    --text-light: #91a0b2;

    --border: #e2eaf3;
    --danger: #d93645;

    --shadow-sm:
        0 4px 16px rgba(9, 43, 87, .06);

    --shadow-md:
        0 12px 36px rgba(9, 43, 87, .10);

    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family:
        Inter,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: var(--text);

    background:
        radial-gradient(
            circle at top right,
            rgba(37, 132, 220, .08),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #f8fbff 0%,
            var(--bg) 100%
        );

    line-height: 1.5;
}

button,
input,
select {
    font: inherit;
}


/* =========================================================
   APP
   ========================================================= */

.app {
    min-height: 100vh;
    width: 100%;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.app-container {
    width: min(100% - 32px, 780px);

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.app-header {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 16px;
    padding-bottom: 16px;
}


.app-brand {
    display: flex;
    align-items: center;

    gap: 13px;

    min-width: 0;
}


.app-logo {
    width: 50px;
    height: 50px;

    object-fit: contain;

    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 5px 16px rgba(9, 43, 87, .10);
}


.app-brand-text {
    min-width: 0;
}


.app-name {
    color: var(--blue-950);

    font-size: 18px;
    font-weight: 800;

    letter-spacing: -.25px;

    white-space: nowrap;
}


.app-subtitle {
    margin-top: 2px;

    color: var(--text-soft);

    font-size: 11px;

    white-space: nowrap;
}


.header-actions {
    display: flex;
    align-items: center;

    gap: 8px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

button {
    border: 0;
    cursor: pointer;
}


.primary-button {
    width: 100%;
    min-height: 54px;

    margin-top: 25px;

    border-radius: 13px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--blue-700),
            var(--blue-500)
        );

    font-size: 14px;
    font-weight: 750;

    letter-spacing: .05px;

    box-shadow:
        0 9px 22px rgba(13, 86, 166, .18);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}


.primary-button:hover {
    filter: brightness(1.04);

    transform: translateY(-1px);

    box-shadow:
        0 13px 28px rgba(13, 86, 166, .23);
}


.primary-button:active {
    transform: translateY(0);
}


.secondary-button {
    min-height: 48px;

    padding: 0 18px;

    border: 1px solid var(--border);

    border-radius: 12px;

    color: var(--blue-800);

    background: #ffffff;

    font-size: 13px;
    font-weight: 700;

    box-shadow: var(--shadow-sm);

    transition:
        background .18s ease,
        border-color .18s ease;
}


.secondary-button:hover {
    border-color: #c6d8eb;

    background: #f7faff;
}


.full-button {
    width: 100%;
    margin-top: 12px;
}


.support-button {
    min-height: 38px;

    padding: 0 14px;

    border: 1px solid #d7e4f2;

    border-radius: 10px;

    color: var(--blue-800);

    background: #ffffff;

    font-size: 11px;
    font-weight: 700;

    box-shadow: 0 3px 10px rgba(9, 43, 87, .04);
}


.logout-button {
    min-height: 38px;

    padding: 0 13px;

    border: 1px solid #f0d3d7;

    border-radius: 10px;

    color: var(--danger);

    background: #ffffff;

    font-size: 11px;
    font-weight: 700;
}


.logout-button:hover {
    background: #fff7f8;
}


.back-button {
    display: inline-flex;
    align-items: center;

    padding: 0;

    color: var(--text-soft);

    background: transparent;

    font-size: 12px;
    font-weight: 700;
}


.back-button:hover {
    color: var(--blue-700);
}


/* =========================================================
   MAIN CARD
   ========================================================= */

.app-card {
    width: 100%;

    margin-top: 10px;
    margin-bottom: 20px;

    padding: 32px;

    border: 1px solid rgba(218, 228, 239, .9);

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fcfdff 100%
        );

    box-shadow: var(--shadow-md);
}


.page-title {
    margin-top: 20px;

    color: var(--blue-950);

    font-size: 27px;
    line-height: 1.25;

    font-weight: 800;

    letter-spacing: -.45px;
}


.page-description {
    max-width: 650px;

    margin-top: 8px;

    color: var(--text-soft);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   SECTION
   ========================================================= */

.section-title {
    margin-top: 28px;
    margin-bottom: 12px;

    color: var(--blue-950);

    font-size: 14px;
    font-weight: 800;
}


/* =========================================================
   FORM
   ========================================================= */

.form-group {
    margin-top: 21px;
}


.form-label {
    display: block;

    margin-bottom: 8px;

    color: #263a54;

    font-size: 12px;
    font-weight: 750;
}


.form-required {
    color: var(--danger);
}


.form-input {
    width: 100%;
    height: 51px;

    padding: 0 15px;

    border: 1px solid #d9e3ee;

    border-radius: 11px;

    outline: none;

    color: var(--text);

    background: #ffffff;

    font-size: 16px;

    box-shadow:
        inset 0 1px 2px rgba(9, 43, 87, .02);

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}


.form-input::placeholder {
    color: #a1adbb;
}


.form-input:focus {
    border-color: var(--blue-500);

    box-shadow:
        0 0 0 4px rgba(37, 132, 220, .09);
}


select.form-input {
    cursor: pointer;
}


.form-help {
    margin-top: 7px;

    color: var(--text-light);

    font-size: 10px;
}


/* =========================================================
   MONEY
   ========================================================= */

.money-input-wrap {
    position: relative;
}


.money-input-wrap .money-input {
    padding-left: 36px;
}


.currency {
    position: absolute;

    left: 14px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--blue-700);

    font-size: 14px;
    font-weight: 800;

    pointer-events: none;
}


/* =========================================================
   LOAN OPTIONS
   ========================================================= */

.loan-options {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 11px;
}


.loan-option {
    min-height: 82px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 14px;

    border: 1px solid #dce5ef;

    border-radius: 13px;

    text-align: left;

    background: #ffffff;

    box-shadow:
        0 3px 10px rgba(9, 43, 87, .035);

    transition:
        transform .16s ease,
        border-color .16s ease,
        box-shadow .16s ease,
        background .16s ease;
}


.loan-option:hover {
    transform: translateY(-1px);

    border-color: #b7d0e9;

    box-shadow:
        0 8px 18px rgba(9, 43, 87, .07);
}


.loan-option.selected {
    border-color: var(--blue-500);

    background:
        linear-gradient(
            135deg,
            #f2f8ff,
            #ffffff
        );

    box-shadow:
        0 0 0 1px var(--blue-500),
        0 8px 20px rgba(37, 132, 220, .10);
}


.loan-option-label {
    color: var(--text-light);

    font-size: 10px;
}


.loan-option-value {
    margin-top: 4px;

    color: var(--blue-900);

    font-size: 18px;
    font-weight: 800;
}


/* =========================================================
   PROGRESS
   ========================================================= */

.progress-wrap {
    margin-top: 25px;
}


.progress-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 8px;
}


.progress-title {
    color: var(--blue-800);

    font-size: 11px;
    font-weight: 750;
}


.progress-number {
    color: var(--text-light);

    font-size: 10px;
}


.progress-bar {
    width: 100%;
    height: 6px;

    overflow: hidden;

    border-radius: 999px;

    background: #e7eef6;
}


.progress-value {
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--blue-800),
            var(--blue-500)
        );

    transition: width .25s ease;
}


/* =========================================================
   INFO BOX
   ========================================================= */

.info-box {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin-top: 21px;
    padding: 13px 14px;

    border: 1px solid #dce8f4;

    border-radius: 12px;

    color: #65768b;

    background:
        linear-gradient(
            135deg,
            #f4f9ff,
            #fbfdff
        );

    font-size: 11px;
    line-height: 1.6;
}


.info-icon {
    flex: 0 0 23px;

    width: 23px;
    height: 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--blue-700),
            var(--blue-500)
        );

    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   REVIEW
   ========================================================= */

.review-block {
    margin-top: 19px;

    padding: 17px;

    border: 1px solid #e0e8f1;

    border-radius: 14px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fbfdff
        );

    box-shadow:
        0 4px 13px rgba(9, 43, 87, .035);
}


.review-block-title {
    padding-bottom: 11px;

    border-bottom: 1px solid #edf1f5;

    color: var(--blue-900);

    font-size: 13px;
    font-weight: 800;
}


.review-row {
    min-height: 45px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-bottom: 1px solid #eff3f7;
}


.review-row:last-child {
    border-bottom: 0;
}


.review-label {
    color: var(--text-soft);

    font-size: 11px;
}


.review-value {
    color: var(--blue-950);

    font-size: 12px;
    font-weight: 750;

    text-align: right;

    word-break: break-word;
}


/* =========================================================
   SIGNATURE
   ========================================================= */

.signature-section {
    margin-top: 25px;
}


.signature-wrapper {
    width: 100%;
    height: 220px;

    margin-top: 12px;

    overflow: hidden;

    border: 1px solid #d8e3ee;

    border-radius: 13px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fbfdff
        );

    box-shadow:
        inset 0 0 20px rgba(9, 43, 87, .025);
}


.signature-canvas {
    display: block;

    width: 100%;
    height: 100%;

    touch-action: none;

    cursor: crosshair;
}


.signature-actions {
    display: flex;
    justify-content: flex-end;

    margin-top: 10px;
}


.signature-confirm {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    margin-top: 14px;

    color: var(--text-soft);

    font-size: 11px;
    line-height: 1.55;

    cursor: pointer;
}


.signature-confirm input {
    width: 16px;
    height: 16px;

    flex: 0 0 auto;

    margin-top: 1px;

    accent-color: var(--blue-700);

    cursor: pointer;
}


/* =========================================================
   SUCCESS
   ========================================================= */

.success-card {
    text-align: center;

    padding-top: 42px;
    padding-bottom: 38px;
}


.success-icon {
    width: 82px;
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 21px;

    border: 7px solid #edf7f1;

    border-radius: 50%;

    color: #20955a;

    background: #e7f6ed;

    font-size: 32px;
    font-weight: 850;

    box-shadow:
        0 8px 22px rgba(32, 149, 90, .10);
}


.success-card .page-title {
    margin-top: 0;
}


.success-card .page-description {
    margin-left: auto;
    margin-right: auto;
}


.success-card .info-box {
    text-align: left;
}


/* =========================================================
   HOME BANNER
   ========================================================= */

.home-banner {
    position: relative;

    min-height: 215px;

    display: flex;
    align-items: flex-end;

    margin-top: 10px;

    padding: 30px;

    overflow: hidden;

    border-radius: 20px;

    background:
        linear-gradient(
            125deg,
            #071a33 0%,
            #0b3d78 52%,
            #146bc1 100%
        );

    box-shadow:
        0 15px 38px rgba(9, 43, 87, .18);
}


.home-banner::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -90px;
    top: -100px;

    border: 1px solid rgba(255,255,255,.13);

    border-radius: 50%;

    box-shadow:
        0 0 0 35px rgba(255,255,255,.025),
        0 0 0 70px rgba(255,255,255,.018);
}


.home-banner-content {
    position: relative;

    z-index: 2;

    max-width: 530px;

    color: #ffffff;
}


.home-banner h1 {
    font-size: 27px;
    line-height: 1.25;

    font-weight: 800;

    letter-spacing: -.4px;
}


.home-banner p {
    margin-top: 9px;

    color: rgba(255,255,255,.84);

    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   SUPPORT
   ========================================================= */

.support-card {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-top: 17px;
    padding: 15px 16px;

    border: 1px solid #e0e8f1;

    border-radius: 14px;

    background: #ffffff;

    box-shadow: var(--shadow-sm);
}


.support-card-icon {
    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--blue-700),
            var(--blue-500)
        );

    font-size: 15px;
    font-weight: 800;
}


.support-card-content {
    min-width: 0;
}


.support-card-title {
    color: var(--blue-950);

    font-size: 12px;
    font-weight: 800;
}


.support-card-text {
    margin-top: 2px;

    color: var(--text-light);

    font-size: 10px;
}


.telegram-button {
    width: 100%;
    min-height: 48px;

    margin-top: 10px;

    border-radius: 11px;

    color: var(--blue-800);

    background: #edf5ff;

    font-size: 12px;
    font-weight: 750;
}


.telegram-button:hover {
    background: #e3efff;
}


/* =========================================================
   FOOTER
   ========================================================= */

.app-footer {
    padding: 3px 0 28px;

    color: #9aa8b8;

    text-align: center;

    font-size: 10px;
}


/* =========================================================
   TOAST
   ========================================================= */

.app-toast {
    position: fixed;

    left: 50%;
    bottom: 24px;

    z-index: 9999;

    width: max-content;
    max-width: calc(100% - 30px);

    padding: 12px 16px;

    border-radius: 11px;

    color: #ffffff;

    background: #10233d;

    box-shadow:
        0 12px 30px rgba(9, 43, 87, .22);

    font-size: 11px;
    font-weight: 650;

    opacity: 0;
    visibility: hidden;

    transform:
        translate(-50%, 12px);

    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease;
}


.app-toast.show {
    opacity: 1;
    visibility: visible;

    transform:
        translate(-50%, 0);
}


/* =========================================================
   AUTH
   ========================================================= */

.auth-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 16px;

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(37,132,220,.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 85%,
            rgba(9,61,120,.10),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #f8fbff,
            #eef5fc
        );
}


.auth-container {
    width: 100%;
    max-width: 430px;
}


.auth-card {
    width: 100%;

    padding: 35px 30px 26px;

    border: 1px solid rgba(218,228,239,.9);

    border-radius: 21px;

    background:
        rgba(255,255,255,.97);

    box-shadow:
        0 20px 60px rgba(9,43,87,.13);
}


.auth-logo {
    display: block;

    width: 74px;
    height: 74px;

    margin: 0 auto 20px;

    object-fit: contain;

    border-radius: 17px;

    box-shadow:
        0 8px 22px rgba(9,43,87,.10);
}


.auth-title {
    color: var(--blue-950);

    text-align: center;

    font-size: 25px;
    line-height: 1.25;

    font-weight: 820;

    letter-spacing: -.4px;
}


.auth-subtitle {
    margin-top: 8px;
    margin-bottom: 25px;

    color: var(--text-soft);

    text-align: center;

    font-size: 12px;
}


.auth-switch {
    margin-top: 20px;

    color: var(--text-soft);

    text-align: center;

    font-size: 11px;
}


.auth-switch button {
    color: var(--blue-700);

    background: transparent;

    font-size: inherit;
    font-weight: 800;
}


.auth-switch button:hover {
    text-decoration: underline;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .app-container {
        width: calc(100% - 20px);
    }


    .app-header {
        min-height: 70px;

        padding-top: 11px;
        padding-bottom: 11px;
    }


    .app-logo {
        width: 43px;
        height: 43px;

        border-radius: 12px;
    }


    .app-name {
        font-size: 15px;
    }


    .app-subtitle {
        font-size: 9px;
    }


    .support-button,
    .logout-button {
        min-height: 34px;

        padding: 0 9px;

        font-size: 9px;
    }


    .app-card {
        margin-top: 7px;

        padding: 23px 17px;

        border-radius: 16px;
    }


    .page-title {
        font-size: 23px;
    }


    .page-description {
        font-size: 12px;
    }


    .home-banner {
        min-height: 180px;

        padding: 23px;

        border-radius: 16px;
    }


    .home-banner h1 {
        font-size: 22px;
    }


    .loan-options {
        gap: 8px;
    }


    .loan-option {
        min-height: 74px;

        padding: 11px;
    }


    .loan-option-value {
        font-size: 16px;
    }


    .review-block {
        padding: 13px;
    }


    .review-row {
        min-height: 45px;

        gap: 12px;
    }


    .review-value {
        max-width: 58%;
    }


    .signature-wrapper {
        height: 190px;
    }


    .success-card {
        padding-top: 35px;
    }


    .auth-card {
        padding: 29px 20px 23px;

        border-radius: 18px;
    }


    .auth-title {
        font-size: 23px;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .app-container {
        width: calc(100% - 16px);
    }


    .app-brand-text {
        display: none;
    }


    .header-actions {
        margin-left: auto;
    }


    .app-card {
        padding: 20px 14px;
    }


    .loan-options {
        grid-template-columns: 1fr;
    }


    .home-banner {
        min-height: 160px;
    }

}
/* =========================================================
   NEW GLASS BACKGROUND + CUSTOMER BOTTOM NAV
   ========================================================= */
body:not(.admin-page) { background: #eef5fc; }
body:not(.admin-page)::before{content:"";position:fixed;inset:0;z-index:-3;background-image:url('app-bg-new.png');background-size:cover;background-position:center;filter:blur(2px);transform:scale(1.03);opacity:.72}
body:not(.admin-page)::after{content:"";position:fixed;inset:0;z-index:-2;background:linear-gradient(135deg,rgba(255,255,255,.66),rgba(220,236,252,.50));backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.app-card,.wallet-hero,.support-card,.quick-card,.review-block,.withdraw-card{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.78)!important;border-color:rgba(255,255,255,.72)!important}
.home-banner{background:linear-gradient(125deg,rgba(7,26,51,.92),rgba(11,61,120,.86),rgba(20,107,193,.80))!important}
.bottom-nav{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);z-index:900;width:min(calc(100% - 24px),620px);display:grid;grid-template-columns:repeat(3,1fr);padding:8px;border:1px solid rgba(255,255,255,.75);border-radius:22px;background:rgba(255,255,255,.80);box-shadow:0 15px 40px rgba(9,43,87,.16);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
.bottom-nav-item{min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:16px;color:#718198;text-decoration:none;font-size:10px;font-weight:800;transition:.18s ease}.bottom-nav-item:hover{background:rgba(237,245,255,.85);color:#0d56a6}.bottom-nav-item.active{color:#0d56a6;background:rgba(232,243,255,.95);box-shadow:inset 0 0 0 1px rgba(37,132,220,.08)}.bottom-nav-icon{font-size:18px;line-height:1}
body:not(.admin-page) main{padding-bottom:105px}.wallet-hero{margin-top:10px;padding:30px;border-radius:22px;box-shadow:0 18px 45px rgba(9,43,87,.14)}.wallet-label{font-size:10px;letter-spacing:.9px;font-weight:800;color:#718198}.wallet-balance{margin-top:8px;font-size:38px;line-height:1.1;font-weight:850;color:#092b57}.wallet-sub{margin-top:8px;font-size:11px;color:#718198}.withdraw-row{display:grid;grid-template-columns:1fr 140px;gap:10px;align-items:center}.withdraw-button{margin-top:0!important}.quick-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:14px}.quick-card{padding:17px;border-radius:15px;text-decoration:none;color:#10233d;box-shadow:var(--shadow-sm)}.quick-card strong{display:block;font-size:12px}.quick-card span{display:block;margin-top:4px;font-size:10px;color:#91a0b2}.transaction-list{margin-top:18px}.transaction-row{display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid rgba(226,234,243,.8)}.transaction-row:last-child{border-bottom:0}.transaction-icon{width:40px;height:40px;border-radius:13px;display:flex;align-items:center;justify-content:center;font-size:21px;font-weight:800}.transaction-icon.in{background:#eaf8ef;color:#15945a}.transaction-icon.out{background:#fff0f2;color:#d93645}.transaction-main{min-width:0}.transaction-main strong{display:block;font-size:12px;color:#10233d}.transaction-main span{display:block;margin-top:3px;font-size:9px;color:#91a0b2}.transaction-amount{font-size:12px;font-weight:850;white-space:nowrap}.transaction-amount.in{color:#15945a}.transaction-amount.out{color:#d93645}.empty-state{text-align:center;padding:35px 10px;color:#91a0b2;font-size:11px}.logout-link-button{display:flex;align-items:center;justify-content:center;min-height:50px;margin-top:24px;border-radius:12px;background:#fff1f3;color:#d93645;text-decoration:none;font-size:12px;font-weight:800}
@media(max-width:600px){.bottom-nav{bottom:8px;width:calc(100% - 16px)}.wallet-balance{font-size:31px}.withdraw-row{grid-template-columns:1fr}.withdraw-button{width:100%}.quick-grid{grid-template-columns:1fr}.transaction-row{grid-template-columns:38px 1fr}.transaction-amount{grid-column:2;text-align:left;margin-top:-7px}.transaction-icon{width:36px;height:36px}.app-card{margin-bottom:0}}

/* ===== V4 polish ===== */
body:not(.admin-page){overflow-x:hidden}
body:not(.admin-page) main{padding-bottom:118px}
.support-button{cursor:pointer;text-decoration:none}
.help-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:15px 17px;border-radius:16px;background:rgba(255,255,255,.78);border:1px solid rgba(255,255,255,.8);box-shadow:var(--shadow-sm);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.help-card strong{display:block;font-size:12px;color:#10233d}.help-card span{display:block;margin-top:4px;font-size:10px;color:#718198}
.help-button{border:0;border-radius:11px;padding:10px 14px;background:#eaf3ff;color:#0d56a6;font-size:11px;font-weight:800;cursor:pointer;white-space:nowrap}
.customer-section{margin-top:24px;padding-top:4px}.customer-section-title{font-size:16px;font-weight:850;color:#10233d;margin-bottom:5px}.customer-section-sub{font-size:10px;color:#718198;margin-bottom:13px;line-height:1.5}
.id-upload-list{display:grid;gap:12px}.id-upload-card{position:relative;display:grid;grid-template-columns:1fr 112px;gap:14px;align-items:center;padding:15px;border:1px solid #dbe7f3;border-radius:17px;background:rgba(255,255,255,.7);cursor:pointer}.id-upload-card:hover{border-color:#9ec7ee}.id-upload-copy strong{display:block;font-size:12px;color:#10233d}.id-upload-copy span{display:block;margin-top:7px;font-size:10px;line-height:1.55;color:#718198}.id-upload-action{min-height:86px;border:1.5px dashed #c5ddf7;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#0d56a6;background:#f6fbff;font-size:11px;font-weight:800}.id-upload-action .plus{font-size:25px;line-height:1;margin-bottom:4px}.id-upload-card.has-image{grid-template-columns:1fr 150px;padding:9px}.id-upload-card.has-image .id-upload-action{min-height:96px;padding:4px;border-style:solid}.id-preview{width:100%;height:96px;object-fit:cover;border-radius:9px}.id-remove{position:absolute;right:8px;top:8px;width:26px;height:26px;border:0;border-radius:50%;background:rgba(16,35,61,.86);color:#fff;font-weight:800;cursor:pointer}.id-upload-input{display:none}.id-required{color:#d93645}.customer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.customer-grid .full{grid-column:1/-1}.locked-note{margin:14px 0 0}.profile-photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.profile-photo-grid img{width:100%;height:105px;object-fit:cover;border-radius:12px;border:1px solid #dbe7f3}
@media(max-width:600px){.customer-grid{grid-template-columns:1fr}.customer-grid .full{grid-column:auto}.id-upload-card,.id-upload-card.has-image{grid-template-columns:1fr 100px}.id-preview{height:88px}.profile-photo-grid{grid-template-columns:1fr 1fr}.profile-photo-grid img:last-child{grid-column:1/-1;height:150px}}


/* =========================================================
   V5 SUCCESS SCREEN — glass building backdrop
   ========================================================= */
.success-page .app { position:relative; min-height:100vh; }
.success-page .success-header { min-height:82px; }
.brand-mark{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:14px;color:#fff;background:linear-gradient(145deg,#0a3c73,#1681d7);font-size:13px;font-weight:900;letter-spacing:.5px;box-shadow:0 8px 22px rgba(9,43,87,.16);}
.success-main{padding-top:8px;}
.success-card-v5{max-width:780px;margin:0 auto;text-align:center;padding:54px 34px 30px;border-radius:24px;background:rgba(255,255,255,.84)!important;border:1px solid rgba(255,255,255,.84)!important;box-shadow:0 24px 70px rgba(9,43,87,.16);}
.success-icon-v5{width:94px;height:94px;margin:0 auto 24px;border:8px solid rgba(232,248,239,.95);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#1d9a5d;background:#e9f8ef;font-size:48px;font-weight:900;box-shadow:0 10px 28px rgba(32,149,90,.13);}
.success-card-v5 .page-title{margin-top:0;font-size:38px;letter-spacing:-.8px;}
.success-lead{margin-top:10px;font-size:16px;max-width:620px;}
.success-info-v5{display:grid;grid-template-columns:48px 1fr;gap:14px;align-items:start;margin-top:28px;text-align:left;padding:20px;border-radius:18px;background:rgba(244,249,255,.78);border:1px solid rgba(194,219,245,.8);box-shadow:none;}
.success-info-v5 .info-icon{width:42px;height:42px;margin:0;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#1674c9;color:#fff;font-size:22px;font-weight:900;}
.success-info-v5 strong{display:block;font-size:14px;color:#12345c;margin-bottom:6px;}
.success-info-v5 span{display:block;color:#61748d;font-size:12px;line-height:1.7;}
.success-contact-button{display:flex;align-items:center;gap:14px;justify-content:flex-start;text-align:left;min-height:72px;margin-top:30px;padding:10px 18px;border-radius:17px;}
.success-contact-button .lotus-mark{width:46px;height:46px;flex:0 0 46px;border:2px solid rgba(255,255,255,.85);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:21px;transform:rotate(-8deg);}
.success-contact-button span:nth-child(2){min-width:0;flex:1;}
.success-contact-button b{display:block;font-size:15px;}
.success-contact-button small{display:block;margin-top:3px;font-size:11px;font-weight:500;opacity:.9;}
.success-contact-button .contact-arrow{font-size:32px;font-weight:300;line-height:1;}
.success-home-button{min-height:58px;margin-top:14px;border-radius:16px;font-size:14px;}
.privacy-line{margin-top:23px;color:#73859b;font-size:11px;}
.success-page .app-footer{padding-bottom:22px;}
@media(max-width:600px){
  .success-page .success-header{min-height:76px;align-items:flex-start;padding-top:10px;}
  .success-page .app-brand{display:none;}
  .success-page .header-actions{margin-left:auto;}
  .success-contact-top{font-size:10px!important;padding:0 10px!important;}
  .success-card-v5{padding:38px 18px 24px;border-radius:21px;}
  .success-icon-v5{width:82px;height:82px;font-size:40px;margin-bottom:20px;}
  .success-card-v5 .page-title{font-size:30px;}
  .success-lead{font-size:13px;}
  .success-info-v5{grid-template-columns:40px 1fr;padding:16px;gap:11px;margin-top:22px;}
  .success-info-v5 .info-icon{width:36px;height:36px;font-size:18px;}
  .success-info-v5 span{font-size:11px;}
  .success-contact-button{min-height:68px;margin-top:22px;padding:9px 14px;gap:10px;}
  .success-contact-button .lotus-mark{width:40px;height:40px;flex-basis:40px;font-size:18px;}
  .success-contact-button b{font-size:13px;}
  .success-contact-button small{font-size:9px;}
  .success-contact-button .contact-arrow{font-size:27px;}
}

/* =========================================================
   V6 BUILDING BACKDROP + REVIEW
   ========================================================= */
body:not(.admin-page)::before{background-image:url('app-bg-new.png');background-size:cover;background-position:center;filter:blur(3px);transform:scale(1.05);opacity:.86}
body:not(.admin-page)::after{background:linear-gradient(135deg,rgba(248,252,255,.60),rgba(211,229,246,.50));backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.brand-mark{flex:0 0 46px}
.review-block{margin-top:14px;padding:18px;border-radius:18px}
.review-block-title{font-size:14px;font-weight:850;color:#0c2f59;padding-bottom:11px;border-bottom:1px solid rgba(218,229,240,.85)}
.review-row{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid rgba(226,234,243,.72)}
.review-row:last-child{border-bottom:0;padding-bottom:2px}
.review-label{color:#718198;font-size:11px}.review-value{color:#10233d;font-size:11px;font-weight:800;text-align:right;max-width:62%;word-break:break-word}
.signature-section{margin-top:18px;padding:18px;border-radius:18px;background:rgba(255,255,255,.76);border:1px solid rgba(218,229,240,.85)}
.signature-wrapper{margin-top:12px;height:190px;border:1px solid #cbdceb;border-radius:14px;background:#fff;overflow:hidden;box-shadow:inset 0 1px 4px rgba(9,43,87,.04)}
.signature-canvas{width:100%;height:100%;display:block;touch-action:none;cursor:crosshair}
.signature-actions{display:flex;justify-content:flex-end;margin-top:9px}.signature-confirm{display:flex;gap:9px;align-items:flex-start;margin-top:14px;color:#53677f;font-size:11px;line-height:1.55}.signature-confirm input{margin-top:2px;accent-color:#0d56a6}
.photo-review{position:relative;border-radius:14px;overflow:hidden;border:1px solid #d6e3ef;background:#fff}.photo-review img{display:block;width:100%;height:145px;object-fit:cover}.photo-review span{display:block;padding:9px 10px;font-size:10px;font-weight:800;color:#17385f}
.profile-photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}
.id-upload-card.has-image{background:#fff}
.id-upload-card.has-image .id-upload-action{position:relative}.id-upload-card.has-image .id-remove{z-index:2}
.success-contact-button{box-shadow:0 14px 32px rgba(13,86,166,.24);transform:translateY(0);transition:transform .15s ease,box-shadow .15s ease}.success-contact-button:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(13,86,166,.28)}
@media(max-width:600px){.profile-photo-grid{grid-template-columns:1fr 1fr}.photo-review img{height:125px}.review-row{align-items:flex-start}.review-value{max-width:58%}.signature-wrapper{height:170px}}

/* =========================================================
   ABA CASH — FINAL VISUAL LAYER
   Premium glass banking look. No image asset required.
   ========================================================= */
:root{
  --aba-navy:#071f3b;
  --aba-blue:#075fb7;
  --aba-sky:#1b8fe5;
  --aba-ink:#0b2340;
  --aba-muted:#6e829b;
  --aba-glass:rgba(255,255,255,.72);
  --aba-glass-strong:rgba(255,255,255,.84);
}

html,body{min-height:100%;}
body:not(.admin-page){
  position:relative;
  isolation:isolate;
  background:#dcecf8 !important;
  color:var(--aba-ink);
}
body:not(.admin-page)::before{
  content:"";
  position:fixed;
  inset:-6%;
  z-index:-2;
  background-image:url('app-bg-new.png');
  background-size:cover;
  background-position:center;
  filter:blur(1.5px) saturate(.96);
  transform:scale(1.04);
  opacity:.95;
}
body:not(.admin-page)::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 15% 8%,rgba(255,255,255,.82),transparent 30%),
    linear-gradient(135deg,rgba(241,249,255,.68),rgba(174,207,232,.42));
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}

.app-container{width:min(calc(100% - 28px),820px);}
.app-header{min-height:86px;padding-top:14px;padding-bottom:14px;position:relative;z-index:2;}
.app-brand{gap:12px;}
.brand-mark{
  width:50px;height:50px;border-radius:16px;
  background:linear-gradient(145deg,#062c58,#168be4);
  box-shadow:0 10px 26px rgba(5,63,120,.25),inset 0 1px 0 rgba(255,255,255,.3);
  color:#fff;font-size:13px;font-weight:950;letter-spacing:.6px;
}
.app-name{font-size:19px;font-weight:950;letter-spacing:-.5px;color:#071e39;}
.app-subtitle{font-size:11px;color:#68809b;}
.header-actions{gap:8px;}
.support-button,.logout-button{
  min-height:42px;padding:0 14px;border-radius:13px;
  border:1px solid rgba(255,255,255,.88);
  background:rgba(255,255,255,.78);
  box-shadow:0 7px 20px rgba(20,70,110,.10);
  font-size:11px;font-weight:850;
  color:#0a4f91;
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
}
.logout-button{color:#d93645;border-color:rgba(255,174,180,.7);}

.app-card,.wallet-hero,.withdraw-card,.quick-card,.review-block,.support-card,.help-card{
  background:rgba(255,255,255,.72) !important;
  border:1px solid rgba(255,255,255,.88) !important;
  box-shadow:0 18px 45px rgba(24,70,105,.13),inset 0 1px 0 rgba(255,255,255,.8) !important;
  backdrop-filter:blur(22px) saturate(125%);
  -webkit-backdrop-filter:blur(22px) saturate(125%);
}
.app-card{border-radius:25px;padding:28px;}
.page-title{color:#081f3b;font-weight:950;letter-spacing:-.75px;}
.page-description{color:#6c8098;}
.section-title{color:#0a315d;font-weight:900;}
.form-label{color:#2c4562;font-weight:800;}
.form-input,select.form-input{
  min-height:56px;border-radius:15px;
  border:1px solid #cfe0f0;
  background:rgba(255,255,255,.76);
  color:#102943;
  box-shadow:inset 0 1px 2px rgba(10,50,90,.03);
}
.form-input:focus,select.form-input:focus{
  border-color:#1689e5;
  box-shadow:0 0 0 4px rgba(22,137,229,.12);
  outline:none;
  background:rgba(255,255,255,.92);
}
.form-input::placeholder{color:#9aabc0;}
.primary-button{
  min-height:58px;border-radius:16px;
  background:linear-gradient(110deg,#0756a5 0%,#168fe6 100%);
  box-shadow:0 12px 28px rgba(7,91,173,.24);
  font-size:15px;font-weight:900;
}
.primary-button:hover{box-shadow:0 16px 32px rgba(7,91,173,.28);}

/* Login / register */
.auth-page{
  min-height:100vh;padding:24px 14px;
  position:relative;isolation:isolate;
  background:transparent !important;
}
.auth-page::before{
  content:"";position:fixed;inset:-6%;z-index:-2;
  background-image:url('app-bg-new.png');background-size:cover;background-position:center;
  filter:blur(2px) saturate(.95);transform:scale(1.05);
}
.auth-page::after{
  content:"";position:fixed;inset:0;z-index:-1;
  background:linear-gradient(135deg,rgba(231,244,255,.70),rgba(158,199,230,.52));
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
}
.auth-container{max-width:455px;}
.auth-card{
  padding:34px 30px 28px !important;
  border-radius:28px !important;
  border:1px solid rgba(255,255,255,.9) !important;
  background:rgba(255,255,255,.78) !important;
  box-shadow:0 24px 65px rgba(15,58,95,.20),inset 0 1px 0 rgba(255,255,255,.9) !important;
  backdrop-filter:blur(25px) saturate(125%);-webkit-backdrop-filter:blur(25px) saturate(125%);
}
.auth-logo{display:none !important;}
.auth-card::before{
  content:"HS";display:flex;align-items:center;justify-content:center;
  width:78px;height:78px;margin:0 auto 18px;border-radius:22px;
  color:#fff;font-size:23px;font-weight:1000;letter-spacing:1px;
  background:linear-gradient(145deg,#062d59,#148ce3);
  box-shadow:0 12px 28px rgba(7,77,142,.25),inset 0 1px 0 rgba(255,255,255,.35);
}
.auth-title{font-size:31px;font-weight:950;color:#071f3b;letter-spacing:-.9px;}
.auth-subtitle{font-size:13px;color:#6d8198;margin-bottom:27px;}
.auth-card .form-group{margin-top:17px;}
.auth-card .form-label{font-size:12px;}
.auth-card .form-input{min-height:58px;margin-top:7px;}
.auth-switch{font-size:12px;margin-top:20px;color:#72849a;}
.auth-switch button{color:#075eae;font-weight:900;}
.app-footer{color:#8497ab;font-size:10px;}

/* Wallet */
.wallet-hero{padding:32px;border-radius:27px;margin-top:8px;}
.wallet-label{font-size:11px;color:#71869e;font-weight:900;letter-spacing:1px;}
.wallet-balance{font-size:43px;color:#062d59;letter-spacing:-1.2px;font-weight:950;}
.wallet-sub{font-size:12px;color:#73869c;}
.withdraw-card{padding:25px;border-radius:24px;margin-top:14px;}
.withdraw-button{min-height:58px;}
.quick-grid{gap:13px;}
.quick-card{border-radius:20px;padding:20px;}
.quick-card strong{font-size:13px;color:#102d4b;}
.quick-card span{font-size:10px;color:#7890a8;}
.help-card{border-radius:20px;}

/* Bottom navigation */
.bottom-nav{
  width:min(calc(100% - 22px),620px);bottom:12px;padding:7px;
  border-radius:24px;border:1px solid rgba(255,255,255,.92);
  background:rgba(245,251,255,.78);
  box-shadow:0 18px 45px rgba(13,60,98,.18),inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter:blur(25px) saturate(130%);-webkit-backdrop-filter:blur(25px) saturate(130%);
}
.bottom-nav-item{min-height:58px;border-radius:18px;font-size:11px;}
.bottom-nav-item.active{background:linear-gradient(135deg,rgba(221,239,255,.95),rgba(205,232,255,.82));color:#075eb1;box-shadow:inset 0 0 0 1px rgba(27,143,229,.12);}
.bottom-nav-icon{font-size:19px;}

/* Forms and review */
.review-block{border-radius:20px;}
.progress-bar{background:rgba(218,231,244,.78);}
.progress-value{background:linear-gradient(90deg,#0b5aa8,#238fe2) !important;}
.info-box,.upload-note{background:rgba(244,250,255,.68) !important;border-color:#cfe2f4 !important;}

@media(max-width:600px){
  .app-container{width:calc(100% - 20px);}
  .app-header{min-height:76px;}
  .app-name{font-size:16px;}
  .app-subtitle{font-size:9px;}
  .support-button,.logout-button{min-height:38px;padding:0 11px;font-size:9px;}
  .app-card{padding:22px 17px;border-radius:22px;}
  .auth-page{padding:15px 10px;align-items:center;}
  .auth-card{padding:29px 20px 23px !important;border-radius:25px !important;}
  .auth-card::before{width:70px;height:70px;border-radius:20px;font-size:21px;margin-bottom:16px;}
  .auth-title{font-size:27px;}
  .wallet-hero{padding:27px 20px;border-radius:24px;}
  .wallet-balance{font-size:36px;}
  .withdraw-card{padding:20px;border-radius:22px;}
}


/* =========================================================
   ABA CASH — FULL APP DARK GLASS THEME (REFERENCE MATCH)
   ========================================================= */
:root{
  --ref-bg:#02152f;--ref-panel:rgba(4,35,64,.72);--ref-panel-2:rgba(5,45,79,.58);
  --ref-line:rgba(110,210,255,.52);--ref-cyan:#10c9ff;--ref-cyan2:#0b82ff;
  --ref-text:#fff;--ref-muted:#b7cde2;
}
html,body{background:#02152f!important;}
body{color:var(--ref-text)!important;background-image:linear-gradient(rgba(1,17,35,.18),rgba(1,17,35,.28)),url('app-bg-new.png')!important;background-size:cover!important;background-position:center top!important;background-attachment:fixed!important;}
body::before{content:"";position:fixed;inset:0;z-index:-1;background:radial-gradient(circle at 50% 18%,rgba(0,190,255,.12),transparent 32%),linear-gradient(180deg,rgba(1,17,35,.08),rgba(0,10,25,.36));pointer-events:none;}
.app{background:transparent!important;}
.app-header{color:#fff!important;}
.app-name,.app-subtitle,.page-title,.page-description,.section-title,.customer-section-title,.customer-section-sub,.form-label,.form-help,.wallet-label,.wallet-balance,.wallet-sub,.quick-card strong,.quick-card span,.transaction-main strong,.transaction-main span,.empty-state,.review-label,.review-value,.review-block-title,.progress-title,.progress-number,.back-button{color:inherit!important;}
.app-name{color:#fff!important;font-size:19px;font-weight:950;}
.app-subtitle{color:#b7cde2!important;}
.app-logo,.brand-mark{background:linear-gradient(145deg,#075ea7,#0abfff)!important;box-shadow:0 8px 25px rgba(0,174,255,.28),inset 0 1px 0 rgba(255,255,255,.3)!important;}
.support-button,.logout-button{background:rgba(2,28,52,.62)!important;color:#fff!important;border-color:rgba(124,213,255,.45)!important;box-shadow:0 8px 25px rgba(0,0,0,.2)!important;}
.logout-button{color:#ffb4b9!important;border-color:rgba(255,135,150,.55)!important;}
.app-card,.wallet-hero,.withdraw-card,.quick-card,.review-block,.support-card,.help-card{
 background:linear-gradient(135deg,rgba(5,48,82,.78),rgba(2,25,48,.72))!important;
 border:1px solid rgba(115,211,255,.34)!important;
 box-shadow:0 24px 60px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.10)!important;
 backdrop-filter:blur(20px) saturate(125%)!important;-webkit-backdrop-filter:blur(20px) saturate(125%)!important;
 color:#fff!important;
}
.page-title{color:#fff!important;font-weight:950;}
.page-description,.form-help,.wallet-sub,.quick-card span,.customer-section-sub,.app-footer{color:#b2c8dc!important;}
.section-title,.customer-section-title,.review-block-title{color:#fff!important;}
.form-label{color:#fff!important;}
.form-input,select.form-input{
 background:rgba(226,239,252,.94)!important;color:#0a2039!important;border:1px solid rgba(135,210,255,.56)!important;
 box-shadow:inset 0 2px 8px rgba(4,35,70,.12),0 0 0 1px rgba(255,255,255,.04)!important;
}
.form-input::placeholder{color:#8ca9c2!important;}
.form-input:focus,select.form-input:focus{border-color:#18c8ff!important;box-shadow:0 0 0 4px rgba(14,193,255,.15),0 0 25px rgba(0,178,255,.12)!important;}
.primary-button,.withdraw-button{background:linear-gradient(100deg,#0756c7 0%,#0ab4ef 100%)!important;color:#fff!important;border:1px solid rgba(0,210,255,.75)!important;box-shadow:0 12px 32px rgba(0,137,255,.30),0 0 20px rgba(0,193,255,.10)!important;}
.primary-button:hover,.withdraw-button:hover{box-shadow:0 14px 38px rgba(0,137,255,.42),0 0 25px rgba(0,193,255,.18)!important;}
.progress-bar{background:rgba(183,215,235,.18)!important;}
.progress-value{background:linear-gradient(90deg,#00a9ff,#16d0ff)!important;box-shadow:0 0 12px rgba(0,193,255,.3);}
.info-box,.upload-note{background:rgba(5,48,82,.58)!important;border-color:rgba(108,205,255,.32)!important;color:#c8dbea!important;}
.quick-card{color:#fff!important;}
.quick-card:hover{transform:translateY(-2px);border-color:rgba(31,204,255,.55)!important;}
.transaction-row{border-bottom-color:rgba(115,211,255,.14)!important;}
.transaction-main strong{color:#fff!important;}
.transaction-main span{color:#a9c1d7!important;}
.bottom-nav{background:rgba(3,29,54,.82)!important;border-color:rgba(123,211,255,.38)!important;box-shadow:0 20px 50px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.10)!important;backdrop-filter:blur(24px)!important;-webkit-backdrop-filter:blur(24px)!important;}
.bottom-nav-item{color:#a8bfd4!important;}
.bottom-nav-item.active{background:linear-gradient(135deg,rgba(0,135,255,.32),rgba(10,205,255,.18))!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(21,197,255,.35),0 0 20px rgba(0,156,255,.10)!important;}
.bottom-nav-icon{color:inherit!important;}
.help-button{background:linear-gradient(100deg,#0756c7,#0ab4ef)!important;color:#fff!important;}

/* Login / register reference layout */
.auth-page{min-height:100vh!important;padding:22px 14px 36px!important;background:transparent!important;position:relative;isolation:isolate;}
.auth-page::before{content:"";position:fixed;inset:0;z-index:-2;background-image:url('app-bg-new.png');background-size:cover;background-position:center top;filter:none!important;transform:none!important;}
.auth-page::after{content:"";position:fixed;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(0,16,39,.12),rgba(0,11,27,.40))!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
.auth-container{width:min(100%,760px)!important;max-width:760px!important;margin:0 auto!important;}
.brand-hero{padding:24px 10px 26px;text-align:center;line-height:.88;filter:drop-shadow(0 8px 25px rgba(0,0,0,.28));}
.brand-aba,.brand-cash{font-weight:1000;letter-spacing:-2px;font-size:64px;}
.brand-aba{color:#fff;text-shadow:0 4px 12px rgba(0,0,0,.25);}
.brand-cash{color:#0bd1ff;text-shadow:0 5px 18px rgba(0,191,255,.28);}
.brand-tag{margin-top:16px;color:#fff;font-size:14px;font-weight:900;letter-spacing:.5px;display:flex;align-items:center;justify-content:center;gap:12px;}
.brand-tag span{display:block;width:34px;height:2px;background:#10caff;box-shadow:0 0 8px rgba(0,202,255,.45);}
.auth-card{padding:38px 40px 28px!important;border-radius:30px!important;background:linear-gradient(135deg,rgba(5,48,82,.78),rgba(2,22,43,.72))!important;border:1px solid rgba(126,215,255,.48)!important;box-shadow:0 28px 70px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.12)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;}
.auth-card::before{display:none!important;}
.auth-title{color:#fff!important;font-size:32px!important;text-align:center;font-weight:1000!important;letter-spacing:-.8px;}
.auth-subtitle{color:#b9cfe1!important;text-align:center;font-size:14px!important;margin-bottom:30px!important;}
.auth-card .form-group{margin-top:22px!important;}
.auth-card .form-label{font-size:15px!important;font-weight:900!important;text-transform:uppercase;letter-spacing:.2px;}
.auth-card .form-input{min-height:64px!important;margin-top:9px!important;border-radius:17px!important;font-size:16px!important;}
.auth-card .primary-button{min-height:66px!important;border-radius:18px!important;font-size:18px!important;margin-top:25px;}
.auth-switch{text-align:center;color:#b6cce0!important;font-size:14px!important;margin-top:20px!important;}
.auth-switch button{color:#11c7ff!important;font-weight:950!important;}
.app-footer{text-align:center;margin-top:18px;color:#91aac1!important;}
.auth-features{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:24px 0 0;padding:12px 0 0;}
.auth-feature{min-height:120px;padding:10px 20px;text-align:center;color:#fff;position:relative;}
.auth-feature:not(:last-child)::after{content:"";position:absolute;right:0;top:18px;height:82px;width:1px;background:rgba(108,210,255,.35);}
.auth-feature-icon{font-size:30px;color:#10caff;text-shadow:0 0 16px rgba(0,202,255,.42);margin-bottom:8px;}
.auth-feature strong{display:block;font-size:14px;font-weight:950;}
.auth-feature span{display:block;margin-top:4px;font-size:11px;line-height:1.5;color:#b4cadc;}

/* admin */
.admin-page{background:transparent!important;color:#fff!important;}
.admin-page .admin-card,.admin-page .admin-list{background:linear-gradient(135deg,rgba(5,48,82,.78),rgba(2,22,43,.72))!important;border:1px solid rgba(126,215,255,.35)!important;color:#fff!important;box-shadow:0 20px 55px rgba(0,0,0,.28)!important;backdrop-filter:blur(18px);}
.admin-page h1,.admin-page h2,.admin-page .form-help,.admin-page .form-label{color:#fff!important;}
.admin-table th,.admin-table td{border-bottom-color:rgba(108,210,255,.16)!important;color:#dcecf8!important;}

@media(max-width:600px){
  .auth-page{padding:12px 10px 28px!important;}
  .brand-hero{padding:20px 8px 20px;}
  .brand-aba,.brand-cash{font-size:50px;}
  .brand-tag{font-size:11px;margin-top:13px;gap:8px;}
  .brand-tag span{width:24px;}
  .auth-card{padding:30px 20px 22px!important;border-radius:26px!important;}
  .auth-title{font-size:28px!important;}
  .auth-subtitle{font-size:13px!important;margin-bottom:22px!important;}
  .auth-card .form-label{font-size:13px!important;}
  .auth-card .form-input{min-height:58px!important;font-size:15px!important;}
  .auth-card .primary-button{min-height:60px!important;font-size:17px!important;}
  .auth-features{grid-template-columns:1fr;margin-top:18px;}
  .auth-feature{min-height:auto;padding:13px 10px;}
  .auth-feature:not(:last-child)::after{display:none;}
}

/* =========================================================
   ABA CASH REFERENCE UI — v11
   Shared visual system for the entire app
   ========================================================= */
:root{
  --ac-bg:#031a35;
  --ac-panel:rgba(3,35,65,.70);
  --ac-panel-deep:rgba(2,24,47,.78);
  --ac-line:rgba(121,214,255,.42);
  --ac-cyan:#0bd2ff;
  --ac-blue:#0863d8;
  --ac-white:#f7fbff;
  --ac-muted:#b7cce0;
}

html,body{min-height:100%;background:#02162d!important;}
body{
  color:var(--ac-white)!important;
  background-image:
    linear-gradient(180deg,rgba(1,15,31,.10),rgba(0,9,23,.46)),
    url('app-bg-new.png')!important;
  background-size:cover!important;
  background-position:center top!important;
  background-attachment:fixed!important;
  overflow-x:hidden;
}
body::before{
  content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;
  background:
    radial-gradient(circle at 18% 25%,rgba(0,173,255,.18),transparent 26%),
    radial-gradient(circle at 84% 15%,rgba(0,221,255,.10),transparent 24%),
    linear-gradient(135deg,rgba(0,13,31,.04),rgba(0,7,19,.28));
}
body::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(0,8,20,.12),transparent 28%,transparent 72%,rgba(0,8,20,.20));}

.app,.admin-page{background:transparent!important;}
.app-container{width:min(calc(100% - 32px),760px);}

/* Global glass cards */
.app-card,.wallet-hero,.withdraw-card,.quick-card,.review-block,.support-card,.help-card,.admin-card,.admin-list{
  color:var(--ac-white)!important;
  background:linear-gradient(135deg,rgba(5,51,87,.76),rgba(2,25,48,.76))!important;
  border:1px solid var(--ac-line)!important;
  box-shadow:0 24px 65px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.11)!important;
  backdrop-filter:blur(20px) saturate(125%)!important;
  -webkit-backdrop-filter:blur(20px) saturate(125%)!important;
}

.app-header{min-height:78px;color:#fff!important;}
.app-name{color:#fff!important;font-size:20px!important;font-weight:950!important;letter-spacing:.15px!important;text-transform:uppercase;}
.app-subtitle{color:#b7cce0!important;font-size:10px!important;}
.brand-mark,.app-logo{
  background:linear-gradient(145deg,#07539a,#0bbcff)!important;
  border:1px solid rgba(137,224,255,.5)!important;
  box-shadow:0 10px 30px rgba(0,164,255,.30),inset 0 1px 0 rgba(255,255,255,.28)!important;
}

.support-button,.logout-button{
  min-height:40px!important;padding:0 13px!important;border-radius:12px!important;
  background:rgba(2,28,52,.72)!important;color:#fff!important;
  border:1px solid rgba(124,213,255,.42)!important;
  box-shadow:0 8px 24px rgba(0,0,0,.22)!important;
}
.logout-button{color:#ffb5bd!important;border-color:rgba(255,128,145,.52)!important;}

.page-title{color:#fff!important;font-size:30px!important;font-weight:950!important;letter-spacing:-.6px!important;}
.page-description,.form-help,.wallet-sub,.quick-card span,.customer-section-sub,.app-footer,.review-label,.progress-number{color:var(--ac-muted)!important;}
.section-title,.customer-section-title,.review-block-title,.progress-title{color:#fff!important;}
.form-label{color:#fff!important;font-weight:900!important;}

.form-input,select.form-input{
  color:#071e37!important;
  background:rgba(234,243,254,.95)!important;
  border:1px solid rgba(140,214,255,.55)!important;
  border-radius:16px!important;
  box-shadow:inset 0 2px 10px rgba(3,28,55,.10),0 0 0 1px rgba(255,255,255,.04)!important;
}
.form-input:focus,select.form-input:focus{
  border-color:#18d0ff!important;
  box-shadow:0 0 0 4px rgba(13,198,255,.15),0 0 24px rgba(0,181,255,.12)!important;
}
.form-input::placeholder{color:#8ba4bd!important;}

.primary-button,.withdraw-button{
  min-height:60px!important;border-radius:17px!important;
  background:linear-gradient(100deg,#0755c8 0%,#08b7ee 100%)!important;
  border:1px solid rgba(0,215,255,.78)!important;color:#fff!important;
  box-shadow:0 14px 34px rgba(0,128,255,.30),0 0 22px rgba(0,196,255,.12)!important;
  font-weight:950!important;
}
.primary-button:hover,.withdraw-button:hover{filter:brightness(1.05);box-shadow:0 17px 40px rgba(0,128,255,.40),0 0 30px rgba(0,196,255,.20)!important;}

.info-box,.upload-note{
  color:#c6d9ea!important;background:rgba(5,48,82,.56)!important;
  border-color:rgba(108,205,255,.30)!important;
}
.info-icon{background:linear-gradient(145deg,#0965bf,#0bc4ff)!important;}

.wallet-hero{padding:30px!important;border-radius:26px!important;}
.wallet-label{color:#b8cde0!important;}
.wallet-balance{color:#fff!important;font-size:40px!important;font-weight:950!important;}
.quick-card strong,.transaction-main strong,.review-value{color:#fff!important;}

.loan-option{
  color:#fff!important;background:rgba(4,39,69,.58)!important;
  border-color:rgba(115,210,255,.28)!important;
}
.loan-option.selected{background:linear-gradient(135deg,rgba(0,110,220,.35),rgba(5,52,91,.60))!important;border-color:#13c8ff!important;box-shadow:0 0 0 1px #13c8ff,0 0 24px rgba(0,189,255,.13)!important;}
.loan-option-label{color:#9eb7cc!important;}.loan-option-value{color:#fff!important;}

.review-block{background:rgba(3,32,57,.55)!important;}
.review-row{border-bottom-color:rgba(112,205,255,.14)!important;}

.id-upload-card{background:rgba(4,40,69,.58)!important;border-color:rgba(116,211,255,.30)!important;color:#fff!important;}
.id-upload-copy strong{color:#fff!important}.id-upload-copy span{color:#aac0d4!important}
.id-upload-action{background:rgba(5,50,83,.62)!important;border-color:rgba(113,211,255,.38)!important;color:#10caff!important}

.bottom-nav{
  background:rgba(2,27,51,.88)!important;border-color:rgba(122,213,255,.40)!important;
  box-shadow:0 20px 55px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.10)!important;
  backdrop-filter:blur(24px)!important;-webkit-backdrop-filter:blur(24px)!important;
}
.bottom-nav-item{color:#a9bfd3!important;}.bottom-nav-item.active{color:#fff!important;background:linear-gradient(135deg,rgba(0,112,230,.42),rgba(0,205,255,.16))!important;box-shadow:inset 0 0 0 1px rgba(19,201,255,.40),0 0 22px rgba(0,156,255,.12)!important;}

/* Shared page chrome */
body:not(.admin-page) main{padding-bottom:125px!important;}
body:not(.admin-page) .app-card{border-radius:26px!important;}
.back-button{color:#b7cce0!important;}.back-button:hover{color:#10caff!important;}
.app-footer{color:#8da9bf!important;}

/* Authentication: match the reference composition */
.auth-page{
  min-height:100vh!important;padding:18px 14px 42px!important;display:block!important;
  background:transparent!important;position:relative;isolation:isolate;
}
.auth-page::before{content:"";position:fixed;inset:0;z-index:-2;background-image:url('app-bg-new.png');background-size:cover;background-position:center top;filter:none!important;transform:none!important;}
.auth-page::after{content:"";position:fixed;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(0,12,29,.04),rgba(0,9,24,.34))!important;backdrop-filter:none!important;}
.auth-container{width:min(100%,760px)!important;max-width:760px!important;margin:0 auto!important;}
.brand-hero{padding:18px 10px 24px!important;text-align:center!important;line-height:.88;filter:drop-shadow(0 10px 28px rgba(0,0,0,.32));}
.brand-aba,.brand-cash{font-weight:1000!important;letter-spacing:-3px!important;font-size:76px!important;}
.brand-aba{color:#fff!important;text-shadow:0 4px 14px rgba(0,0,0,.25)!important;}
.brand-cash{color:#0bd2ff!important;text-shadow:0 5px 22px rgba(0,195,255,.34)!important;}
.brand-tag{margin-top:17px!important;color:#fff!important;font-size:15px!important;font-weight:950!important;letter-spacing:.6px;display:flex;align-items:center;justify-content:center;gap:13px;}
.brand-tag span{display:block;width:38px;height:2px;background:#10caff;box-shadow:0 0 10px rgba(0,202,255,.5);}
.auth-card{
  width:100%!important;padding:40px 40px 28px!important;border-radius:30px!important;
  background:linear-gradient(135deg,rgba(5,51,87,.72),rgba(2,22,43,.76))!important;
  border:1px solid rgba(126,215,255,.48)!important;
  box-shadow:0 28px 78px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.12)!important;
  backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important;
}
.auth-logo{display:none!important;}
.auth-title{color:#fff!important;font-size:34px!important;font-weight:1000!important;letter-spacing:-.8px!important;text-align:center!important;}
.auth-subtitle{color:#bfd2e3!important;font-size:15px!important;text-align:center!important;margin-top:8px!important;margin-bottom:32px!important;}
.auth-card .form-group{margin-top:25px!important;}
.auth-card .form-label{font-size:15px!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.2px!important;margin-bottom:10px!important;}
.auth-card .form-input{height:68px!important;min-height:68px!important;border-radius:17px!important;font-size:17px!important;padding:0 18px!important;}
.auth-card .primary-button{height:68px!important;min-height:68px!important;margin-top:28px!important;border-radius:18px!important;font-size:19px!important;}
.auth-switch{margin-top:21px!important;color:#b9cde0!important;font-size:15px!important;text-align:center!important;}
.auth-switch button{color:#11caff!important;font-weight:950!important;}
.auth-features{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:24px 0 0!important;padding:14px 0 0!important;}
.auth-feature{min-height:122px;padding:10px 20px;text-align:center;color:#fff;position:relative;}
.auth-feature:not(:last-child)::after{content:"";position:absolute;right:0;top:18px;height:82px;width:1px;background:rgba(108,210,255,.35);}
.auth-feature-icon{font-size:31px;color:#10caff;text-shadow:0 0 17px rgba(0,202,255,.44);margin-bottom:8px;}
.auth-feature strong{display:block;font-size:14px;font-weight:950;}.auth-feature span{display:block;margin-top:4px;font-size:11px;line-height:1.55;color:#b4cadc;}
.auth-page .app-footer{margin-top:14px!important;color:#90a8bd!important;}

/* Admin gets the same atmosphere */
.admin-page{background:#02162d!important;background-image:linear-gradient(180deg,rgba(1,15,31,.10),rgba(0,9,23,.46)),url('app-bg-new.png')!important;background-size:cover!important;background-position:center top!important;background-attachment:fixed!important;}
.admin-page .admin-shell{padding-bottom:90px!important;}
.admin-page .admin-list-item{color:#fff!important;border-bottom-color:rgba(111,205,255,.15)!important;}
.admin-page .admin-table th,.admin-page .admin-table td{color:#dcecf8!important;border-bottom-color:rgba(108,210,255,.15)!important;}

@media(max-width:600px){
  .app-container{width:calc(100% - 20px)!important;}
  .app-header{min-height:74px!important;}
  .app-name{font-size:17px!important;}.app-subtitle{font-size:9px!important;}
  .support-button,.logout-button{min-height:38px!important;padding:0 10px!important;font-size:9px!important;}
  .app-card{padding:24px 18px!important;border-radius:24px!important;}
  .page-title{font-size:27px!important;}
  .wallet-hero{padding:28px 20px!important;}.wallet-balance{font-size:36px!important;}
  .brand-hero{padding:13px 8px 18px!important;}
  .brand-aba,.brand-cash{font-size:54px!important;letter-spacing:-2px!important;}
  .brand-tag{font-size:11px!important;margin-top:13px!important;gap:8px!important;}.brand-tag span{width:25px!important;}
  .auth-page{padding:10px 8px 30px!important;}
  .auth-card{padding:30px 20px 23px!important;border-radius:27px!important;}
  .auth-title{font-size:29px!important;}.auth-subtitle{font-size:13px!important;margin-bottom:23px!important;}
  .auth-card .form-group{margin-top:21px!important;}.auth-card .form-label{font-size:13px!important;}
  .auth-card .form-input{height:59px!important;min-height:59px!important;font-size:15px!important;border-radius:16px!important;}
  .auth-card .primary-button{height:60px!important;min-height:60px!important;font-size:17px!important;margin-top:24px!important;}
  .auth-switch{font-size:13px!important;}
  .auth-features{grid-template-columns:1fr!important;margin-top:15px!important;}
  .auth-feature{min-height:auto;padding:11px 10px!important;}.auth-feature:not(:last-child)::after{display:none!important;}
  body:not(.admin-page) main{padding-bottom:120px!important;}
}

/* =========================================================
   ABA CASH — VISUAL CORRECTION / REFERENCE MATCH
   Keep all existing app logic. Visual layer only.
   ========================================================= */
html,body{background:#02162d!important;}
body:not(.admin-page){
  background-color:#02162d!important;
  background-image:url('app-bg-new.png')!important;
  background-size:cover!important;
  background-position:center top!important;
  background-attachment:fixed!important;
}
/* Override the older light overlay rules so the architectural background stays visible. */
body:not(.admin-page)::before{
  content:""!important;
  position:fixed!important;
  inset:0!important;
  z-index:-2!important;
  background-image:url('app-bg-new.png')!important;
  background-size:cover!important;
  background-position:center top!important;
  background-repeat:no-repeat!important;
  filter:none!important;
  transform:none!important;
  opacity:1!important;
}
body:not(.admin-page)::after{
  content:""!important;
  position:fixed!important;
  inset:0!important;
  z-index:-1!important;
  pointer-events:none!important;
  background:
    linear-gradient(180deg,rgba(0,9,23,.02) 0%,rgba(0,11,28,.16) 48%,rgba(0,6,18,.40) 100%)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

.app-container{width:min(calc(100% - 28px),760px)!important;}
.app-header{min-height:78px!important;padding:12px 0 14px!important;}
.app-name{font-size:19px!important;color:#fff!important;font-weight:950!important;text-transform:none!important;}
.app-subtitle{font-size:10px!important;color:#b9cfe2!important;}
.support-button,.logout-button{
  min-height:42px!important;border-radius:14px!important;padding:0 14px!important;
  background:rgba(2,27,50,.68)!important;
  border:1px solid rgba(116,211,255,.42)!important;
  color:#fff!important;
  box-shadow:0 8px 24px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.10)!important;
  backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;
}
.logout-button{color:#ffb7bf!important;border-color:rgba(255,133,150,.52)!important;}

/* Cards: transparent enough to show the building, but still readable. */
.app-card,.wallet-hero,.withdraw-card,.quick-card,.review-block,.support-card,.help-card,.admin-card,.admin-list{
  background:linear-gradient(135deg,rgba(5,48,82,.58),rgba(2,24,47,.62))!important;
  border:1px solid rgba(116,211,255,.38)!important;
  box-shadow:0 22px 60px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.13)!important;
  backdrop-filter:blur(12px) saturate(115%)!important;
  -webkit-backdrop-filter:blur(12px) saturate(115%)!important;
}
.app-card{border-radius:27px!important;padding:30px!important;}
.page-title{color:#fff!important;font-size:30px!important;font-weight:950!important;}
.page-description,.form-help,.wallet-sub,.quick-card span,.customer-section-sub,.app-footer,.review-label,.progress-number{color:#b9cfe2!important;}
.section-title,.customer-section-title,.review-block-title,.progress-title,.form-label{color:#fff!important;}

.form-input,select.form-input{
  background:rgba(235,243,253,.94)!important;
  color:#071d35!important;
  border:1px solid rgba(135,211,255,.58)!important;
  border-radius:16px!important;
  box-shadow:inset 0 2px 9px rgba(4,31,57,.10),0 0 0 1px rgba(255,255,255,.05)!important;
}
.form-input::placeholder{color:#91a8bf!important;}
.primary-button,.withdraw-button{
  background:linear-gradient(100deg,#0754c7 0%,#0bb7ee 100%)!important;
  border:1px solid rgba(0,215,255,.82)!important;
  box-shadow:0 14px 34px rgba(0,123,255,.32),0 0 22px rgba(0,195,255,.13)!important;
}

.wallet-hero{padding:30px!important;border-radius:27px!important;margin-top:8px!important;}
.wallet-label{color:#c0d4e5!important;font-size:11px!important;}
.wallet-balance{color:#fff!important;font-size:43px!important;font-weight:950!important;}
.wallet-sub{color:#b7ccdf!important;font-size:12px!important;}
.withdraw-card{padding:26px!important;border-radius:25px!important;margin-top:14px!important;}
.quick-grid{gap:13px!important;margin-top:14px!important;}
.quick-card{padding:20px!important;border-radius:20px!important;}
.quick-card strong{color:#fff!important;font-size:13px!important;}
.quick-card span{color:#b5cadc!important;}
.help-card{border-radius:20px!important;}

.bottom-nav{
  background:rgba(2,23,45,.84)!important;
  border-color:rgba(116,211,255,.42)!important;
  box-shadow:0 20px 55px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.10)!important;
  backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important;
}
.bottom-nav-item{color:#a9bfd4!important;}
.bottom-nav-item.active{color:#fff!important;background:linear-gradient(135deg,rgba(0,112,230,.42),rgba(0,205,255,.18))!important;}

/* Authentication uses the reference composition: logo first, then glass form. */
.auth-page{padding:14px 10px 38px!important;background:transparent!important;}
.auth-page::before{
  background-image:url('app-bg-new.png')!important;
  background-size:cover!important;background-position:center top!important;
  filter:none!important;transform:none!important;opacity:1!important;
}
.auth-page::after{
  background:linear-gradient(180deg,rgba(0,10,24,.02),rgba(0,7,19,.38))!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
.auth-container{width:min(100%,760px)!important;max-width:760px!important;}
.brand-hero{padding:20px 10px 28px!important;}
.brand-aba,.brand-cash{font-size:74px!important;line-height:.86!important;letter-spacing:-3px!important;}
.brand-aba{color:#fff!important;text-shadow:0 5px 16px rgba(0,0,0,.28)!important;}
.brand-cash{color:#09cfff!important;text-shadow:0 5px 22px rgba(0,194,255,.38)!important;}
.brand-tag{font-size:15px!important;margin-top:17px!important;}
.auth-card{
  padding:40px 40px 29px!important;border-radius:30px!important;
  background:linear-gradient(135deg,rgba(5,49,84,.60),rgba(2,23,44,.66))!important;
  border:1px solid rgba(126,215,255,.50)!important;
  box-shadow:0 28px 78px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.13)!important;
  backdrop-filter:blur(13px) saturate(120%)!important;-webkit-backdrop-filter:blur(13px) saturate(120%)!important;
}
.auth-title{font-size:34px!important;color:#fff!important;}
.auth-subtitle{font-size:15px!important;color:#bfd2e2!important;}
.auth-card .form-label{font-size:15px!important;color:#fff!important;}
.auth-card .form-input{height:68px!important;min-height:68px!important;border-radius:17px!important;font-size:17px!important;}
.auth-card .primary-button{height:68px!important;min-height:68px!important;border-radius:18px!important;font-size:19px!important;}
.auth-switch{color:#b9cde0!important;font-size:15px!important;}
.auth-switch button{color:#11caff!important;}
.auth-features{margin-top:25px!important;}
.auth-feature{color:#fff!important;}
.auth-feature strong{font-size:14px!important;}.auth-feature span{color:#b7cde0!important;}

@media(max-width:600px){
  .app-container{width:calc(100% - 20px)!important;}
  .app-header{min-height:72px!important;}
  .app-name{font-size:17px!important;}
  .support-button,.logout-button{min-height:38px!important;padding:0 10px!important;font-size:9px!important;}
  .app-card{padding:23px 17px!important;border-radius:23px!important;}
  .wallet-hero{padding:27px 20px!important;border-radius:24px!important;}
  .wallet-balance{font-size:37px!important;}
  .withdraw-card{padding:20px!important;border-radius:23px!important;}
  .quick-grid{grid-template-columns:1fr!important;}
  .brand-hero{padding:10px 8px 18px!important;}
  .brand-aba,.brand-cash{font-size:52px!important;letter-spacing:-2px!important;}
  .brand-tag{font-size:11px!important;margin-top:12px!important;gap:8px!important;}
  .brand-tag span{width:24px!important;}
  .auth-page{padding:8px 8px 28px!important;}
  .auth-card{padding:29px 20px 23px!important;border-radius:26px!important;}
  .auth-title{font-size:29px!important;}
  .auth-subtitle{font-size:13px!important;margin-bottom:23px!important;}
  .auth-card .form-label{font-size:13px!important;}
  .auth-card .form-input{height:59px!important;min-height:59px!important;font-size:15px!important;border-radius:16px!important;}
  .auth-card .primary-button{height:60px!important;min-height:60px!important;font-size:17px!important;}
}

/* =========================================================
   ABA CASH — V13 VISUAL ONLY
   Keep all existing HTML/JS functionality unchanged.
   ========================================================= */
:root{
  --aba-bg:#031a32;
  --aba-glass:rgba(4,35,61,.68);
  --aba-glass-strong:rgba(3,29,52,.78);
  --aba-line:rgba(105,205,255,.38);
  --aba-cyan:#10c9ff;
  --aba-text:#f7fbff;
  --aba-muted:#b5c9dc;
}

html,body{min-height:100%;}
body:not(.admin-page){
  color:var(--aba-text)!important;
  background-color:var(--aba-bg)!important;
  background-image:
    linear-gradient(180deg,rgba(1,15,31,.18),rgba(1,12,25,.52)),
    url('app-bg-new.png')!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-position:center top!important;
  background-attachment:fixed!important;
}
body:not(.admin-page)::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 10%,rgba(0,191,255,.13),transparent 27%),
    linear-gradient(180deg,rgba(0,21,43,.02),rgba(0,8,20,.36));
}
body:not(.admin-page)::after{display:none!important;}

/* Shared content width: centred, breathable and consistent */
body:not(.admin-page) .app-container,
body:not(.admin-page) main{width:min(calc(100% - 28px),760px);}
body:not(.admin-page) main{margin-left:auto;margin-right:auto;}

.app-header{
  width:min(calc(100% - 28px),760px)!important;
  min-height:82px!important;
  margin:0 auto!important;
  padding:16px 0!important;
}
.app-name{font-size:20px!important;font-weight:950!important;letter-spacing:-.5px;color:#fff!important;}
.app-subtitle{font-size:10px!important;color:#b9cee0!important;}
.header-actions{gap:9px!important;}
.support-button,.logout-button{
  min-height:42px!important;
  padding:0 14px!important;
  border-radius:14px!important;
  background:rgba(3,28,50,.72)!important;
  border:1px solid rgba(116,211,255,.40)!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.10)!important;
}
.logout-button{color:#ffb9c0!important;border-color:rgba(255,130,145,.48)!important;}

/* All major panels use the same glass language */
.app-card,.wallet-hero,.withdraw-card,.quick-card,.review-block,.support-card,.help-card,.home-banner{
  border:1px solid var(--aba-line)!important;
  background:linear-gradient(135deg,rgba(7,54,88,.70),rgba(2,27,49,.72))!important;
  box-shadow:0 22px 55px rgba(0,0,0,.27),inset 0 1px 0 rgba(255,255,255,.10)!important;
  backdrop-filter:blur(18px) saturate(125%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(125%)!important;
}
.app-card{padding:30px!important;border-radius:25px!important;}
.page-title,.section-title,.customer-section-title,.review-block-title{color:#fff!important;}
.page-description,.customer-section-sub,.form-help,.wallet-sub,.quick-card span,.app-footer,.review-label{color:var(--aba-muted)!important;}
.form-label{color:#f4f9fd!important;}

/* Inputs stay bright, like the reference */
.form-input,select.form-input{
  min-height:58px!important;
  border-radius:16px!important;
  border:1px solid rgba(145,211,248,.55)!important;
  background:rgba(232,242,252,.95)!important;
  color:#0a2139!important;
  box-shadow:inset 0 2px 8px rgba(2,31,61,.10),0 1px 0 rgba(255,255,255,.10)!important;
}
.form-input::placeholder{color:#8da5ba!important;}
.form-input:focus,select.form-input:focus{
  border-color:var(--aba-cyan)!important;
  box-shadow:0 0 0 4px rgba(16,201,255,.13),0 0 25px rgba(16,201,255,.10)!important;
}

.primary-button,.withdraw-button{
  min-height:58px!important;
  border-radius:16px!important;
  background:linear-gradient(105deg,#0758c9 0%,#0ab7ef 100%)!important;
  border:1px solid rgba(0,213,255,.78)!important;
  box-shadow:0 13px 32px rgba(0,119,255,.28),0 0 18px rgba(0,198,255,.10)!important;
  font-size:15px!important;
  font-weight:950!important;
}

/* Wallet: hierarchy closer to the reference, less cramped */
.wallet-hero{margin-top:8px!important;padding:31px!important;border-radius:27px!important;}
.wallet-label{font-size:11px!important;letter-spacing:1.15px!important;color:#b7cde0!important;}
.wallet-balance{margin-top:8px!important;font-size:45px!important;line-height:1.08!important;color:#fff!important;font-weight:950!important;}
.wallet-sub{margin-top:9px!important;font-size:11px!important;}
.withdraw-card{margin-top:14px!important;padding:26px!important;border-radius:25px!important;}
.withdraw-card .section-title{margin-bottom:15px!important;}
.withdraw-row{gap:11px!important;}
.quick-grid{gap:13px!important;margin-top:14px!important;}
.quick-card{padding:20px!important;border-radius:21px!important;min-height:82px;}
.quick-card strong{font-size:13px!important;color:#fff!important;}
.help-card{margin-top:14px!important;padding:17px 18px!important;border-radius:21px!important;}
.help-card strong{color:#fff!important;}
.help-card span{color:#b5c9dc!important;}
.help-button{background:rgba(5,116,186,.35)!important;color:#6edcff!important;border:1px solid rgba(76,205,255,.38)!important;}

/* Review / inner blocks */
.review-block{padding:18px!important;border-radius:20px!important;}
.review-block-title{border-bottom-color:rgba(116,205,245,.18)!important;}
.review-row{border-bottom-color:rgba(116,205,245,.14)!important;}
.review-value{color:#fff!important;}
.info-box,.upload-note{background:rgba(5,50,82,.52)!important;border-color:rgba(110,205,250,.30)!important;color:#c8dbea!important;}
.progress-bar{background:rgba(190,220,240,.16)!important;}
.progress-value{background:linear-gradient(90deg,#0b89ed,#12d4ff)!important;box-shadow:0 0 12px rgba(0,204,255,.35);}

/* Bottom navigation: compact floating glass */
.bottom-nav{
  width:min(calc(100% - 24px),620px)!important;
  bottom:12px!important;
  padding:7px!important;
  border-radius:23px!important;
  border:1px solid rgba(111,205,249,.34)!important;
  background:rgba(3,29,52,.84)!important;
  box-shadow:0 20px 50px rgba(0,0,0,.36),inset 0 1px 0 rgba(255,255,255,.10)!important;
  backdrop-filter:blur(22px) saturate(125%)!important;
  -webkit-backdrop-filter:blur(22px) saturate(125%)!important;
}
.bottom-nav-item{min-height:56px!important;border-radius:17px!important;color:#a9bfd2!important;}
.bottom-nav-item.active{color:#fff!important;background:linear-gradient(135deg,rgba(8,107,181,.60),rgba(5,60,105,.56))!important;box-shadow:inset 0 0 0 1px rgba(71,205,255,.30),0 0 18px rgba(0,167,255,.08)!important;}
.bottom-nav-icon{font-size:18px!important;}

/* Authentication pages: same background, balanced vertical rhythm */
.auth-page{
  min-height:100svh!important;
  align-items:flex-start!important;
  padding:28px 14px 36px!important;
  background:transparent!important;
  position:relative!important;
  isolation:isolate!important;
}
.auth-page::before{
  content:""!important;
  position:fixed!important;
  inset:0!important;
  z-index:-2!important;
  background-image:linear-gradient(180deg,rgba(1,15,31,.12),rgba(0,9,22,.48)),url('app-bg-new.png')!important;
  background-size:cover!important;
  background-position:center top!important;
  filter:none!important;
  transform:none!important;
}
.auth-page::after{display:none!important;}
.auth-container{max-width:720px!important;}
.brand-hero{padding:8px 10px 25px!important;}
.brand-aba,.brand-cash{font-size:74px!important;line-height:.86!important;letter-spacing:-3px!important;}
.brand-aba{color:#fff!important;text-shadow:0 5px 18px rgba(0,0,0,.30)!important;}
.brand-cash{color:#0bd2ff!important;text-shadow:0 5px 24px rgba(0,194,255,.38)!important;}
.brand-tag{margin-top:16px!important;font-size:14px!important;color:#fff!important;}
.auth-card{
  max-width:690px!important;
  margin:0 auto!important;
  padding:35px 40px 30px!important;
  border-radius:30px!important;
  background:linear-gradient(135deg,rgba(6,50,83,.76),rgba(2,26,48,.78))!important;
  border:1px solid rgba(114,208,252,.42)!important;
  box-shadow:0 28px 70px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.11)!important;
  backdrop-filter:blur(20px) saturate(125%)!important;
  -webkit-backdrop-filter:blur(20px) saturate(125%)!important;
}
.auth-card::before{display:none!important;}
.auth-title{font-size:30px!important;color:#fff!important;font-weight:950!important;}
.auth-subtitle{color:#bdd0e1!important;font-size:13px!important;margin-bottom:26px!important;}
.auth-card .form-group{margin-top:20px!important;}
.auth-card .form-label{font-size:13px!important;color:#fff!important;}
.auth-card .form-input{margin-top:8px!important;min-height:60px!important;}
.auth-switch{color:#b7cadb!important;font-size:12px!important;margin-top:20px!important;}
.auth-switch button{color:#13c8ff!important;}
.auth-features{max-width:690px!important;margin:25px auto 0!important;padding-top:14px!important;}
.auth-feature{color:#fff!important;}
.auth-feature strong{color:#fff!important;}
.auth-feature span{color:#b7cde0!important;}
.app-footer{color:#9fb7cb!important;}

@media(max-width:700px){
  body:not(.admin-page) .app-container,
  body:not(.admin-page) main,
  .app-header{width:calc(100% - 20px)!important;}
  .app-header{min-height:76px!important;padding:12px 0!important;}
  .app-name{font-size:17px!important;}
  .support-button,.logout-button{min-height:38px!important;padding:0 11px!important;font-size:10px!important;}
  .app-card{padding:23px 18px!important;border-radius:23px!important;}
  .wallet-hero{padding:27px 22px!important;border-radius:25px!important;}
  .wallet-balance{font-size:38px!important;}
  .withdraw-card{padding:21px!important;border-radius:23px!important;}
  .quick-grid{grid-template-columns:1fr!important;}
  .auth-page{padding:20px 10px 30px!important;}
  .brand-hero{padding:5px 8px 21px!important;}
  .brand-aba,.brand-cash{font-size:55px!important;letter-spacing:-2px!important;}
  .brand-tag{font-size:11px!important;margin-top:13px!important;gap:8px!important;}
  .brand-tag span{width:25px!important;}
  .auth-card{padding:28px 20px 24px!important;border-radius:27px!important;}
  .auth-title{font-size:27px!important;}
  .auth-subtitle{font-size:12px!important;margin-bottom:22px!important;}
  .auth-card .form-group{margin-top:18px!important;}
  .auth-card .form-label{font-size:12px!important;}
  .auth-card .form-input{min-height:58px!important;}
  .auth-features{grid-template-columns:1fr!important;gap:14px!important;}
  .auth-feature{display:grid;grid-template-columns:38px 1fr;text-align:left;align-items:center;column-gap:10px;}
  .auth-feature-icon{grid-row:span 2;}
}

/* V14 — bottom navigation is present and visible on every customer page */
.bottom-nav{
  min-height:72px!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
  visibility:visible!important;
  opacity:1!important;
  z-index:9999!important;
}
.bottom-nav-item{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  text-decoration:none!important;
}
body:not(.admin-page) main{padding-bottom:118px!important;}
@media(max-width:600px){.bottom-nav{left:50%!important;width:calc(100% - 16px)!important;bottom:8px!important;min-height:70px!important;}}

/* =========================================================
   ABA CASH — MIRROR GLASS FINISH
   IMPORTANT: visual-only override. Layout and functionality
   remain unchanged.
   ========================================================= */
html, body {
  background: #011a32 !important;
}

body:not(.admin-page) {
  background-color: #011a32 !important;
  background-image:
    linear-gradient(180deg, rgba(0,10,24,.08), rgba(0,8,20,.22)),
    url('app-bg-new.png') !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

body:not(.admin-page)::before {
  background:
    radial-gradient(circle at 50% 10%, rgba(0,204,255,.13), transparent 29%),
    radial-gradient(circle at 8% 55%, rgba(0,125,255,.10), transparent 28%),
    radial-gradient(circle at 92% 70%, rgba(0,220,255,.08), transparent 25%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body:not(.admin-page)::after {
  background: linear-gradient(180deg, rgba(0,12,28,.04), rgba(0,8,20,.18)) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Real mirror/glass cards: translucent, reflective, not solid blue. */
.app-card,
.wallet-hero,
.withdraw-card,
.quick-card,
.review-block,
.support-card,
.help-card,
.admin-card,
.admin-list {
  background:
    linear-gradient(135deg,
      rgba(30,105,151,.27) 0%,
      rgba(3,37,67,.22) 48%,
      rgba(0,17,36,.34) 100%) !important;
  border: 1px solid rgba(135,221,255,.48) !important;
  box-shadow:
    0 24px 70px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(0,205,255,.08) !important;
  backdrop-filter: blur(24px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(145%) !important;
}

/* Subtle reflected light across the top edge. */
.app-card::after,
.wallet-hero::after,
.withdraw-card::after,
.quick-card::after,
.review-block::after,
.support-card::after,
.help-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.wallet-hero,
.withdraw-card,
.quick-card,
.review-block,
.support-card,
.help-card,
.app-card {
  position: relative;
  overflow: hidden;
}

.app-card::after,
.wallet-hero::after,
.withdraw-card::after,
.quick-card::after,
.review-block::after,
.support-card::after,
.help-card::after {
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,.08), transparent 28%, transparent 72%, rgba(0,205,255,.035));
}

/* Text stays crisp over the glass. */
.app-name,
.page-title,
.section-title,
.customer-section-title,
.wallet-balance,
.quick-card strong,
.transaction-main strong,
.review-block-title,
.form-label {
  color: #f7fbff !important;
  text-shadow: 0 1px 10px rgba(0,0,0,.18);
}

.app-subtitle,
.page-description,
.form-help,
.wallet-label,
.wallet-sub,
.quick-card span,
.transaction-main span,
.customer-section-sub,
.app-footer,
.review-label {
  color: #b8d0e3 !important;
}

/* Inputs: dark mirror glass like the reference, while keeping current dimensions. */
.form-input,
select.form-input {
  background:
    linear-gradient(135deg, rgba(39,86,119,.36), rgba(4,28,50,.48)) !important;
  color: #f5fbff !important;
  border: 1px solid rgba(153,220,248,.48) !important;
  box-shadow:
    inset 0 1px 7px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
  backdrop-filter: blur(15px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(15px) saturate(130%) !important;
}

.form-input::placeholder {
  color: #a8c0d4 !important;
}

.form-input:focus,
select.form-input:focus {
  border-color: rgba(22,207,255,.92) !important;
  box-shadow:
    0 0 0 3px rgba(0,193,255,.13),
    0 0 25px rgba(0,193,255,.12),
    inset 0 1px 7px rgba(0,0,0,.16) !important;
}

/* Blue/cyan luminous buttons. */
.primary-button,
.withdraw-button,
.help-button {
  background: linear-gradient(100deg, #0758c8 0%, #08b9ed 100%) !important;
  border: 1px solid rgba(0,216,255,.82) !important;
  box-shadow:
    0 14px 34px rgba(0,112,255,.27),
    0 0 22px rgba(0,196,255,.14),
    inset 0 1px 0 rgba(255,255,255,.18) !important;
}

.primary-button:hover,
.withdraw-button:hover,
.help-button:hover {
  box-shadow:
    0 16px 40px rgba(0,112,255,.36),
    0 0 28px rgba(0,210,255,.20),
    inset 0 1px 0 rgba(255,255,255,.20) !important;
}

/* Header controls become small pieces of glass. */
.support-button,
.logout-button {
  background: rgba(2,28,52,.38) !important;
  border: 1px solid rgba(130,216,250,.46) !important;
  box-shadow:
    0 10px 28px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.13) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}

.logout-button {
  color: #ffb8c0 !important;
  border-color: rgba(255,133,151,.50) !important;
}

/* Bottom navigation: transparent mirror glass, not white. */
.bottom-nav {
  background:
    linear-gradient(135deg, rgba(22,79,111,.42), rgba(1,25,47,.48)) !important;
  border: 1px solid rgba(135,221,255,.46) !important;
  box-shadow:
    0 22px 55px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.15) !important;
  backdrop-filter: blur(25px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(145%) !important;
}

.bottom-nav-item {
  color: #a9c5d9 !important;
}

.bottom-nav-item.active {
  background: linear-gradient(135deg, rgba(0,130,255,.34), rgba(7,211,255,.16)) !important;
  color: #fff !important;
  box-shadow:
    inset 0 0 0 1px rgba(24,205,255,.38),
    0 0 20px rgba(0,172,255,.10) !important;
}

/* Home banner keeps the same glass language instead of becoming a solid block. */
.home-banner {
  background: linear-gradient(135deg, rgba(8,73,115,.48), rgba(2,24,46,.48)) !important;
  border: 1px solid rgba(126,216,255,.40) !important;
  box-shadow: 0 24px 65px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.12) !important;
  backdrop-filter: blur(22px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(140%) !important;
}

/* Auth screens use exactly the same background/glass system. */
.auth-page {
  background: transparent !important;
}
.auth-page::before {
  background-image: url('app-bg-new.png') !important;
  background-size: cover !important;
  background-position: center top !important;
  filter: none !important;
  transform: none !important;
}
.auth-page::after {
  background: linear-gradient(180deg, rgba(0,10,25,.02), rgba(0,8,20,.20)) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.auth-card {
  background: linear-gradient(135deg, rgba(25,96,140,.30), rgba(2,25,48,.34)) !important;
  border: 1px solid rgba(135,221,255,.50) !important;
  box-shadow:
    0 28px 75px rgba(0,0,0,.36),
    inset 0 1px 0 rgba(255,255,255,.16) !important;
  backdrop-filter: blur(25px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(145%) !important;
}

.auth-title { color:#fff !important; }
.auth-subtitle { color:#b9d0e2 !important; }
.auth-switch { color:#b7cde0 !important; }
.auth-switch button { color:#12caff !important; }
.auth-feature { color:#fff !important; }
.auth-feature span { color:#b6ccde !important; }
.auth-feature-icon { color:#12caff !important; }

/* Keep admin visually consistent too. */
body.admin-page {
  background-color:#011a32 !important;
  background-image: url('app-bg-new.png') !important;
  background-size:cover !important;
  background-position:center top !important;
  background-attachment:fixed !important;
}

.admin-page .admin-card,
.admin-page .admin-list {
  background: linear-gradient(135deg, rgba(25,96,140,.30), rgba(2,25,48,.34)) !important;
  border-color: rgba(135,221,255,.45) !important;
  backdrop-filter: blur(24px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(140%) !important;
}

/* =========================================================
   ABA CASH — V16 VISUAL SKIN
   ONLY visual layer: background + glass/color treatment.
   Existing layout and functionality are intentionally untouched.
   Background photo: Pexels photo 10870638 (blue glass buildings at night).
   ========================================================= */
:root{
  --aba-glass-dark: rgba(5, 34, 61, .58);
  --aba-glass-dark-strong: rgba(4, 29, 53, .70);
  --aba-glass-border: rgba(132, 210, 255, .34);
  --aba-cyan: #11c7ff;
  --aba-blue: #0878df;
}

body:not(.admin-page),
body.admin-page{
  background:#031a31 !important;
  color:#f7fbff;
}

body:not(.admin-page)::before,
body.admin-page::before{
  content:"";
  position:fixed;
  inset:-4%;
  z-index:-3;
  pointer-events:none;
  background-image:
    url('app-bg-new.png');
  background-size:cover,cover;
  background-position:center center,center center;
  background-repeat:no-repeat;
  filter:saturate(.95) brightness(.62);
  transform:scale(1.035);
}

body:not(.admin-page)::after,
body.admin-page::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(0,20,40,.34),rgba(0,14,29,.58)),
    radial-gradient(circle at 50% 16%,rgba(0,185,255,.14),transparent 34%),
    linear-gradient(90deg,rgba(0,20,40,.22),transparent 45%,rgba(0,20,40,.25));
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
}

/* Header: keep its existing geometry, only change the visual skin. */
body:not(.admin-page) .app-header{
  color:#fff;
}
body:not(.admin-page) .app-name,
body:not(.admin-page) .app-subtitle{
  color:#fff;
}
body:not(.admin-page) .app-subtitle{opacity:.72;}

.support-button,
.logout-button{
  background:rgba(3,28,51,.56) !important;
  color:#fff !important;
  border-color:rgba(139,215,255,.42) !important;
  box-shadow:0 8px 24px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.12) !important;
  backdrop-filter:blur(18px) saturate(130%);
  -webkit-backdrop-filter:blur(18px) saturate(130%);
}
.logout-button{color:#ffb8bd !important;}

/* The main cards become real dark glass: translucent, blurred, luminous edge. */
.app-card,
.wallet-hero,
.withdraw-card,
.quick-card,
.review-block,
.support-card,
.help-card,
.success-card,
.signature-section{
  background:var(--aba-glass-dark) !important;
  border:1px solid var(--aba-glass-border) !important;
  box-shadow:
    0 20px 55px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.15),
    inset 0 0 34px rgba(21,171,255,.035) !important;
  backdrop-filter:blur(20px) saturate(135%);
  -webkit-backdrop-filter:blur(20px) saturate(135%);
}

.page-title,
.section-title,
.customer-section-title,
.review-block-title,
.wallet-balance,
.quick-card strong,
.support-card-title{
  color:#fff !important;
}
.page-description,
.wallet-sub,
.quick-card span,
.support-card-text,
.customer-section-sub,
.form-help,
.review-label,
.auth-switch,
.app-footer{
  color:rgba(225,240,253,.70) !important;
}

.form-label{
  color:#f4f9ff !important;
}
.form-required{color:#ff8d98 !important;}

/* Dark glass inputs, like the reference. */
.form-input,
select.form-input{
  color:#fff !important;
  background:rgba(5,31,55,.48) !important;
  border:1px solid rgba(152,215,246,.38) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 0 20px rgba(0,145,220,.035) !important;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.form-input::placeholder{color:rgba(215,231,244,.62) !important;}
.form-input:focus,
select.form-input:focus{
  border-color:rgba(17,199,255,.90) !important;
  background:rgba(6,39,68,.60) !important;
  box-shadow:
    0 0 0 3px rgba(17,199,255,.12),
    0 0 22px rgba(17,199,255,.08) !important;
}

.primary-button,
.withdraw-button{
  background:linear-gradient(105deg,#0758bd 0%,#0799e8 55%,#11bce9 100%) !important;
  border:1px solid rgba(17,199,255,.82) !important;
  box-shadow:
    0 12px 30px rgba(0,125,226,.28),
    0 0 24px rgba(17,199,255,.14),
    inset 0 1px 0 rgba(255,255,255,.22) !important;
}

.info-box,
.upload-note{
  background:rgba(4,35,61,.46) !important;
  border-color:rgba(121,204,244,.28) !important;
  color:rgba(225,240,253,.72) !important;
}

/* Bottom navigation: glass, not white. */
.bottom-nav{
  background:rgba(3,29,51,.64) !important;
  border-color:rgba(132,210,255,.32) !important;
  box-shadow:
    0 18px 45px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.14) !important;
  backdrop-filter:blur(22px) saturate(135%);
  -webkit-backdrop-filter:blur(22px) saturate(135%);
}
.bottom-nav-item{color:rgba(221,237,249,.66) !important;}
.bottom-nav-item.active{
  color:#fff !important;
  background:linear-gradient(135deg,rgba(7,105,190,.48),rgba(17,190,239,.22)) !important;
  box-shadow:inset 0 0 0 1px rgba(17,199,255,.25),0 0 18px rgba(17,199,255,.08) !important;
}

/* Authentication uses exactly the same background and glass language. */
.auth-page{
  background:transparent !important;
}
.auth-page::before{
  background-image:
    url('app-bg-new.png') !important;
  filter:saturate(.95) brightness(.58) !important;
}
.auth-page::after{
  background:
    linear-gradient(180deg,rgba(0,19,38,.25),rgba(0,13,27,.58)),
    radial-gradient(circle at 50% 10%,rgba(0,185,255,.13),transparent 35%) !important;
  backdrop-filter:blur(2px) !important;
  -webkit-backdrop-filter:blur(2px) !important;
}
.auth-card{
  background:rgba(4,31,54,.60) !important;
  border-color:rgba(132,210,255,.34) !important;
  box-shadow:
    0 22px 60px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.15),
    inset 0 0 35px rgba(15,166,240,.045) !important;
  backdrop-filter:blur(22px) saturate(135%) !important;
  -webkit-backdrop-filter:blur(22px) saturate(135%) !important;
}
.auth-title{color:#fff !important;}
.auth-subtitle{color:rgba(225,240,253,.72) !important;}
.auth-switch button{color:#13c2ff !important;}
.auth-card::before{
  background:linear-gradient(145deg,#06366a,#079fe8) !important;
  box-shadow:0 10px 28px rgba(0,118,220,.30),inset 0 1px 0 rgba(255,255,255,.30) !important;
}

/* Small labels / transaction text on dark glass. */
.transaction-main strong,
.review-value,
.loan-option-value,
.transaction-amount,
.profile-menu-title{
  color:#fff !important;
}
.transaction-main span,
.loan-option-label,
.profile-menu-subtitle{
  color:rgba(216,233,246,.64) !important;
}

/* Preserve every existing layout breakpoint. */
@media(max-width:600px){
  body:not(.admin-page)::before,
  body.admin-page::before{filter:saturate(.95) brightness(.60);}
}

/* ===== ABA CASH DARK MIRROR SKIN — VISUAL ONLY ===== */
html, body { min-height:100%; }
body, body:not(.admin-page) {
  position:relative;
  isolation:isolate;
  background:#031a31 !important;
  color:#f7fbff;
}
body::before, body:not(.admin-page)::before {
  content:"";
  position:fixed;
  inset:-5%;
  z-index:-3;
  pointer-events:none;
  background-image:url('app-bg-new.png');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  filter:blur(3px) saturate(1.05) brightness(.72);
  transform:scale(1.055);
  opacity:.96;
}
body::after, body:not(.admin-page)::after {
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 12%,rgba(0,201,255,.12),transparent 32%),
    linear-gradient(180deg,rgba(0,17,38,.22),rgba(0,9,24,.58));
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}

/* Auth uses the same global background — no separate light layer */
.auth-page,
.auth-page::before,
.auth-page::after { background:transparent !important; }
.auth-page::before, .auth-page::after { display:none !important; }

/* Mirror glass surfaces */
.app-card,
.wallet-hero,
.withdraw-card,
.quick-card,
.review-block,
.support-card,
.help-card,
.success-card-v5,
.signature-section,
.id-upload-card,
.photo-review,
.admin-list,
.admin-card {
  background:linear-gradient(145deg,rgba(8,53,86,.68),rgba(2,28,52,.60)) !important;
  border:1px solid rgba(91,207,255,.38) !important;
  box-shadow:
    0 24px 65px rgba(0,8,22,.34),
    inset 0 1px 0 rgba(255,255,255,.15),
    inset 0 0 28px rgba(30,164,229,.035) !important;
  backdrop-filter:blur(24px) saturate(135%);
  -webkit-backdrop-filter:blur(24px) saturate(135%);
}

.auth-card {
  background:linear-gradient(145deg,rgba(7,48,80,.70),rgba(1,25,47,.64)) !important;
  border:1px solid rgba(111,211,255,.48) !important;
  box-shadow:
    0 26px 75px rgba(0,7,20,.40),
    inset 0 1px 0 rgba(255,255,255,.17),
    inset 0 0 35px rgba(0,174,255,.045) !important;
  backdrop-filter:blur(25px) saturate(140%);
  -webkit-backdrop-filter:blur(25px) saturate(140%);
}

.page-title,.auth-title,.section-title,
.wallet-balance,.wallet-label,.form-label,
.quick-card strong,.transaction-main strong,
.id-upload-copy strong,.app-name,.app-subtitle,
.admin-card h1,.admin-card h2,.admin-list h2 { color:#f7fbff !important; }
.page-description,.auth-subtitle,.wallet-sub,.quick-card span,
.form-help,.app-footer,.transaction-main span,.wallet-label,
.id-upload-copy span,.admin-card p { color:rgba(218,236,249,.72) !important; }

.form-input,
select.form-input {
  color:#f7fbff !important;
  background:rgba(12,49,78,.56) !important;
  border:1px solid rgba(154,221,248,.42) !important;
  box-shadow:inset 0 1px 10px rgba(0,0,0,.10), inset 0 1px 0 rgba(255,255,255,.07) !important;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.form-input::placeholder { color:rgba(210,231,244,.55) !important; }
.form-input:focus,select.form-input:focus {
  background:rgba(11,58,91,.64) !important;
  border-color:#19bdf4 !important;
  box-shadow:0 0 0 3px rgba(25,189,244,.13),0 0 24px rgba(0,174,255,.10) !important;
}

.primary-button,
.withdraw-button,
.help-button {
  background:linear-gradient(110deg,#0757c9 0%,#08aee9 100%) !important;
  color:#fff !important;
  border:1px solid rgba(50,221,255,.72) !important;
  box-shadow:0 12px 32px rgba(0,133,227,.30),inset 0 1px 0 rgba(255,255,255,.20) !important;
}
.primary-button:hover,.withdraw-button:hover,.help-button:hover {
  box-shadow:0 15px 38px rgba(0,167,239,.38),0 0 20px rgba(0,196,255,.16) !important;
}

.support-button,.logout-button {
  background:rgba(4,34,59,.72) !important;
  border-color:rgba(111,211,255,.38) !important;
  color:#f4fbff !important;
  box-shadow:0 12px 30px rgba(0,9,24,.25),inset 0 1px 0 rgba(255,255,255,.10) !important;
}
.logout-button { color:#ffb8c0 !important; border-color:rgba(255,125,145,.40) !important; }

.bottom-nav {
  background:rgba(3,31,54,.68) !important;
  border-color:rgba(104,211,255,.38) !important;
  box-shadow:0 20px 48px rgba(0,7,20,.40),inset 0 1px 0 rgba(255,255,255,.12) !important;
  backdrop-filter:blur(25px) saturate(140%);
  -webkit-backdrop-filter:blur(25px) saturate(140%);
}
.bottom-nav-item { color:rgba(216,235,248,.70) !important; }
.bottom-nav-item.active {
  color:#39cfff !important;
  background:linear-gradient(135deg,rgba(10,99,163,.58),rgba(0,177,234,.20)) !important;
  box-shadow:inset 0 0 0 1px rgba(40,201,255,.25),0 0 18px rgba(0,180,255,.08) !important;
}

.info-box,.upload-note,.success-info-v5 {
  background:rgba(5,48,78,.48) !important;
  border-color:rgba(99,205,247,.28) !important;
  color:#d9edf8 !important;
}
.id-upload-action {
  background:rgba(6,45,73,.50) !important;
  border-color:rgba(107,211,255,.38) !important;
  color:#8ddfff !important;
}
.id-upload-card.has-image,.signature-wrapper { background:rgba(2,28,49,.58) !important; }

.auth-logo { display:none !important; }
.auth-card::before {
  background:linear-gradient(145deg,#0753a7,#08aee9) !important;
  box-shadow:0 12px 30px rgba(0,143,226,.30),inset 0 1px 0 rgba(255,255,255,.30) !important;
}
.auth-title { text-shadow:0 2px 18px rgba(0,0,0,.20); }
.auth-switch { color:rgba(216,235,248,.72) !important; }
.auth-switch button { color:#22c8ff !important; }
.brand-aba,.brand-cash { text-shadow:0 4px 22px rgba(0,0,0,.35); }
.brand-cash { color:#08c9ff !important; }
.brand-tag { color:#eef9ff !important; }

/* Keep the existing layout dimensions; visual skin only. */

/* =========================================================
   ABA CASH — TRUE GLASS SKIN (VISUAL ONLY)
   Keeps existing layout and functionality unchanged.
   ========================================================= */
html, body { background:#02152f !important; }
body:not(.admin-page){
  background:transparent !important;
  color:#eef8ff !important;
  position:relative;
  isolation:isolate;
}
body:not(.admin-page)::before{
  content:"";
  position:fixed;
  inset:-22px;
  z-index:-3;
  pointer-events:none;
  background-image:url('app-bg-new.png');
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  filter:blur(1.8px) brightness(.62) saturate(1.16);
  transform:scale(1.035);
}
body:not(.admin-page)::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 15%, rgba(0,211,255,.10), transparent 35%),
    linear-gradient(180deg, rgba(1,17,36,.08), rgba(0,9,23,.30));
}

body:not(.admin-page) .app,
body:not(.admin-page) main,
body:not(.admin-page) .app-container,
body:not(.admin-page) .auth-page,
body:not(.admin-page) .auth-container { background:transparent !important; }

/* Every content surface becomes transparent glass. */
body:not(.admin-page) .app-card,
body:not(.admin-page) .wallet-hero,
body:not(.admin-page) .wallet-card,
body:not(.admin-page) .withdraw-card,
body:not(.admin-page) .quick-card,
body:not(.admin-page) .review-block,
body:not(.admin-page) .support-card,
body:not(.admin-page) .help-card,
body:not(.admin-page) .info-box,
body:not(.admin-page) .upload-note,
body:not(.admin-page) .success-info-v5,
body:not(.admin-page) .id-upload-card,
body:not(.admin-page) .id-upload-card.has-image,
body:not(.admin-page) .signature-wrapper,
body:not(.admin-page) .loan-option,
body:not(.admin-page) .transaction-list,
body:not(.admin-page) .progress-card {
  background:linear-gradient(135deg, rgba(8,45,72,.34), rgba(2,22,42,.25)) !important;
  border:1px solid rgba(165,231,255,.24) !important;
  box-shadow:
    0 22px 60px rgba(0,7,20,.26),
    inset 0 1px 0 rgba(255,255,255,.13),
    inset 0 -1px 0 rgba(74,202,255,.08) !important;
  backdrop-filter:blur(18px) saturate(125%) !important;
  -webkit-backdrop-filter:blur(18px) saturate(125%) !important;
}

/* Keep the existing card geometry — visual skin only. */
body:not(.admin-page) .app-card,
body:not(.admin-page) .wallet-hero,
body:not(.admin-page) .withdraw-card,
body:not(.admin-page) .quick-card,
body:not(.admin-page) .review-block,
body:not(.admin-page) .support-card,
body:not(.admin-page) .help-card { color:#eef8ff !important; }

/* Inputs/selects must also remain transparent glass. */
body:not(.admin-page) .form-input,
body:not(.admin-page) select.form-input,
body:not(.admin-page) textarea.form-input {
  background:rgba(3,28,49,.30) !important;
  color:#f5fbff !important;
  border:1px solid rgba(157,226,250,.34) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 0 18px rgba(0,0,0,.08) !important;
  backdrop-filter:blur(13px) saturate(125%) !important;
  -webkit-backdrop-filter:blur(13px) saturate(125%) !important;
}
body:not(.admin-page) .form-input:focus,
body:not(.admin-page) select.form-input:focus,
body:not(.admin-page) textarea.form-input:focus {
  background:rgba(4,39,65,.38) !important;
  border-color:rgba(37,210,255,.72) !important;
  box-shadow:0 0 0 3px rgba(22,192,255,.12), 0 0 24px rgba(0,186,255,.10), inset 0 1px 0 rgba(255,255,255,.13) !important;
}
body:not(.admin-page) .form-input::placeholder { color:rgba(218,238,249,.54) !important; }

/* Secondary controls / upload areas stay glass, not white. */
body:not(.admin-page) .id-upload-action,
body:not(.admin-page) .secondary-button,
body:not(.admin-page) .loan-option,
body:not(.admin-page) .back-button {
  background:rgba(5,37,61,.30) !important;
  color:#eaf8ff !important;
  border-color:rgba(143,220,249,.30) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09) !important;
  backdrop-filter:blur(13px) !important;
  -webkit-backdrop-filter:blur(13px) !important;
}
body:not(.admin-page) .loan-option.selected {
  background:linear-gradient(135deg,rgba(0,129,201,.34),rgba(0,213,255,.12)) !important;
  border-color:rgba(42,211,255,.58) !important;
  box-shadow:inset 0 0 0 1px rgba(49,216,255,.18), 0 0 22px rgba(0,180,255,.10) !important;
}

/* Header and brand sit directly on the common background. */
body:not(.admin-page) .app-header { background:transparent !important; }
body:not(.admin-page) .app-logo {
  background:rgba(4,31,53,.30) !important;
  border:1px solid rgba(155,227,250,.28) !important;
  box-shadow:0 10px 30px rgba(0,5,18,.25), inset 0 1px 0 rgba(255,255,255,.10) !important;
}
body:not(.admin-page) .app-name { color:#f4fbff !important; }
body:not(.admin-page) .app-subtitle { color:rgba(211,234,247,.68) !important; }

/* Buttons: luminous glass-blue, still readable. */
body:not(.admin-page) .primary-button,
body:not(.admin-page) .withdraw-button,
body:not(.admin-page) .help-button {
  background:linear-gradient(110deg,rgba(0,92,205,.78),rgba(0,190,238,.72)) !important;
  border:1px solid rgba(91,232,255,.64) !important;
  box-shadow:0 12px 34px rgba(0,126,224,.28), inset 0 1px 0 rgba(255,255,255,.20) !important;
  backdrop-filter:blur(8px) !important;
  -webkit-backdrop-filter:blur(8px) !important;
}

/* Auth uses the same global background; do not create a second opaque layer. */
body:not(.admin-page) .auth-page::before { display:none !important; }
body:not(.admin-page) .auth-page::after { display:none !important; }
body:not(.admin-page) .auth-card {
  background:linear-gradient(135deg,rgba(7,46,74,.34),rgba(2,22,42,.28)) !important;
  border:1px solid rgba(166,232,255,.30) !important;
  box-shadow:0 28px 70px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.14) !important;
  backdrop-filter:blur(20px) saturate(125%) !important;
  -webkit-backdrop-filter:blur(20px) saturate(125%) !important;
}

/* Navigation is glass too. */
body:not(.admin-page) .bottom-nav {
  background:rgba(3,29,50,.36) !important;
  border:1px solid rgba(145,225,251,.34) !important;
  box-shadow:0 20px 50px rgba(0,4,15,.34), inset 0 1px 0 rgba(255,255,255,.14) !important;
  backdrop-filter:blur(22px) saturate(130%) !important;
  -webkit-backdrop-filter:blur(22px) saturate(130%) !important;
}
body:not(.admin-page) .bottom-nav-item { color:rgba(222,241,250,.72) !important; }
body:not(.admin-page) .bottom-nav-item.active {
  background:rgba(0,157,224,.20) !important;
  color:#47d8ff !important;
  box-shadow:inset 0 0 0 1px rgba(63,219,255,.28), 0 0 20px rgba(0,190,255,.08) !important;
}

/* Text contrast on glass. */
body:not(.admin-page) .page-title,
body:not(.admin-page) .section-title,
body:not(.admin-page) .customer-section-title,
body:not(.admin-page) .review-block-title,
body:not(.admin-page) .wallet-balance,
body:not(.admin-page) .wallet-label,
body:not(.admin-page) .form-label,
body:not(.admin-page) .quick-card strong,
body:not(.admin-page) .transaction-main strong { color:#f4fbff !important; }
body:not(.admin-page) .page-description,
body:not(.admin-page) .form-help,
body:not(.admin-page) .wallet-sub,
body:not(.admin-page) .quick-card span,
body:not(.admin-page) .transaction-main span,
body:not(.admin-page) .customer-section-sub { color:rgba(211,232,244,.70) !important; }

@media(max-width:600px){
  body:not(.admin-page)::before{background-position:center top;}
}

/* =========================================================
   ABA CASH — FINAL CINEMATIC GLASS SKIN
   Visual-only layer. Existing layout and JS are untouched.
   ========================================================= */
:root{
  --glass-bg: rgba(3, 28, 48, .24);
  --glass-bg-strong: rgba(3, 30, 52, .34);
  --glass-border: rgba(160, 226, 255, .30);
  --glass-highlight: rgba(255,255,255,.14);
  --glass-text: #f5fbff;
  --glass-muted: rgba(213,234,247,.74);
  --glass-cyan: #20d5ff;
}

html, body { min-height:100%; }

body:not(.admin-page),
body.admin-page{
  background:#02172d !important;
  color:var(--glass-text) !important;
}

/* One photographic background across the whole app. */
body:not(.admin-page)::before,
body.admin-page::before{
  content:"";
  position:fixed;
  inset:-3%;
  z-index:-3;
  pointer-events:none;
  background-image:url('app-bg-new.png');
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  filter:brightness(.42) saturate(1.10) blur(2px);
  transform:scale(1.035);
}

/* Dark cinematic veil — deliberately translucent so the building remains visible. */
body:not(.admin-page)::after,
body.admin-page::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 12%, rgba(0,196,255,.12), transparent 34%),
    linear-gradient(180deg, rgba(1,13,28,.10), rgba(0,10,24,.34));
}

body:not(.admin-page) .app,
body:not(.admin-page) main,
body:not(.admin-page) .app-container,
body:not(.admin-page) .auth-page,
body:not(.admin-page) .auth-container,
body.admin-page .admin-shell{ background:transparent !important; }

/* All major surfaces: transparent mirror glass. */
body:not(.admin-page) .app-card,
body:not(.admin-page) .wallet-hero,
body:not(.admin-page) .wallet-card,
body:not(.admin-page) .withdraw-card,
body:not(.admin-page) .quick-card,
body:not(.admin-page) .review-block,
body:not(.admin-page) .support-card,
body:not(.admin-page) .help-card,
body:not(.admin-page) .info-box,
body:not(.admin-page) .upload-note,
body:not(.admin-page) .id-upload-card,
body:not(.admin-page) .id-upload-card.has-image,
body:not(.admin-page) .signature-wrapper,
body:not(.admin-page) .loan-option,
body:not(.admin-page) .progress-card,
body:not(.admin-page) .success-info-v5,
body:not(.admin-page) .photo-review,
body:not(.admin-page) .transaction-list{
  background:linear-gradient(135deg, rgba(8,46,72,.28), rgba(2,20,37,.18)) !important;
  border:1px solid var(--glass-border) !important;
  box-shadow:
    0 22px 60px rgba(0,4,14,.28),
    inset 0 1px 0 var(--glass-highlight),
    inset 0 -1px 0 rgba(32,213,255,.07) !important;
  backdrop-filter:blur(18px) saturate(125%) !important;
  -webkit-backdrop-filter:blur(18px) saturate(125%) !important;
  color:var(--glass-text) !important;
}

/* Login/register glass. */
body:not(.admin-page) .auth-page{ background:transparent !important; }
body:not(.admin-page) .auth-page::before,
body:not(.admin-page) .auth-page::after{ display:none !important; }
body:not(.admin-page) .auth-card{
  background:linear-gradient(135deg, rgba(8,46,72,.30), rgba(2,20,37,.22)) !important;
  border:1px solid rgba(165,231,255,.34) !important;
  box-shadow:
    0 28px 75px rgba(0,4,14,.34),
    inset 0 1px 0 rgba(255,255,255,.15) !important;
  backdrop-filter:blur(20px) saturate(130%) !important;
  -webkit-backdrop-filter:blur(20px) saturate(130%) !important;
}

/* Inputs are glass too — absolutely no opaque white fields. */
body:not(.admin-page) .form-input,
body:not(.admin-page) select.form-input,
body:not(.admin-page) textarea.form-input{
  background:rgba(2,23,40,.22) !important;
  color:#f5fbff !important;
  border:1px solid rgba(167,229,251,.34) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 0 18px rgba(0,0,0,.08) !important;
  backdrop-filter:blur(12px) saturate(120%) !important;
  -webkit-backdrop-filter:blur(12px) saturate(120%) !important;
}
body:not(.admin-page) .form-input:focus,
body:not(.admin-page) select.form-input:focus,
body:not(.admin-page) textarea.form-input:focus{
  background:rgba(3,30,51,.28) !important;
  border-color:rgba(32,213,255,.72) !important;
  box-shadow:
    0 0 0 3px rgba(32,213,255,.10),
    0 0 25px rgba(0,190,255,.12),
    inset 0 1px 0 rgba(255,255,255,.13) !important;
}
body:not(.admin-page) .form-input::placeholder{ color:rgba(216,237,249,.58) !important; }

/* Labels/text stay bright on the dark glass. */
body:not(.admin-page) .page-title,
body:not(.admin-page) .section-title,
body:not(.admin-page) .customer-section-title,
body:not(.admin-page) .review-block-title,
body:not(.admin-page) .wallet-balance,
body:not(.admin-page) .wallet-label,
body:not(.admin-page) .form-label,
body:not(.admin-page) .quick-card strong,
body:not(.admin-page) .transaction-main strong,
body:not(.admin-page) .auth-title{ color:#f5fbff !important; }
body:not(.admin-page) .page-description,
body:not(.admin-page) .form-help,
body:not(.admin-page) .wallet-sub,
body:not(.admin-page) .quick-card span,
body:not(.admin-page) .transaction-main span,
body:not(.admin-page) .customer-section-sub,
body:not(.admin-page) .auth-subtitle,
body:not(.admin-page) .auth-switch{ color:var(--glass-muted) !important; }

/* Buttons retain their shape but become luminous glass-blue. */
body:not(.admin-page) .primary-button,
body:not(.admin-page) .withdraw-button,
body:not(.admin-page) .help-button,
body:not(.admin-page) .telegram-button{
  background:linear-gradient(110deg, rgba(0,91,205,.78), rgba(9,191,238,.74)) !important;
  color:#fff !important;
  border:1px solid rgba(79,226,255,.68) !important;
  box-shadow:
    0 12px 34px rgba(0,128,224,.26),
    inset 0 1px 0 rgba(255,255,255,.20) !important;
  backdrop-filter:blur(8px) !important;
  -webkit-backdrop-filter:blur(8px) !important;
}

body:not(.admin-page) .secondary-button,
body:not(.admin-page) .id-upload-action,
body:not(.admin-page) .loan-option{
  background:rgba(3,29,49,.22) !important;
  color:#effaff !important;
  border-color:rgba(155,224,248,.28) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09) !important;
  backdrop-filter:blur(12px) !important;
  -webkit-backdrop-filter:blur(12px) !important;
}

body:not(.admin-page) .loan-option.selected{
  background:linear-gradient(135deg,rgba(0,123,202,.28),rgba(0,211,255,.10)) !important;
  border-color:rgba(43,215,255,.58) !important;
  box-shadow:inset 0 0 0 1px rgba(43,215,255,.16), 0 0 22px rgba(0,180,255,.10) !important;
}

/* Header controls are also transparent glass. */
body:not(.admin-page) .support-button,
body:not(.admin-page) .logout-button{
  background:rgba(2,28,49,.28) !important;
  color:#f5fbff !important;
  border-color:rgba(150,224,249,.34) !important;
  box-shadow:0 8px 25px rgba(0,4,14,.22), inset 0 1px 0 rgba(255,255,255,.12) !important;
  backdrop-filter:blur(14px) !important;
  -webkit-backdrop-filter:blur(14px) !important;
}

/* Bottom nav stays transparent so the building can be seen behind it. */
body:not(.admin-page) .bottom-nav{
  background:rgba(2,28,48,.28) !important;
  border:1px solid rgba(151,224,249,.34) !important;
  box-shadow:0 20px 50px rgba(0,4,15,.30), inset 0 1px 0 rgba(255,255,255,.13) !important;
  backdrop-filter:blur(20px) saturate(125%) !important;
  -webkit-backdrop-filter:blur(20px) saturate(125%) !important;
}
body:not(.admin-page) .bottom-nav-item{ color:rgba(222,242,250,.72) !important; }
body:not(.admin-page) .bottom-nav-item.active{
  background:rgba(0,161,225,.18) !important;
  color:#4bdcff !important;
  box-shadow:inset 0 0 0 1px rgba(63,219,255,.25), 0 0 20px rgba(0,190,255,.08) !important;
}

/* Admin gets the same photographic background without changing its layout. */
body.admin-page{ color:#f5fbff !important; }
body.admin-page .admin-list,
body.admin-page .admin-card{
  background:rgba(3,28,48,.30) !important;
  border:1px solid rgba(160,226,255,.28) !important;
  color:#f5fbff !important;
  box-shadow:0 22px 60px rgba(0,4,14,.28), inset 0 1px 0 rgba(255,255,255,.12) !important;
  backdrop-filter:blur(18px) saturate(125%);
  -webkit-backdrop-filter:blur(18px) saturate(125%);
}

@media(max-width:600px){
  body:not(.admin-page)::before,
  body.admin-page::before{ background-position:center top; }
}


/* =========================================================
   ABA CASH — PHOTO GLASS BACKGROUND / FINAL VISUAL LAYER
   One photographic background across the entire customer app.
   Layout and application behavior are intentionally untouched.
   ========================================================= */
html, body {
  background-color: #03172b !important;
}
body {
  color: #f7fbff !important;
  background-image:
    linear-gradient(180deg, rgba(0, 12, 28, .28), rgba(0, 10, 24, .46)),
    url('app-bg-new.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}
body::before {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(35, 177, 255, .12), transparent 34%),
    linear-gradient(180deg, rgba(1, 18, 39, .04), rgba(0, 7, 20, .24)) !important;
}
body:not(.admin-page)::after {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: -2 !important;
  pointer-events: none !important;
  background: rgba(1, 15, 31, .08) !important;
}
.app, .app-container, .app-main, .auth-page, .auth-container {
  background: transparent !important;
}

/* Every major surface is translucent glass. */
body:not(.admin-page) .app-card,
body:not(.admin-page) .wallet-hero,
body:not(.admin-page) .withdraw-card,
body:not(.admin-page) .quick-card,
body:not(.admin-page) .review-block,
body:not(.admin-page) .support-card,
body:not(.admin-page) .help-card,
body:not(.admin-page) .customer-card,
body:not(.admin-page) .customer-section,
body:not(.admin-page) .success-card,
body:not(.admin-page) .auth-card {
  background: linear-gradient(135deg, rgba(7, 43, 70, .42), rgba(2, 22, 42, .30)) !important;
  border: 1px solid rgba(154, 220, 248, .34) !important;
  box-shadow:
    0 24px 65px rgba(0, 5, 16, .30),
    inset 0 1px 0 rgba(255,255,255,.13),
    inset 0 -1px 0 rgba(65,190,240,.08) !important;
  backdrop-filter: blur(15px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(15px) saturate(125%) !important;
}

/* Inputs/selects/textareas are glass too — background remains visible. */
body:not(.admin-page) .form-input,
body:not(.admin-page) select.form-input,
body:not(.admin-page) textarea.form-input,
body:not(.admin-page) input,
body:not(.admin-page) select,
body:not(.admin-page) textarea {
  background: rgba(219, 235, 249, .16) !important;
  color: #f7fbff !important;
  border: 1px solid rgba(181, 226, 247, .42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.13),
    inset 0 -8px 22px rgba(0, 15, 31, .08),
    0 5px 18px rgba(0, 8, 20, .10) !important;
  backdrop-filter: blur(10px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(120%) !important;
}
body:not(.admin-page) .form-input:focus,
body:not(.admin-page) select.form-input:focus,
body:not(.admin-page) textarea.form-input:focus,
body:not(.admin-page) input:focus,
body:not(.admin-page) select:focus,
body:not(.admin-page) textarea:focus {
  background: rgba(213, 236, 251, .20) !important;
  border-color: rgba(36, 207, 255, .78) !important;
  box-shadow:
    0 0 0 3px rgba(23, 197, 255, .12),
    0 0 24px rgba(0, 180, 255, .13),
    inset 0 1px 0 rgba(255,255,255,.16) !important;
}
body:not(.admin-page) .form-input::placeholder,
body:not(.admin-page) input::placeholder,
body:not(.admin-page) textarea::placeholder {
  color: rgba(225, 241, 251, .62) !important;
}

/* Upload/image areas and informational boxes also stay transparent. */
body:not(.admin-page) .info-box,
body:not(.admin-page) .upload-note,
body:not(.admin-page) .id-upload,
body:not(.admin-page) .id-upload-card,
body:not(.admin-page) .photo-upload,
body:not(.admin-page) .upload-box {
  background: rgba(5, 36, 60, .24) !important;
  border-color: rgba(145, 218, 246, .30) !important;
  backdrop-filter: blur(12px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(120%) !important;
}

/* Header and bottom navigation are glass, not solid blocks. */
body:not(.admin-page) .app-header,
body:not(.admin-page) .header-actions,
body:not(.admin-page) .bottom-nav {
  background: transparent !important;
}
body:not(.admin-page) .support-button,
body:not(.admin-page) .logout-button,
body:not(.admin-page) .secondary-button,
body:not(.admin-page) .bottom-nav {
  background: rgba(3, 29, 50, .25) !important;
  border-color: rgba(157, 220, 246, .34) !important;
  box-shadow:
    0 15px 40px rgba(0, 5, 15, .22),
    inset 0 1px 0 rgba(255,255,255,.12) !important;
  backdrop-filter: blur(16px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(125%) !important;
}

/* Buttons: luminous blue glass. */
body:not(.admin-page) .primary-button,
body:not(.admin-page) .withdraw-button,
body:not(.admin-page) .help-button,
body:not(.admin-page) .telegram-button {
  background: linear-gradient(105deg, rgba(0, 94, 214, .82), rgba(9, 193, 239, .76)) !important;
  border: 1px solid rgba(62, 222, 255, .72) !important;
  box-shadow:
    0 13px 34px rgba(0, 126, 224, .27),
    inset 0 1px 0 rgba(255,255,255,.20) !important;
  backdrop-filter: blur(7px) !important;
  -webkit-backdrop-filter: blur(7px) !important;
}

/* Login background uses the exact same photograph as every other page. */
.auth-page::before {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: -2 !important;
  background-image: url('app-bg-new.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  filter: none !important;
  transform: none !important;
}
.auth-page::after {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: -1 !important;
  background: linear-gradient(180deg, rgba(0, 12, 28, .20), rgba(0, 9, 23, .42)) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.auth-card {
  background: linear-gradient(135deg, rgba(7, 45, 73, .40), rgba(2, 22, 43, .28)) !important;
  backdrop-filter: blur(15px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(15px) saturate(125%) !important;
}

/* Keep admin visually consistent as well. */
body.admin-page {
  background-image:
    linear-gradient(180deg, rgba(0, 12, 28, .28), rgba(0, 10, 24, .46)),
    url('app-bg-new.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: fixed !important;
}
body.admin-page .admin-list,
body.admin-page .admin-card {
  background: rgba(4, 35, 58, .32) !important;
  border-color: rgba(154, 220, 248, .30) !important;
  backdrop-filter: blur(15px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(15px) saturate(120%) !important;
}

/* =========================================================
   ABA CASH — TRUE TRANSPARENT GLASS / SHARED NIGHT BACKDROP
   Keep the existing layout and functionality; visual layer only.
   ========================================================= */
html, body { min-height: 100%; }

body:not(.admin-page) {
  background: #061b2f !important;
  color: #f5f9ff;
}

/* One continuous photograph behind every customer-facing page. */
body:not(.admin-page)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  background-image: url('app-bg-new.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: saturate(.96) brightness(.68);
  transform: scale(1.015);
}

/* Only a subtle tint: the photograph must remain visible. */
body:not(.admin-page)::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -9;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2,20,38,.18), rgba(2,18,34,.30)),
    radial-gradient(circle at 50% 32%, rgba(20,125,210,.08), transparent 52%);
  backdrop-filter: blur(1.2px);
  -webkit-backdrop-filter: blur(1.2px);
}

/* Auth pages use the same body backdrop; do not paint a second opaque layer. */
.auth-page,
.auth-page::before,
.auth-page::after {
  background: transparent !important;
}
.auth-page::before,
.auth-page::after { display: none !important; }

/* Real glass: dark translucent surface, not a solid blue/white block. */
.app-card,
.wallet-hero,
.withdraw-card,
.quick-card,
.review-block,
.support-card,
.help-card,
.auth-card,
.success-card-v5,
.signature-section,
.photo-review,
.id-upload-card {
  background: rgba(5, 38, 68, .42) !important;
  border: 1px solid rgba(145, 210, 245, .34) !important;
  box-shadow:
    0 20px 55px rgba(0, 8, 20, .24),
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 0 30px rgba(40,160,230,.035) !important;
  backdrop-filter: blur(13px) saturate(125%);
  -webkit-backdrop-filter: blur(13px) saturate(125%);
}

/* Keep the main glass panels transparent enough to reveal the tower. */
.app-card { color: #f4f8fc; }
.page-title,
.section-title,
.customer-section-title,
.review-block-title,
.auth-title,
.success-card-v5 .page-title { color: #f7fbff !important; }
.page-description,
.customer-section-sub,
.page-description,
.wallet-sub,
.quick-card span,
.app-subtitle,
.auth-subtitle,
.auth-switch,
.app-footer { color: rgba(224,237,249,.76) !important; }
.form-label,
.wallet-label,
.quick-card strong,
.help-card strong,
.id-upload-copy strong { color: #eef7ff !important; }

/* Inputs are glass too — no white opaque fields. */
.form-input,
select.form-input,
.signature-wrapper,
.id-upload-action {
  background: rgba(220, 238, 255, .105) !important;
  color: #f7fbff !important;
  border: 1px solid rgba(177, 220, 247, .42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 0 18px rgba(70,160,220,.035) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.form-input::placeholder { color: rgba(221,236,249,.58) !important; }
.form-input:focus,
select.form-input:focus {
  background: rgba(220,238,255,.14) !important;
  border-color: rgba(36,184,246,.78) !important;
  box-shadow: 0 0 0 3px rgba(22,164,235,.13), inset 0 1px 0 rgba(255,255,255,.12) !important;
}

/* Header buttons also remain glass. */
.support-button,
.logout-button {
  background: rgba(4, 35, 61, .42) !important;
  color: #f5fbff !important;
  border-color: rgba(145,210,245,.36) !important;
  box-shadow: 0 8px 25px rgba(0,10,25,.18), inset 0 1px 0 rgba(255,255,255,.12);
}
.logout-button { color: #ff9ba5 !important; }

/* Blue action buttons retain contrast without becoming opaque slabs. */
.primary-button,
.help-button {
  background: linear-gradient(110deg, rgba(0,91,204,.86), rgba(8,178,235,.82)) !important;
  border: 1px solid rgba(49,207,255,.58) !important;
  box-shadow: 0 10px 30px rgba(0,116,205,.25), inset 0 1px 0 rgba(255,255,255,.18) !important;
}

/* Navigation is a floating glass sheet. */
.bottom-nav {
  background: rgba(3, 34, 59, .46) !important;
  border-color: rgba(145,210,245,.35) !important;
  box-shadow: 0 18px 45px rgba(0,8,20,.28), inset 0 1px 0 rgba(255,255,255,.13) !important;
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}
.bottom-nav-item { color: rgba(222,237,250,.72) !important; }
.bottom-nav-item.active {
  background: rgba(7,135,211,.20) !important;
  color: #45d6ff !important;
  box-shadow: inset 0 0 0 1px rgba(43,190,244,.38), 0 0 20px rgba(0,161,239,.08) !important;
}

.info-box,
.upload-note,
.locked-note {
  background: rgba(20, 93, 140, .16) !important;
  border-color: rgba(117,201,241,.28) !important;
  color: rgba(225,239,250,.80) !important;
}

.review-row,
.transaction-row { border-color: rgba(135,194,226,.20) !important; }
.progress-bar { background: rgba(205,225,239,.16) !important; }

/* Remove remaining white photo/upload surfaces. */
.photo-review,
.id-upload-card.has-image,
.id-upload-card.has-image .id-upload-action {
  background: rgba(5,38,68,.34) !important;
}
.photo-review span { color: #eef7ff !important; }

/* Auth card is deliberately more transparent, matching the reference. */
.auth-card {
  background: rgba(3, 35, 61, .40) !important;
  border-color: rgba(145,210,245,.38) !important;
}
.auth-card .form-input { background: rgba(225,239,255,.11) !important; }
.auth-card .form-input:focus { background: rgba(225,239,255,.15) !important; }
.auth-switch button { color: #26c8ff !important; }

/* Wallet numbers and other key values stay readable over the photo. */
.wallet-balance,
.transaction-main strong,
.review-row strong,
.review-row span:last-child { color: #f7fbff !important; }

/* =========================================================
   ABA CASH — FINAL BACKDROP LAYER
   The photograph is the actual page background. No negative z-index
   background and no opaque body paint over it.
   ========================================================= */
html,
body {
  background-color: #03182b !important;
}

body:not(.admin-page) {
  background-image:
    linear-gradient(rgba(1, 13, 28, .16), rgba(1, 13, 28, .28)),
    url('app-bg-new.png') !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

/* Never let the auth wrapper create a second opaque backdrop. */
.auth-page,
.auth-page::before,
.auth-page::after {
  background: transparent !important;
  background-image: none !important;
}
.auth-page::before,
.auth-page::after {
  display: none !important;
}

/* Customer page wrappers stay transparent so the photograph remains visible. */
.app,
.app-container,
main,
.auth-container,
.auth-features {
  background: transparent !important;
}

/* True glass: the photo remains visible through every major surface. */
body:not(.admin-page) .app-card,
body:not(.admin-page) .wallet-hero,
body:not(.admin-page) .withdraw-card,
body:not(.admin-page) .quick-card,
body:not(.admin-page) .review-block,
body:not(.admin-page) .support-card,
body:not(.admin-page) .help-card,
body:not(.admin-page) .customer-card,
body:not(.admin-page) .customer-section,
body:not(.admin-page) .success-card,
body:not(.admin-page) .success-card-v5,
body:not(.admin-page) .auth-card,
body:not(.admin-page) .signature-section,
body:not(.admin-page) .photo-review,
body:not(.admin-page) .id-upload-card {
  background: rgba(3, 31, 53, .22) !important;
  border-color: rgba(150, 218, 250, .34) !important;
  box-shadow:
    0 24px 65px rgba(0, 5, 15, .24),
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 0 0 35px rgba(57,180,235,.035) !important;
  backdrop-filter: blur(14px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(125%) !important;
}

/* Inputs/selects are glass too — specifically remove the old opaque white fill. */
body:not(.admin-page) input,
body:not(.admin-page) select,
body:not(.admin-page) textarea,
body:not(.admin-page) .form-input,
body:not(.admin-page) select.form-input,
body:not(.admin-page) textarea.form-input {
  background: rgba(210, 232, 249, .12) !important;
  color: #f7fbff !important;
  border-color: rgba(174, 222, 247, .40) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 4px 18px rgba(0,0,0,.08) !important;
  backdrop-filter: blur(12px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(120%) !important;
}

body:not(.admin-page) input:focus,
body:not(.admin-page) select:focus,
body:not(.admin-page) textarea:focus,
body:not(.admin-page) .form-input:focus {
  background: rgba(210, 232, 249, .16) !important;
  border-color: rgba(27, 204, 255, .78) !important;
}

body:not(.admin-page) input::placeholder,
body:not(.admin-page) textarea::placeholder,
body:not(.admin-page) .form-input::placeholder {
  color: rgba(224, 239, 250, .60) !important;
}

/* Smaller glass surfaces. */
body:not(.admin-page) .info-box,
body:not(.admin-page) .upload-note,
body:not(.admin-page) .locked-note,
body:not(.admin-page) .loan-option,
body:not(.admin-page) .review-row,
body:not(.admin-page) .transaction-row {
  background-color: transparent !important;
}

body:not(.admin-page) .info-box,
body:not(.admin-page) .upload-note,
body:not(.admin-page) .locked-note {
  background: rgba(5, 43, 70, .14) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

body:not(.admin-page) .loan-option {
  background: rgba(3, 35, 58, .16) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

body:not(.admin-page) .bottom-nav {
  background: rgba(3, 31, 52, .24) !important;
  border-color: rgba(150, 218, 250, .34) !important;
  box-shadow:
    0 20px 55px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.14) !important;
  backdrop-filter: blur(18px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(125%) !important;
}

/* Auth page gets the same transparent glass treatment. */
.auth-card {
  background: rgba(3, 31, 53, .20) !important;
  border-color: rgba(150, 218, 250, .38) !important;
  backdrop-filter: blur(14px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(125%) !important;
}

.auth-card .form-input {
  background: rgba(210, 232, 249, .12) !important;
  color: #f7fbff !important;
}

.auth-card .form-input:focus {
  background: rgba(210, 232, 249, .16) !important;
}


/* v26: native choice lists use the same dark glass visual as the customer app. */
body:not(.admin-page) select,
body:not(.admin-page) select.form-input {
  color-scheme: dark;
  color: #f4f8fc !important;
  background: rgba(19, 55, 88, .58) !important;
}
body:not(.admin-page) select option,
body:not(.admin-page) select optgroup {
  background: #0b2944 !important;
  color: #f4f8fc !important;
}
body:not(.admin-page) select option:checked,
body:not(.admin-page) select option:hover {
  background: #1768c8 !important;
  color: #fff !important;
}
body:not(.admin-page) select:disabled { opacity: .58; }


/* =========================================================
   FINAL CLIENT POLISH — v27
   Admin is intentionally excluded from every rule below.
   ========================================================= */
body:not(.admin-page){
  font-family:"Noto Sans Khmer","Khmer OS Battambang","Segoe UI",Arial,sans-serif !important;
}
body:not(.admin-page) .app-card,
body:not(.admin-page) .wallet-hero,
body:not(.admin-page) .review-block,
body:not(.admin-page) .help-card,
body:not(.admin-page) .quick-card,
body:not(.admin-page) .info-box,
body:not(.admin-page) .customer-section,
body:not(.admin-page) .id-upload-card,
body:not(.admin-page) .support-card,
body:not(.admin-page) .account-status-card,
body:not(.admin-page) .status-timeline{
  background:rgba(3,31,53,.20) !important;
  border:1px solid rgba(150,218,250,.32) !important;
  box-shadow:0 22px 60px rgba(0,5,15,.24),inset 0 1px 0 rgba(255,255,255,.12) !important;
  backdrop-filter:blur(14px) saturate(125%) !important;
  -webkit-backdrop-filter:blur(14px) saturate(125%) !important;
}
body:not(.admin-page) .form-input,
body:not(.admin-page) input,
body:not(.admin-page) textarea,
body:not(.admin-page) select{
  background:rgba(210,232,249,.12) !important;
  color:#f7fbff !important;
  border-color:rgba(174,222,247,.42) !important;
}
body:not(.admin-page) .form-input:focus,
body:not(.admin-page) input:focus,
body:not(.admin-page) textarea:focus,
body:not(.admin-page) select:focus{
  background:rgba(210,232,249,.16) !important;
  border-color:rgba(27,204,255,.82) !important;
  box-shadow:0 0 0 3px rgba(27,204,255,.12),inset 0 1px 0 rgba(255,255,255,.10) !important;
}
body:not(.admin-page) .form-label,
body:not(.admin-page) .section-title,
body:not(.admin-page) .customer-section-title,
body:not(.admin-page) .page-title,
body:not(.admin-page) .review-block-title,
body:not(.admin-page) .wallet-label,
body:not(.admin-page) .app-name{
  color:#f5fbff !important;
}
body:not(.admin-page) .page-description,
body:not(.admin-page) .customer-section-sub,
body:not(.admin-page) .form-help,
body:not(.admin-page) .wallet-sub,
body:not(.admin-page) .review-label{
  color:rgba(224,239,250,.76) !important;
}

/* Loan terms: 1–48 months, 4 columns, no native white dropdown. */
.loan-term-native{position:absolute !important;width:1px !important;height:1px !important;opacity:0 !important;pointer-events:none !important;overflow:hidden !important;}
.loan-term-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px;}
.loan-term-tile{min-height:48px;padding:8px 5px;border:1px solid rgba(174,222,247,.34);border-radius:12px;color:#eaf7ff;background:rgba(3,35,58,.20);box-shadow:inset 0 1px 0 rgba(255,255,255,.07);font-size:12px;font-weight:750;transition:.18s ease;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);}
.loan-term-tile:hover{transform:translateY(-1px);border-color:rgba(27,204,255,.68);}
.loan-term-tile.selected{background:linear-gradient(135deg,#0b63c9,#0db7e8);border-color:#19d4ff;box-shadow:0 0 0 1px rgba(25,212,255,.28),0 8px 22px rgba(0,160,255,.20);color:#fff;}
.repayment-hint{margin-top:10px;padding:10px 12px;border-radius:10px;background:rgba(0,174,255,.08);color:#d9f5ff;font-size:11px;}

/* Account status */
.account-status-card{display:flex;align-items:center;gap:11px;margin-top:12px;padding:13px 15px;border-radius:14px;}
.account-status-card strong{display:block;color:#f5fbff;font-size:12px;}
.account-status-card span{display:block;margin-top:3px;color:rgba(224,239,250,.72);font-size:10px;}
.status-dot{width:10px;height:10px;flex:0 0 10px;border-radius:50%;background:#1ee6a1;box-shadow:0 0 14px rgba(30,230,161,.55);}

/* Review section edit action */
.review-block-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid rgba(174,222,247,.18);}
.review-block-heading .review-block-title{padding-bottom:0;border-bottom:0;}
.review-edit{font-size:10px;font-weight:800;color:#20cfff;text-decoration:none;border:1px solid rgba(27,204,255,.42);padding:5px 9px;border-radius:9px;background:rgba(0,174,255,.08);}
.review-edit:hover{background:rgba(0,174,255,.16);}

/* Status timeline */
.status-timeline{margin-top:16px;padding:14px 14px 6px;border-radius:14px;}
.status-step{position:relative;display:flex;gap:11px;padding:0 0 15px;opacity:.48;}
.status-step:not(:last-child)::after{content:"";position:absolute;left:10px;top:22px;width:1px;height:calc(100% - 9px);background:rgba(174,222,247,.20);}
.status-step-dot{width:21px;height:21px;flex:0 0 21px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(174,222,247,.30);color:#b9d4e6;font-size:9px;font-weight:800;background:rgba(3,35,58,.28);}
.status-step strong{display:block;color:#f5fbff;font-size:11px;}
.status-step small{display:block;margin-top:2px;color:rgba(224,239,250,.65);font-size:9px;}
.status-step.done,.status-step.current{opacity:1;}
.status-step.done .status-step-dot,.status-step.current .status-step-dot{border-color:#19d4ff;background:linear-gradient(135deg,#0868d0,#0db7e8);color:#fff;box-shadow:0 0 14px rgba(27,204,255,.25);}
.status-step.rejected .status-step-dot{border-color:#ff6680;background:rgba(220,50,80,.22);color:#fff;}

/* Photo thumbnails on the customer form */
.id-upload-action{position:relative;min-width:84px;}
.id-preview{width:58px;height:58px;object-fit:cover;border-radius:10px;border:1px solid rgba(174,222,247,.35);box-shadow:0 5px 15px rgba(0,0,0,.20);}
.id-remove{position:absolute;right:-4px;top:-7px;width:21px;height:21px;border-radius:50%;background:#081f36;color:#fff;border:1px solid rgba(255,255,255,.25);font-size:14px;line-height:18px;}

/* Keep all client selects dark, including the native popup where the OS permits it. */
body:not(.admin-page) select{color-scheme:dark !important;}
body:not(.admin-page) option,body:not(.admin-page) optgroup{background:#092944 !important;color:#f4f8fc !important;}

@media (max-width:600px){
  .loan-term-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;}
  .loan-term-tile{min-height:45px;font-size:11px;}
  .review-edit{font-size:9px;padding:5px 8px;}
}
@media (max-width:380px){
  .loan-term-grid{gap:6px;}
  .loan-term-tile{min-height:42px;font-size:10px;padding-left:2px;padding-right:2px;}
}


/* Rejected withdrawal: yellow warning icon */
.transaction-icon.rejected{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:rgba(255,193,7,.18);color:#d89b00;font-weight:900;font-size:24px;line-height:1;}


/* Loan contract */
.contract-view-button{width:100%;margin-top:12px;text-align:center;}
.contract-confirm{display:flex;align-items:flex-start;gap:10px;margin-top:14px;padding:12px 13px;border:1px solid #dce8f4;border-radius:12px;background:#f8fbff;color:#40536b;font-size:12px;line-height:1.55;cursor:pointer;}
.contract-confirm input{width:19px;height:19px;flex:0 0 19px;margin:1px 0 0;accent-color:#1976d2;}
.contract-page{max-width:900px;margin-left:auto;margin-right:auto;}
.contract-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;}
.contract-kicker{color:var(--blue-600);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.4px;}
.contract-id{padding:8px 11px;border:1px solid #dce5ef;border-radius:9px;background:#f8fbff;color:var(--text-soft);font-size:10px;font-weight:700;white-space:nowrap;}
.contract-section{margin-top:18px;padding:18px;border:1px solid #e0e8f1;border-radius:14px;background:#fff;}
.contract-section h2{margin:0 0 12px;color:var(--blue-900);font-size:15px;}
.contract-section p{margin:8px 0;color:#40536b;font-size:12px;line-height:1.8;}
.contract-row{display:flex;justify-content:space-between;gap:20px;min-height:43px;align-items:center;border-bottom:1px solid #edf1f5;}
.contract-row:last-child{border-bottom:0;}
.contract-row span{color:var(--text-soft);font-size:11px;}
.contract-row strong{color:var(--blue-950);font-size:12px;text-align:right;}
.contract-signed{margin-top:18px;padding:16px;border:1px solid #dce8f4;border-radius:14px;background:#f7fbff;display:flex;flex-direction:column;gap:6px;color:#40536b;font-size:11px;}
.contract-signed strong{color:#176b45;font-size:13px;}
.contract-signature{max-width:260px;max-height:120px;object-fit:contain;border:1px solid #dce3ea;border-radius:8px;background:#fff;margin-top:8px;}
.contract-profile-row{display:flex;justify-content:space-between;gap:12px;padding-top:12px;color:var(--text-soft);font-size:11px;}
.contract-profile-row strong{color:var(--blue-950);font-size:12px;}
.transaction-contract-link{display:inline-block;margin-top:7px;color:var(--blue-700);font-size:11px;font-weight:800;text-decoration:none;}
.transaction-contract-link:hover{text-decoration:underline;}
@media(max-width:640px){.contract-head{flex-direction:column}.contract-id{white-space:normal}.contract-row{align-items:flex-start;padding:10px 0;}.contract-row strong{max-width:58%;}.contract-section{padding:14px;}}


/* Mobile fixed viewport / prevent iOS input zoom */
@media (max-width: 640px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    input, select, textarea, button {
        font-size: 16px !important;
    }

    .form-input {
        font-size: 16px !important;
        transform: none !important;
    }
}

/* =========================================================
   LOAN TYPE + WHEEL PICKER
   ========================================================= */
.loan-type-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:10px}
.loan-type-option{min-height:78px;display:flex;align-items:center;gap:11px;padding:13px 14px;border:1px solid #dce5ef;border-radius:14px;background:#fff;color:#10233d;text-align:left;box-shadow:0 3px 10px rgba(9,43,87,.035);transition:.18s ease}
.loan-type-option:hover{transform:translateY(-1px);border-color:#b7d0e9}
.loan-type-option.selected{border-color:var(--blue-500);background:linear-gradient(135deg,#f2f8ff,#fff);box-shadow:0 0 0 1px var(--blue-500),0 8px 20px rgba(37,132,220,.10)}
.loan-type-radio{width:18px;height:18px;flex:0 0 18px;border:2px solid #aebdce;border-radius:50%;position:relative}
.loan-type-option.selected .loan-type-radio{border-color:var(--blue-500)}
.loan-type-option.selected .loan-type-radio::after{content:"";position:absolute;inset:4px;border-radius:50%;background:var(--blue-500)}
.loan-type-option strong{display:block;font-size:12px;color:var(--blue-900)}
.loan-type-option small{display:block;margin-top:4px;color:var(--text-light);font-size:10px;line-height:1.45}
.loan-picker-wrap{position:relative;height:188px;margin-top:10px;border:1px solid #dce5ef;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff);overflow:hidden;box-shadow:inset 0 1px 0 #fff,0 5px 16px rgba(9,43,87,.045)}
.loan-wheel{height:100%;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;padding:64px 16px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.loan-wheel::-webkit-scrollbar{display:none}
.loan-wheel-item{display:flex;width:100%;height:40px;align-items:center;justify-content:center;border:0;background:transparent;color:#9aa8b8;font-size:13px;font-weight:650;scroll-snap-align:center;transition:transform .15s ease,color .15s ease,font-size .15s ease}
.loan-wheel-item.selected{color:var(--blue-900);font-size:18px;font-weight:850}
.loan-picker-selection{position:absolute;left:14px;right:14px;top:74px;height:40px;border-top:1px solid rgba(37,132,220,.18);border-bottom:1px solid rgba(37,132,220,.18);border-radius:10px;background:rgba(37,132,220,.045);pointer-events:none}
.loan-picker-mask{position:absolute;left:0;right:0;height:62px;z-index:2;pointer-events:none}
.loan-picker-mask-top{top:0;background:linear-gradient(#f8fbff 20%,rgba(248,251,255,.05))}
.loan-picker-mask-bottom{bottom:0;background:linear-gradient(rgba(255,255,255,.05),#fff 80%)}
@media(max-width:600px){.loan-type-options{grid-template-columns:1fr}.loan-type-option{min-height:70px}.loan-picker-wrap{height:178px}.loan-wheel{padding-top:59px;padding-bottom:59px}.loan-picker-selection{top:69px}}
.contract-table-wrap{width:100%;overflow:auto;margin-top:12px;border:1px solid #e2eaf3;border-radius:12px;background:#fff;-webkit-overflow-scrolling:touch}
.contract-schedule{width:100%;min-width:520px;border-collapse:collapse;font-size:10px}
.contract-schedule th,.contract-schedule td{padding:9px 8px;border-bottom:1px solid #edf1f5;text-align:right;white-space:nowrap}
.contract-schedule th:first-child,.contract-schedule td:first-child{text-align:center}
.contract-schedule th:nth-child(2),.contract-schedule td:nth-child(2){text-align:left}
.contract-schedule th{color:#0b3d78;background:#f6f9fc;font-weight:800}
.contract-schedule tr:last-child td{border-bottom:0}

/* Dynamic monthly interest rate */
.rate-breakdown{
  display:flex;align-items:center;gap:10px;margin:8px 0 4px;padding:10px 12px;
  border:1px solid #dce8f4;border-radius:11px;background:linear-gradient(135deg,#f4f9ff,#fbfdff);
  color:var(--blue-900);font-size:11px;line-height:1.35;
}
.rate-breakdown-icon{
  width:30px;height:30px;display:flex;align-items:center;justify-content:center;flex:0 0 30px;
  border-radius:9px;color:#fff;background:linear-gradient(135deg,var(--blue-700),var(--blue-500));
  font-weight:800;font-size:14px;
}
.rate-breakdown span:last-child{display:flex;flex-direction:column;gap:2px}
.rate-breakdown small{color:var(--text-light);font-size:9px}
.rate-value{font-weight:850}
.rate-help{line-height:1.55}

/* OTP withdrawal flow */
.withdraw-note{display:flex;align-items:flex-start;gap:10px;margin-top:13px;padding:12px 13px;border:1px solid #dce8f5;border-radius:13px;background:linear-gradient(135deg,#f6faff,#ffffff);color:#63758b;font-size:11px;line-height:1.55}
.withdraw-note-icon{width:22px;height:22px;display:flex;align-items:center;justify-content:center;flex:0 0 22px;border-radius:50%;background:#e8f6ef;color:#15945a;font-weight:900}
.pending-withdrawals{margin-top:14px}
.pending-title{display:flex;align-items:center;justify-content:space-between;margin:0 2px 9px;color:#0b3d78;font-size:12px;font-weight:850}
.pending-title small{padding:4px 8px;border-radius:999px;background:#edf5ff;color:#2868a8;font-size:9px;font-weight:800}
.otp-card{padding:18px;border:1px solid #dce7f2;border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(244,249,255,.92));box-shadow:0 10px 28px rgba(9,43,87,.08);margin-bottom:11px}
.otp-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.otp-label{display:block;color:#8b99aa;font-size:9px;letter-spacing:.8px;font-weight:800}
.otp-card-top strong{display:block;margin-top:3px;color:#092b57;font-size:21px;font-weight:900}
.otp-status{padding:6px 9px;border-radius:999px;background:#fff7df;color:#9a6b00;font-size:9px;font-weight:850;white-space:nowrap}
.otp-help{margin-top:9px;color:#6e7f92;font-size:10px;line-height:1.55}
.otp-entry{display:grid;grid-template-columns:1fr 108px;gap:9px;margin-top:13px}
.otp-input{width:100%;height:52px;padding:0 13px;border:2px solid #b9d5ef;border-radius:13px;background:#eaf4ff;color:#000000!important;-webkit-text-fill-color:#000000!important;text-align:center;font-size:20px!important;font-weight:900;letter-spacing:6px;outline:none;box-shadow:inset 0 1px 3px rgba(9,43,87,.06)}
.otp-input:focus{border-color:#1683dc;background:#e3f1ff;color:#000000!important;-webkit-text-fill-color:#000000!important;box-shadow:0 0 0 4px rgba(44,131,212,.13)}
.otp-input::placeholder{color:#6e9ac4;letter-spacing:4px;opacity:1}
.otp-confirm{min-height:52px;border:0;border-radius:13px;background:linear-gradient(100deg,#0756c7,#0ab4ef);color:#fff;font-size:11px;font-weight:850;box-shadow:0 9px 22px rgba(0,128,255,.22);cursor:pointer}
.otp-confirm:disabled{opacity:.55;cursor:not-allowed}
.otp-meta{margin-top:9px;color:#9aa8b8;font-size:9px;text-align:right}
@media(max-width:600px){.otp-card{padding:16px}.otp-entry{grid-template-columns:1fr}.otp-confirm{width:100%}.otp-input{height:55px;font-size:20px!important}}
.admin-otp-box{display:inline-flex;align-items:center;gap:8px;margin-top:6px;padding:7px 11px;border-radius:10px;background:#dceeff;border:1px solid #9cc9ee;box-shadow:0 4px 12px rgba(20,91,150,.08)}.admin-otp-box span{font-size:8px;color:#55748f;font-weight:900;letter-spacing:.7px}.admin-otp-box b{font-size:16px;letter-spacing:3px;color:#063d7a;background:#fff;padding:3px 7px;border-radius:6px}

/* =========================================================
   CUSTOMER BACKGROUND — SINGLE IMAGE OVERRIDE
   Use only the current ABA Bank background; disable legacy
   background layers so images do not stack or double-render.
   ========================================================= */
body:not(.admin-page){
  background-color:#102b4b!important;
  background-image:url('app-bg-new.png')!important;
  background-size:cover!important;
  background-position:center top!important;
  background-repeat:no-repeat!important;
  background-attachment:fixed!important;
}
body:not(.admin-page)::before,
body:not(.admin-page)::after,
body:not(.admin-page) .auth-page::before,
body:not(.admin-page) .auth-page::after{
  background-image:none!important;
  background:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

/* Credit score */
.wallet-credit-score{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:10px;font-size:15px;font-weight:500;color:var(--text,#344054)}
.wallet-credit-score strong{font-size:15px;font-weight:600}

/* Language selector */
.lang-switcher{position:fixed;top:14px;right:14px;z-index:9999;font-family:inherit}
.lang-toggle{border:1px solid var(--border);background:var(--white);color:var(--text);border-radius:10px;padding:9px 12px;font-size:13px;font-weight:600;cursor:pointer;box-shadow:var(--shadow-sm)}
.lang-menu{position:absolute;right:0;top:44px;min-width:130px;background:var(--white);border:1px solid var(--border);border-radius:12px;padding:5px;box-shadow:var(--shadow-md)}
.lang-menu[hidden]{display:none}
.lang-menu button{display:block;width:100%;border:0;background:transparent;color:var(--text);text-align:left;padding:10px;border-radius:8px;cursor:pointer;font:inherit}
.lang-menu button:hover{background:var(--surface-soft)}

/* Four-language selector */
.lang-switcher{position:fixed;top:14px;right:14px;z-index:9999;font-family:inherit}.lang-toggle{border:1px solid rgba(0,0,0,.12);background:#fff;color:#111;border-radius:10px;padding:8px 11px;font-size:13px;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.08)}.lang-menu{position:absolute;right:0;top:44px;min-width:160px;background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:10px;padding:5px;box-shadow:0 6px 20px rgba(0,0,0,.12)}.lang-menu[hidden]{display:none}.lang-menu button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:10px 11px;border-radius:7px;font:inherit;cursor:pointer;color:#111}.lang-menu button:hover{background:#f3f4f6}@media(max-width:600px){.lang-switcher{top:8px;right:8px}.lang-toggle{padding:7px 9px;font-size:12px}}


/* Language selector: keep it inside the header action group and match the app's glass controls. */
.lang-switcher{position:relative;top:auto;right:auto;z-index:20;display:inline-flex;align-items:center;font-family:inherit}
.lang-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 11px;border:1px solid rgba(124,213,255,.45);border-radius:10px;background:rgba(2,28,52,.62);color:#fff;box-shadow:0 8px 25px rgba(0,0,0,.20);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);font:inherit;font-size:10px;font-weight:700;cursor:pointer;white-space:nowrap;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.lang-toggle:hover{background:rgba(6,43,72,.78);border-color:rgba(124,213,255,.68)}
.lang-toggle:active{transform:translateY(1px)}
.lang-globe{font-size:15px;line-height:1}
.lang-current{line-height:1}
.lang-chevron{font-size:13px;line-height:1;opacity:.8}
.lang-menu{position:absolute;right:0;top:calc(100% + 7px);min-width:158px;background:rgba(4,25,45,.96);border:1px solid rgba(124,213,255,.35);border-radius:12px;padding:5px;box-shadow:0 12px 28px rgba(0,0,0,.28);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.lang-menu[hidden]{display:none}
.lang-menu button{display:block;width:100%;text-align:left;border:0;background:transparent;color:#fff;padding:10px 11px;border-radius:8px;font:inherit;font-size:11px;cursor:pointer}
.lang-menu button:hover{background:rgba(124,213,255,.12)}
@media(max-width:600px){.lang-toggle{min-height:38px;padding:0 9px;font-size:9px}.lang-current{max-width:72px;overflow:hidden;text-overflow:ellipsis}.lang-menu{min-width:150px}}


/* Language selector: integrated with header controls, never a solid white floating box. */
body:not(.admin-page) .lang-switcher{position:relative;top:auto;right:auto;z-index:30;display:inline-flex;align-items:center;font-family:inherit;margin:0}
body:not(.admin-page) .lang-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 11px;border:1px solid rgba(157,220,246,.34);border-radius:10px;background:rgba(3,29,50,.25)!important;color:#fff!important;box-shadow:0 15px 40px rgba(0,5,15,.22),inset 0 1px 0 rgba(255,255,255,.12);backdrop-filter:blur(16px) saturate(125%);-webkit-backdrop-filter:blur(16px) saturate(125%);font:inherit;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}
body:not(.admin-page) .lang-toggle:hover{background:rgba(3,29,50,.42)!important;border-color:rgba(124,213,255,.6)}
.lang-globe{font-size:15px;line-height:1}.lang-current{line-height:1}.lang-chevron{font-size:13px;line-height:1;opacity:.8}
body:not(.admin-page) .lang-menu{position:absolute;right:0;top:calc(100% + 7px);min-width:158px;background:rgba(4,25,45,.97);border:1px solid rgba(124,213,255,.35);border-radius:12px;padding:5px;box-shadow:0 12px 28px rgba(0,0,0,.28);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
body:not(.admin-page) .lang-menu[hidden]{display:none}
body:not(.admin-page) .lang-menu button{display:block;width:100%;text-align:left;border:0;background:transparent;color:#fff;padding:10px 11px;border-radius:8px;font:inherit;font-size:11px;cursor:pointer}
body:not(.admin-page) .lang-menu button:hover{background:rgba(124,213,255,.12)}
@media(max-width:600px){body:not(.admin-page) .lang-toggle{min-height:36px;padding:0 8px;font-size:10px}.lang-current{max-width:72px;overflow:hidden;text-overflow:ellipsis}}


/* Latest requested balance: smaller customer logo/brand mark */
body:not(.admin-page) .brand-mark{width:44px;height:44px;border-radius:14px;font-size:12px;}
body:not(.admin-page) .app-logo{width:44px;height:44px;border-radius:13px;}
@media(max-width:600px){body:not(.admin-page) .brand-mark{width:42px;height:42px;border-radius:13px;}body:not(.admin-page) .app-logo{width:42px;height:42px;border-radius:12px;}}
/* Wallet credit score alignment */
.wallet-credit-score{
  justify-content:flex-start !important;
  color:#fff !important;
  margin-left:8px !important;
  text-align:left !important;
}
.wallet-credit-score span,
.wallet-credit-score strong{
  color:#fff !important;
}

.draft-save-status{margin-top:8px;font-size:12px;line-height:1.4;opacity:.78;text-align:right}

/* Draft resume UI */
.draft-resume-card{display:flex;align-items:center;gap:14px;padding:16px 18px;margin:0 0 18px;border:1px solid rgba(37,99,235,.18);border-radius:16px;background:linear-gradient(135deg,rgba(239,246,255,.96),rgba(255,255,255,.98));box-shadow:0 8px 24px rgba(15,23,42,.06)}
.draft-resume-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:12px;background:#2563eb;color:#fff;font-size:22px;font-weight:700}
.draft-resume-main{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.draft-resume-main strong{font-size:16px;color:#0f172a}.draft-resume-main span{font-size:13px;line-height:1.45;color:#64748b}.draft-resume-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:nowrap;padding:10px 16px!important;min-width:112px}
@media(max-width:640px){.draft-resume-card{align-items:flex-start;flex-wrap:wrap}.draft-resume-main{flex-basis:calc(100% - 56px)}.draft-resume-button{width:100%}}

/* Prominent loan application CTA on wallet: matches the main withdraw-button blue theme. */
.loan-cta-card{
  margin:12px 0 14px;
  border:1px solid rgba(0,210,255,.75);
  border-radius:20px;
  background:linear-gradient(100deg,#0756c7 0%,#0ab4ef 100%);
  box-shadow:0 12px 32px rgba(0,137,255,.30),0 0 20px rgba(0,193,255,.10);
  overflow:hidden;
}
.loan-cta-link{
  min-height:92px;
  padding:16px 17px;
  display:flex;
  align-items:center;
  gap:13px;
  text-decoration:none;
  color:#fff;
  position:relative;
}
.loan-cta-link:active{transform:scale(.99)}
.loan-cta-icon{
  width:48px;height:48px;flex:0 0 48px;
  display:flex;align-items:center;justify-content:center;
  border-radius:15px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.48);
  color:#fff;
  font-size:31px;font-weight:900;line-height:1;
  box-shadow:0 6px 18px rgba(0,42,120,.22);
}
.loan-cta-copy{min-width:0;display:flex;flex-direction:column;gap:5px;}
.loan-cta-copy strong{
  color:#fff;
  font-size:21px;
  font-weight:950;
  line-height:1.18;
  letter-spacing:.1px;
}
.loan-cta-copy span{
  color:rgba(255,255,255,.86);
  font-size:12px;
  font-weight:700;
  line-height:1.4;
}
.loan-cta-arrow{
  margin-left:auto;
  color:#fff;
  font-size:35px;
  font-weight:900;
  line-height:1;
}
@media (max-width:420px){
  .loan-cta-link{min-height:88px;padding:14px 14px;gap:11px}
  .loan-cta-icon{width:44px;height:44px;flex-basis:44px;font-size:28px}
  .loan-cta-copy strong{font-size:19px}
  .loan-cta-copy span{font-size:11px}
}

/* Identity photo visibility fixes */
.photo-missing{display:flex;align-items:center;justify-content:center;min-height:145px;background:#f8fafc!important;}
.photo-missing-inner{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#374151!important;font-size:11px;font-weight:800;text-align:center;padding:12px;}
.photo-missing-inner small{color:#6b7280!important;font-size:9px;font-weight:600;}
.admin-page .profile-photo-grid .photo-review{display:block;position:relative;border-radius:12px;overflow:hidden;border:1px solid #e5e7eb;background:#fff;}
.admin-page .profile-photo-grid .photo-review img{display:block;width:100%;height:145px;object-fit:cover;}
.admin-page .profile-photo-grid .photo-review span{display:block;padding:8px 10px;color:#374151!important;font-size:10px;font-weight:800;}
@media(max-width:600px){.photo-missing{min-height:125px}.admin-page .profile-photo-grid .photo-review img{height:125px;}}

/* HỒ SƠ final requested fixes */
.wallet-credit-score{font-size:22.5px!important;font-weight:800!important;color:#ff3b30!important;gap:10px!important;}
.wallet-credit-score span,.wallet-credit-score strong{color:#ff3b30!important;font-size:22.5px!important;font-weight:850!important;}
.contract-id{color:#fff!important;background:rgba(2,28,52,.42)!important;border-color:rgba(255,255,255,.28)!important;}
.money-input{font-variant-numeric:tabular-nums;letter-spacing:.1px;}
.contract-table-wrap{overflow-x:auto!important;max-width:100%;}
.contract-schedule{min-width:0!important;width:100%!important;font-size:11px!important;table-layout:fixed!important;}
.contract-schedule th,.contract-schedule td{white-space:normal!important;word-break:break-word!important;padding:8px 5px!important;}
.contract-schedule th:nth-child(1),.contract-schedule td:nth-child(1){width:9%!important;text-align:center!important;}
.contract-schedule th:nth-child(2),.contract-schedule td:nth-child(2){width:27%!important;text-align:left!important;}
.contract-schedule th:nth-child(3),.contract-schedule td:nth-child(3){width:21%!important;text-align:right!important;}
.contract-schedule th:nth-child(4),.contract-schedule td:nth-child(4){width:21%!important;text-align:right!important;}
.contract-schedule th:nth-child(5),.contract-schedule td:nth-child(5){width:22%!important;text-align:right!important;}
@media(max-width:420px){.contract-schedule{font-size:10px!important}.contract-schedule th,.contract-schedule td{padding:7px 3px!important}.contract-section{padding:12px!important}.contract-section p{font-size:12px!important;line-height:1.7!important}.contract-row span,.contract-row strong{font-size:11px!important}.contract-page{padding-bottom:95px!important}}
.lang-switcher{display:none!important}


/* Latest test fixes */
.wallet-credit-score{font-size:12px!important;font-weight:700!important;color:#fff!important;gap:6px!important;margin-left:0!important;line-height:1.35!important;justify-content:flex-start!important;text-align:left!important;}
.wallet-credit-score span,.wallet-credit-score strong{font-size:12px!important;font-weight:700!important;color:#fff!important;}
.currency{color:#fff!important;font-weight:900!important;}
.back-button{padding:8px 12px!important;border:1px solid rgba(157,220,246,.45)!important;border-radius:10px!important;background:rgba(3,29,50,.30)!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.10)!important;}
.back-button:hover{color:#fff!important;background:rgba(3,29,50,.48)!important;border-color:rgba(124,213,255,.65)!important;}
.signature-canvas{background:rgba(3,29,50,.20)!important;}
.signature-section .signature-wrapper{background:rgba(3,29,50,.34)!important;border-color:rgba(255,255,255,.35)!important;}
.help-card{display:none!important;}
@media(max-width:600px){.wallet-credit-score,.wallet-credit-score span,.wallet-credit-score strong{font-size:11px!important;}}


/* Customer app: contact entry points removed as requested */
body:not(.admin-page) .support-button{display:none!important;}


/* =========================================================
   HỒ SƠ — FINAL USER-REQUESTED POLISH
   Visual-only fixes; no business logic or Admin permissions changed.
   ========================================================= */
body:not(.admin-page) .wallet-credit-score,
body:not(.admin-page) .wallet-credit-score span,
body:not(.admin-page) .wallet-credit-score strong{
  font-size:12px !important;
  line-height:1.35 !important;
  font-weight:700 !important;
  color:#fff !important;
}
body:not(.admin-page) .wallet-credit-score{
  justify-content:flex-start !important;
  text-align:left !important;
  margin-top:10px !important;
  margin-left:0 !important;
  gap:6px !important;
}
body:not(.admin-page) .currency{color:#fff !important;font-weight:900 !important;}
body:not(.admin-page) .back-button{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:38px !important;
  padding:7px 13px !important;
  border:1px solid rgba(157,220,246,.55) !important;
  border-radius:12px !important;
  background:rgba(3,29,50,.34) !important;
  color:#fff !important;
  box-shadow:0 7px 20px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.12) !important;
}
body:not(.admin-page) .back-button:hover{
  background:rgba(3,29,50,.52) !important;
  border-color:rgba(124,213,255,.75) !important;
}
body:not(.admin-page) .signature-canvas{background:rgba(3,29,50,.20) !important;}
body:not(.admin-page) .success-info-v5 strong{color:#fff !important;}
body:not(.admin-page) .success-info-v5 span{color:rgba(224,239,250,.78) !important;}

/* Every customer-facing form field gets the same rounded treatment. */
body:not(.admin-page) input,
body:not(.admin-page) select,
body:not(.admin-page) textarea,
body:not(.admin-page) .form-input,
body:not(.admin-page) select.form-input,
body:not(.admin-page) textarea.form-input,
body:not(.admin-page) .otp-input{
  border-radius:14px !important;
}
body:not(.admin-page) .money-input-wrap{border-radius:15px !important;overflow:hidden;}
body:not(.admin-page) .loan-picker-wrap,
body:not(.admin-page) .loan-type-option,
body:not(.admin-page) .loan-term-tile,
body:not(.admin-page) .upload-box,
body:not(.admin-page) .photo-review,
body:not(.admin-page) .signature-wrapper{
  border-radius:14px !important;
}

/* Contract schedule: keep every cell on one line and fit the phone width. */
body:not(.admin-page) .contract-table-wrap{overflow-x:hidden !important;}
body:not(.admin-page) .contract-schedule{
  min-width:0 !important;
  width:100% !important;
  table-layout:fixed !important;
  font-size:9px !important;
}
body:not(.admin-page) .contract-schedule th,
body:not(.admin-page) .contract-schedule td{
  white-space:nowrap !important;
  word-break:normal !important;
  overflow:hidden !important;
  text-overflow:clip !important;
  padding:7px 2px !important;
  line-height:1.2 !important;
}
body:not(.admin-page) .contract-schedule th{font-size:8px !important;}
body:not(.admin-page) .contract-schedule th:nth-child(1),body:not(.admin-page) .contract-schedule td:nth-child(1){width:8% !important;}
body:not(.admin-page) .contract-schedule th:nth-child(2),body:not(.admin-page) .contract-schedule td:nth-child(2){width:29% !important;}
body:not(.admin-page) .contract-schedule th:nth-child(3),body:not(.admin-page) .contract-schedule td:nth-child(3){width:20% !important;}
body:not(.admin-page) .contract-schedule th:nth-child(4),body:not(.admin-page) .contract-schedule td:nth-child(4){width:21% !important;}
body:not(.admin-page) .contract-schedule th:nth-child(5),body:not(.admin-page) .contract-schedule td:nth-child(5){width:22% !important;}

/* No customer-facing contact/support block or support button. */
body:not(.admin-page) .support-card,
body:not(.admin-page) .help-card,
body:not(.admin-page) .support-button{display:none !important;}


/* Final test-fix batch: customer card rounding, compact contract schedule, stable transaction history layout. */
body:not(.admin-page) .customer-section{
  border-radius:14px !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}
body:not(.admin-page) .contract-schedule{
  border-collapse:separate !important;
  border-spacing:0 !important;
}
body:not(.admin-page) .contract-schedule th,
body:not(.admin-page) .contract-schedule td{
  border-right:1px solid rgba(120,155,185,.28) !important;
  white-space:nowrap !important;
  word-break:normal !important;
  overflow:hidden !important;
  text-overflow:clip !important;
}
body:not(.admin-page) .contract-schedule th:last-child,
body:not(.admin-page) .contract-schedule td:last-child{
  border-right:0 !important;
}
body:not(.admin-page) .contract-schedule th:nth-child(1),body:not(.admin-page) .contract-schedule td:nth-child(1){width:8% !important;}
body:not(.admin-page) .contract-schedule th:nth-child(2),body:not(.admin-page) .contract-schedule td:nth-child(2){width:29% !important;text-align:left !important;padding-left:4px !important;padding-right:4px !important;}
body:not(.admin-page) .contract-schedule th:nth-child(3),body:not(.admin-page) .contract-schedule td:nth-child(3){width:20% !important;padding-left:3px !important;padding-right:3px !important;}
body:not(.admin-page) .contract-schedule th:nth-child(4),body:not(.admin-page) .contract-schedule td:nth-child(4){width:21% !important;padding-left:3px !important;padding-right:3px !important;}
body:not(.admin-page) .contract-schedule th:nth-child(5),body:not(.admin-page) .contract-schedule td:nth-child(5){width:22% !important;padding-left:3px !important;padding-right:3px !important;}
body:not(.admin-page) .contract-schedule th,body:not(.admin-page) .contract-schedule td{line-height:1.15 !important;}
body:not(.admin-page) .transaction-list{
  display:block !important;
  width:100% !important;
  margin-top:18px !important;
  clear:both !important;
  box-sizing:border-box !important;
  overflow:visible !important;
}
body:not(.admin-page) .transaction-row{
  position:relative !important;
  width:100% !important;
  box-sizing:border-box !important;
  display:grid !important;
  grid-template-columns:40px minmax(0,1fr) auto !important;
  gap:12px !important;
  align-items:center !important;
  clear:both !important;
}
body:not(.admin-page) .transaction-main{min-width:0 !important;overflow:visible !important;}
body:not(.admin-page) .transaction-amount{grid-column:auto !important;margin-top:0 !important;text-align:right !important;white-space:nowrap !important;}
@media(max-width:600px){
  body:not(.admin-page) .transaction-row{grid-template-columns:36px minmax(0,1fr) auto !important;gap:9px !important;}
  body:not(.admin-page) .transaction-amount{grid-column:auto !important;margin-top:0 !important;font-size:11px !important;}
}
