:root {
    --purple-900: #3f1f9d;
    --purple-700: #5a34c7;
    --purple-500: #7b56e8;
    --bg-soft: #f4f6fb;
    --text-main: #1f2430;
    --text-muted: #6d7385;
    --success: #198754;
    --danger: #dc3545;
    --card: #ffffff;
    --radius: 16px;
    --bottom-nav-height: 84px;
}

* {
    box-sizing: border-box;
}

body.user-body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-main);
    background: var(--bg-soft);
}

a {
    color: inherit;
    text-decoration: none;
}

.user-shell {
    min-height: 100vh;
    width: 100%;
    padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
}

.user-utility-bar {
    width: min(1060px, calc(100% - 24px));
    margin: 12px auto 0;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 4;
}

.user-lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(208, 220, 234, .92);
    box-shadow: 0 10px 22px rgba(19, 38, 72, .08);
    backdrop-filter: blur(12px);
}

.user-lang-label {
    color: #3b5166;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.user-lang-select {
    min-width: 220px;
    width: auto;
    border-radius: 12px;
    padding: 10px 38px 10px 12px;
    color: #173b46;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(183, 202, 218, .95);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .45) inset;
    cursor: pointer;
}

.user-lang-select:focus {
    outline: none;
    border-color: rgba(30, 126, 103, .65);
    box-shadow: 0 0 0 3px rgba(30, 126, 103, .12);
}

.user-google-translate-anchor {
    position: fixed;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    max-height: 0 !important;
}

body > .skiptranslate,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover,
.goog-text-highlight {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

html {
    margin-top: 0 !important;
}

body.user-body {
    top: 0 !important;
    margin-top: 0 !important;
}

@media (max-width: 640px) {
    .user-utility-bar {
        width: min(100%, calc(100% - 20px));
        justify-content: center;
    }

    .user-lang-switcher {
        width: 100%;
        justify-content: space-between;
    }

    .user-lang-select {
        min-width: 0;
        width: min(100%, 240px);
    }
}

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: linear-gradient(180deg, #2f72b8 0%, #94b8e3 40%, #d7e7f6 100%);
    padding: 14px 12px 108px;
}

.auth-theme-strip {
    width: min(760px, 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(10, 51, 98, .28);
    margin-bottom: 14px;
}

.auth-theme-strip .dash-slider-track {
    height: 188px;
}

.auth-card {
    width: min(460px, 100%);
    background: rgba(255, 255, 255, .95);
    border-radius: 18px;
    padding: 26px 20px 20px;
    box-shadow: 0 16px 36px rgba(11, 48, 93, .22);
    border: 1px solid rgba(188, 207, 233, .75);
}

.auth-card .form-group label {
    color: #5a85bf;
    font-size: 16px;
}

.auth-card input {
    border: 2px solid #0a5ba8;
    border-radius: 14px;
    min-height: 58px;
    font-size: 18px;
    color: #0b4d8f;
}

.auth-card .btn-primary {
    background: #0a4f95;
    border-radius: 14px;
    min-height: 56px;
    font-size: 22px;
    font-weight: 500;
}

.auth-title {
    text-align: center;
    margin: 0 0 18px;
    font-size: 42px;
    font-weight: 700;
    color: #0a4f95;
}

.form-group {
    margin-bottom: 12px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--text-muted);
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #ccd3e0;
    border-radius: 10px;
    padding: 11px 12px;
    font-size: 14px;
    background: #fff;
}

textarea {
    min-height: 90px;
    resize: vertical;
}

.btn {
    border: 0;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: var(--purple-700);
    color: #fff;
}

.btn-outline {
    border: 1px solid var(--purple-700);
    color: var(--purple-700);
    background: #fff;
}

.btn-muted {
    background: #d8deeb;
    color: #293041;
}

.auth-foot {
    text-align: center;
    margin-top: 14px;
    color: #446f99;
    font-size: 16px;
}

.auth-foot a {
    color: #0a4f95;
    font-weight: 600;
}

.auth-note {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(10, 91, 168, .08);
    border: 1px solid rgba(10, 91, 168, .16);
    color: #365f8a;
    font-size: 14px;
    line-height: 1.5;
}

.auth-note strong {
    color: #0a4f95;
}

.alert {
    margin: 12px auto;
    width: min(760px, calc(100% - 20px));
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
}

.alert-success {
    background: #def7e7;
    color: #0f5132;
}

.alert-error {
    background: #f8d7da;
    color: #842029;
}

.frozen-banner {
    width: min(1060px, calc(100% - 20px));
    margin: 14px auto 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 22px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(188, 27, 70, .92), rgba(122, 31, 98, .9)),
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, .18), transparent 42%);
    border: 1px solid rgba(255, 221, 230, .34);
    box-shadow: 0 18px 34px rgba(102, 16, 49, .28);
}

.frozen-banner.is-dismissed {
    display: none;
}

.frozen-banner.is-attention {
    animation: frozenBannerPulse .48s ease;
}

.frozen-banner-mark {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .22);
    display: grid;
    place-items: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

.frozen-banner-mark span {
    position: relative;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2px solid currentColor;
}

.frozen-banner-mark span::before,
.frozen-banner-mark span::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: currentColor;
    border-radius: 999px;
}

.frozen-banner-mark span::before {
    top: 3px;
    width: 2px;
    height: 9px;
}

.frozen-banner-mark span::after {
    bottom: 3px;
    width: 3px;
    height: 3px;
}

.frozen-banner-copy {
    min-width: 0;
}

.frozen-banner-kicker {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 234, 240, .82);
}

.frozen-banner-copy h2 {
    margin: 0;
    font-size: clamp(20px, 3vw, 28px);
    line-height: 1.12;
}

.frozen-banner-copy p {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 245, 248, .96);
}

.frozen-banner-copy small {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 228, 235, .82);
}

.frozen-banner-close {
    min-width: 102px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 16px;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

.frozen-prompt {
    position: fixed;
    inset: 0;
    z-index: 320;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(18, 24, 41, .48);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.frozen-prompt.is-open {
    display: flex;
}

.frozen-prompt-dialog {
    width: min(520px, 100%);
    border-radius: 26px;
    padding: 22px;
    color: #14213b;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(247, 250, 255, .9)),
        radial-gradient(circle at 0% 0%, rgba(255, 208, 221, .2), transparent 40%);
    border: 1px solid rgba(233, 208, 218, .85);
    box-shadow: 0 22px 44px rgba(17, 31, 67, .24);
}

.frozen-prompt-top {
    border-radius: 20px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(255, 241, 245, .92), rgba(255, 247, 250, .9));
    border: 1px solid rgba(237, 213, 222, .92);
}

.frozen-prompt-kicker {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #b4235a;
}

.frozen-prompt-top h2 {
    margin: 0;
    font-size: 26px;
    line-height: 1.12;
    color: #1c2742;
}

.frozen-prompt-top p {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.65;
    color: #4f5a71;
}

.frozen-prompt-actions {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.frozen-guard-target {
    cursor: not-allowed !important;
}

.frozen-page-wrap {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 40px);
}

.frozen-page-card {
    width: min(760px, 100%);
    padding: 28px 24px;
    border-radius: 28px;
}

.frozen-page-header {
    padding: 22px;
    border-radius: 24px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(191, 30, 74, .94), rgba(128, 45, 112, .92)),
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, .22), transparent 42%);
    box-shadow: 0 20px 36px rgba(99, 18, 53, .24);
}

.frozen-page-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255, 232, 238, .82);
}

.frozen-page-header h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.08;
}

.frozen-page-header p {
    margin: 10px 0 0;
    max-width: 60ch;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 244, 247, .95);
}

.frozen-page-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.frozen-page-panel {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .42);
    border: 1px solid rgba(214, 225, 244, .86);
}

.frozen-page-panel h2 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #1f2f53;
}

.frozen-page-panel p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #31405d;
}

.frozen-page-meta {
    margin: 0;
    display: grid;
    gap: 12px;
}

.frozen-page-meta div {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .52);
    border: 1px solid rgba(218, 229, 247, .92);
}

.frozen-page-meta dt {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #6a7791;
}

.frozen-page-meta dd {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #1b2740;
}

.frozen-page-actions {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
}

.frozen-page-logout {
    min-width: 160px;
}

.is-frozen-account .dash-action-btn,
.is-frozen-account .dash-menu-card,
.is-frozen-account .wallet-modern-action-btn,
.is-frozen-account .wallet-modern-withdraw-btn,
.is-frozen-account .setting-btn-blue,
.is-frozen-account .apply-loan-submit,
.is-frozen-account .btn-primary,
.is-frozen-account .btn-outline,
.is-frozen-account .status-item,
.is-frozen-account .bottom-nav a,
.is-frozen-account .section-card form,
.is-frozen-account .inline-buttons .btn,
.is-frozen-account .auth-card form button {
    filter: saturate(.72);
}

.is-frozen-account [data-frozen-allow] {
    filter: none !important;
}

@keyframes frozenBannerPulse {
    0% {
        transform: translateY(0);
        box-shadow: 0 18px 34px rgba(102, 16, 49, .28);
    }

    50% {
        transform: translateY(-2px);
        box-shadow: 0 24px 42px rgba(102, 16, 49, .34);
    }

    100% {
        transform: translateY(0);
        box-shadow: 0 18px 34px rgba(102, 16, 49, .28);
    }
}

.mobile-wrap {
    max-width: 460px;
    margin: 0 auto;
    padding: 14px 12px calc(var(--bottom-nav-height) + 28px + env(safe-area-inset-bottom));
}

.mobile-header {
    background: linear-gradient(155deg, #4b2db7, #6c43d5);
    color: #fff;
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 12px;
}

.profile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    color: var(--purple-700);
    font-weight: 700;
    display: grid;
    place-items: center;
}

.profile-meta {
    flex: 1;
    margin-left: 10px;
}

.profile-meta h3 {
    margin: 0;
    font-size: 18px;
}

.profile-meta p {
    margin: 3px 0 0;
    font-size: 13px;
    opacity: .9;
}

.bell {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .24);
    display: grid;
    place-items: center;
}

.balance-card {
    background: #fff;
    color: #1f2430;
    border-radius: 16px;
    padding: 14px;
}

.balance-card h4 {
    margin: 0;
    font-size: 13px;
    color: #6f768a;
}

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

.balance-stats {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.balance-chip {
    background: #f5f6fc;
    border-radius: 12px;
    flex: 1;
    padding: 10px;
    text-align: center;
}

.balance-chip span {
    display: block;
    font-size: 12px;
    color: #798195;
}

.balance-chip b {
    font-size: 14px;
}

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

.menu-item {
    background: #fff;
    border-radius: 14px;
    padding: 12px 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(28, 36, 74, .06);
    font-size: 13px;
    font-weight: 600;
}

.dashboard-wrap {
    padding: 0 0 calc(var(--bottom-nav-height) + 18px + env(safe-area-inset-bottom));
    background: #d8d5e8;
    min-height: calc(100vh - 62px);
}

.dash-topbar {
    background: linear-gradient(145deg, #312a9f, #433cc7);
    color: #fff;
    padding: 18px 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 3px 14px rgba(21, 22, 64, .25);
}

.dash-profile-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid #d5d6f2;
    background: radial-gradient(circle at 32% 30%, #fff, #f2f2ff 70%);
    display: grid;
    place-items: center;
}

.dash-avatar span {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, #f3cc39, #d8a715);
}

.dash-avatar-icon {
    width: 30px;
    height: 30px;
    stroke: #f7f8ff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dash-profile-meta {
    min-width: 0;
}

.dash-name,
.dash-phone {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-name {
    font-size: 18px;
    font-weight: 700;
    color: #0f1324;
}

.dash-phone {
    margin-top: 6px;
    font-size: 18px;
    color: rgba(230, 233, 255, .72);
}

.dash-name strong {
    font-weight: 700;
}

.dash-meta-icon {
    width: 20px;
    text-align: center;
    line-height: 1;
    color: rgba(240, 242, 255, .9);
}

.dash-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dash-bell {
    color: #fff;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    background: transparent;
}

.dash-content {
    padding: 14px;
    display: grid;
    gap: 14px;
}

.dash-balance-shell {
    background: #deddeb;
    border-radius: 18px;
    padding: 12px;
}

.dash-currency-card {
    border-radius: 18px;
    padding: 16px;
    color: #11203b;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, .98), rgba(240, 246, 255, .95)),
        radial-gradient(circle at top right, rgba(95, 117, 230, .18), transparent 45%);
    border: 1px solid rgba(196, 211, 240, .95);
    box-shadow: 0 12px 24px rgba(26, 49, 92, .1);
}

.dash-currency-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.dash-currency-copy {
    min-width: 0;
}

.dash-currency-kicker {
    display: inline-block;
    margin-bottom: 6px;
    color: #4c63c2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dash-currency-copy h3 {
    margin: 0;
    font-size: 18px;
    color: #12213d;
}

.dash-currency-copy p {
    margin: 6px 0 0;
    color: #53627e;
    font-size: 13px;
    line-height: 1.5;
}

.dash-currency-tag {
    flex-shrink: 0;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4d57e2, #3e4ccf);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
}

.dash-currency-form {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(196, 211, 240, .9);
}

.dash-currency-form label {
    color: #3d537d;
    font-weight: 600;
}

.dash-currency-controls {
    display: grid;
    gap: 10px;
}

.dash-currency-controls select {
    min-height: 48px;
    border-radius: 12px;
    border-color: #c9d7ef;
    background: #fff;
    color: #16233e;
}

.dash-currency-controls .btn {
    min-height: 48px;
    border-radius: 12px;
    background: #0a4f95;
}

.dash-currency-note {
    margin: 10px 0 0;
    color: #5e6f8c;
    font-size: 12px;
    line-height: 1.5;
}

.dash-borrow-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    color: #fff;
    box-shadow: 0 8px 18px rgba(33, 41, 90, .18);
}

.dash-borrow-status.is-ready {
    background: linear-gradient(135deg, #158b5d, #27b36e);
}

.dash-borrow-status.is-locked {
    background: linear-gradient(135deg, #1f5ea5, #4d6fd3);
}

.dash-borrow-copy {
    min-width: 0;
}

.dash-borrow-copy small {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .82);
}

.dash-borrow-copy strong {
    display: block;
    font-size: 18px;
}

.dash-borrow-copy p {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .86);
}

.dash-borrow-pill {
    flex-shrink: 0;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .14);
    font-size: 12px;
    font-weight: 700;
}

.dash-balance-primary {
    background: linear-gradient(130deg, #4c47de, #4b42dc);
    color: #fff;
    border-radius: 14px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.dash-balance-primary h2 {
    margin: 0;
    font-size: clamp(26px, 8vw, 40px);
    letter-spacing: .3px;
    line-height: 1.1;
}

.dash-balance-primary p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .7);
    font-size: 16px;
}

.dash-balance-action {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, .8);
    color: #fff;
    display: grid;
    place-items: center;
}

.dash-balance-action .dash-icon {
    width: 26px;
    height: 26px;
}

.dash-balance-stats {
    margin-top: 12px;
    border-top: 2px solid #c3c6e8;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dash-balance-stat {
    padding: 14px 10px 6px;
}

.dash-balance-stat:first-child {
    border-right: 2px solid #c3c6e8;
}

.dash-balance-stat h4 {
    margin: 0;
    color: #3e4558;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dash-balance-stat strong {
    display: block;
    margin-top: 10px;
    color: #171d2b;
    font-size: 18px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-blue {
    background: #5154eb;
}

.dot-red {
    background: #e84a57;
}

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

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

.dash-action-btn {
    min-height: 72px;
    border-radius: 14px;
    background: linear-gradient(150deg, #4f4ae3, #3c46de);
    color: #fff;
    padding: 10px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 18px rgba(61, 70, 209, .26);
}

.dash-action-btn-alt {
    background: linear-gradient(150deg, #5359f2, #5f45e5);
}

.dash-action-btn-soft {
    background: linear-gradient(150deg, #7081ff, #5b66e8);
}

.dash-action-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .2);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.dash-action-svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dash-action-text {
    min-width: 0;
    display: grid;
}

.dash-action-text strong {
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
}

.dash-action-text small {
    font-size: 10px;
    line-height: 1.2;
    opacity: .86;
}

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

.dash-menu-card {
    background: #fff;
    border-radius: 16px;
    min-height: 122px;
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #111626;
    box-shadow: 0 3px 14px rgba(28, 36, 74, .12);
}

.dash-menu-card-borrow {
    background: linear-gradient(160deg, #ffffff, #eef7ff);
}

.dash-menu-card-borrow .dash-menu-icon {
    background: #e6fff1;
    color: #148854;
}

.dash-menu-card-currency {
    background: linear-gradient(155deg, #fff7e8, #eef6ff);
}

.dash-menu-card-currency .dash-menu-icon {
    background: #eef4ff;
    color: #2858b8;
}

.dash-menu-card-locked {
    background: linear-gradient(160deg, #f5f7fd, #eef1fb);
    color: #43506b;
}

.dash-menu-card-locked .dash-menu-icon {
    background: #eef3ff;
    color: #4e6bc8;
}

.dash-menu-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #ecebff;
    color: #4b47e2;
    display: grid;
    place-items: center;
}

.dash-menu-svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.dash-menu-card-wide {
    min-height: 110px;
}

.dash-menu-card-full {
    grid-column: 1 / -1;
}

.dash-menu-disabled {
    color: #22283a;
    cursor: default;
}

.dash-menu-logout {
    color: #de4957;
}

.dash-menu-logout .dash-menu-icon {
    background: #ffedf0;
    color: #de4957;
}

.dash-banner {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(28, 36, 74, .12);
    position: relative;
}

.dash-banner > img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.dash-slider-track {
    position: relative;
    min-height: 288px;
    overflow: hidden;
    touch-action: pan-y;
}

.dash-slider .dash-slide {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dash-slider .dash-slide.is-active {
    display: block;
}

.dash-banner-panel {
    position: relative;
    min-height: 288px;
    padding: 22px;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(245, 250, 255, .94)),
        radial-gradient(circle at top right, rgba(110, 180, 255, .16), transparent 42%);
    border: 1px solid rgba(206, 223, 245, .98);
    box-shadow: 0 18px 34px rgba(18, 49, 107, .12);
}

.dash-banner-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, .34), transparent 28%),
        linear-gradient(145deg, rgba(255, 255, 255, .16), transparent 52%);
}

.dash-banner-panel-partners {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(245, 250, 255, .94)),
        radial-gradient(circle at top right, rgba(110, 180, 255, .18), transparent 42%);
}

.dash-banner-panel-banks {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 252, 248, .94)),
        radial-gradient(circle at top right, rgba(64, 166, 128, .16), transparent 42%);
}

.dash-banner-panel-top {
    position: relative;
    z-index: 1;
}

.dash-banner-panel-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(23, 89, 154, .08);
    color: #28508a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.dash-banner-panel-banks .dash-banner-panel-kicker {
    background: rgba(26, 123, 104, .08);
    color: #216958;
}

.dash-banner-panel .dash-network-head {
    margin-top: 14px;
}

.dash-banner-panel .dash-logo-marquee {
    margin-top: 18px;
}

.dash-banner-panel .dash-logo-card {
    min-width: 126px;
}

.dash-banner-panel .dash-logo-card-bank {
    min-width: 138px;
}

.dash-banner-panel .dash-network-note {
    display: inline-flex;
    margin-top: 16px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(210, 224, 244, .92);
}

.dash-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(14, 39, 60, .1);
    color: #183f49;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 20px rgba(18, 49, 87, .12);
}

.dash-slider-prev {
    left: 8px;
}

.dash-slider-next {
    right: 8px;
}

.dash-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dash-slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(25, 73, 99, .24);
    border: 0;
    padding: 0;
}

.dash-slider-dot.is-active {
    background: #1d7f69;
}

.dash-calculator-card {
    grid-column: 1 / -1;
    order: 1;
    padding: 20px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 252, 250, .95)),
        radial-gradient(circle at top right, rgba(222, 192, 132, .16), transparent 40%);
    border: 1px solid rgba(214, 228, 220, .96);
    box-shadow: 0 18px 34px rgba(18, 49, 63, .1);
}

.dash-calculator-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.dash-calculator-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.dash-calculator-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #1b6e67;
    background: #edf7f3;
    flex-shrink: 0;
}

.dash-calculator-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dash-calculator-head h3 {
    margin: 0;
    color: #203347;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.dash-calculator-head p {
    margin: 6px 0 0;
    color: #6a7884;
    font-size: 14px;
    line-height: 1.6;
}

.dash-calculator-link {
    flex-shrink: 0;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #d6e4dc;
    background: #fff;
    color: #1b645d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.dash-calculator-amount {
    margin-top: 24px;
    text-align: center;
}

.dash-calculator-label {
    display: block;
    color: #70808d;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dash-calculator-value {
    display: block;
    margin-top: 8px;
    color: #173f49;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: clamp(2.3rem, 1.6rem + 1.8vw, 4rem);
    font-weight: 800;
    letter-spacing: -.06em;
}

.dash-calculator-range {
    width: 100%;
    margin-top: 22px;
    appearance: none;
    background: transparent;
}

.dash-calculator-range:focus {
    outline: none;
}

.dash-calculator-range::-webkit-slider-runnable-track {
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(27, 110, 103, .12), rgba(220, 197, 155, .32));
}

.dash-calculator-range::-webkit-slider-thumb {
    appearance: none;
    width: 26px;
    height: 26px;
    margin-top: -7px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, #174d53, #1d7f69);
    box-shadow: 0 10px 18px rgba(19, 73, 71, .18);
}

.dash-calculator-range::-moz-range-track {
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(27, 110, 103, .12), rgba(220, 197, 155, .32));
}

.dash-calculator-range::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, #174d53, #1d7f69);
    box-shadow: 0 10px 18px rgba(19, 73, 71, .18);
}

.dash-calculator-range-labels,
.dash-calculator-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dash-calculator-range-labels {
    margin-top: 10px;
    color: #7a8794;
    font-size: 13px;
}

.dash-calculator-group {
    margin-top: 24px;
}

.dash-calculator-group-head span {
    color: #243649;
    font-size: 14px;
    font-weight: 800;
}

.dash-calculator-group-head small {
    color: #738493;
    font-size: 13px;
    font-weight: 700;
}

.dash-calculator-chip-row,
.dash-calculator-term-grid {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.dash-calculator-chip-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.dash-calculator-chip,
.dash-calculator-term {
    border: 1px solid #d8e7df;
    border-radius: 18px;
    background: #fff;
    color: #294051;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .88);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.dash-calculator-chip {
    min-height: 62px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 800;
}

.dash-calculator-term {
    min-height: 96px;
    padding: 16px 12px;
    display: grid;
    gap: 6px;
    align-content: center;
    text-align: center;
}

.dash-calculator-term strong {
    font-size: 15px;
    font-weight: 800;
}

.dash-calculator-term span {
    color: #6f8090;
    font-size: 13px;
    font-weight: 700;
}

.dash-calculator-chip.is-active,
.dash-calculator-term.is-active {
    color: #fff;
    border-color: rgba(23, 77, 83, .92);
    background: linear-gradient(135deg, #174d53, #1d7f69);
    box-shadow: 0 16px 28px rgba(22, 71, 73, .18);
}

.dash-calculator-term.is-active span {
    color: rgba(255, 255, 255, .82);
}

.dash-calculator-chip:hover,
.dash-calculator-term:hover {
    transform: translateY(-2px);
}

.dash-calculator-summary {
    margin-top: 22px;
    padding: 18px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(237, 247, 243, .9), rgba(250, 245, 235, .92));
    border: 1px solid rgba(216, 228, 220, .96);
}

.dash-calculator-summary-primary {
    text-align: center;
}

.dash-calculator-summary-primary span,
.dash-calculator-summary-item span {
    display: block;
    color: #718392;
    font-size: 14px;
    font-weight: 700;
}

.dash-calculator-summary-primary strong {
    display: block;
    margin-top: 8px;
    color: #173f49;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: clamp(2rem, 1.4rem + 1.2vw, 3rem);
    font-weight: 800;
    letter-spacing: -.05em;
}

.dash-calculator-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.dash-calculator-summary-item {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(220, 230, 223, .95);
}

.dash-calculator-summary-item strong {
    display: block;
    margin-top: 8px;
    color: #294051;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.section-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    margin-top: 12px;
    box-shadow: 0 4px 16px rgba(32, 42, 71, .06);
}

.section-title {
    margin: 0 0 10px;
    font-size: 16px;
}

.info-header {
    background: linear-gradient(135deg, var(--purple-900), var(--purple-700));
    color: #fff;
    padding: 16px;
    border-radius: 0 0 16px 16px;
}

.status-grid {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #e8ebf3;
}

.badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 600;
}

.badge-success {
    background: #d1f3df;
    color: #136f3a;
}

.badge-pending {
    background: #f9e8bf;
    color: #8a6205;
}

.user-status-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    line-height: 1.2;
}

.user-status-text {
    font-weight: 700;
}

.user-status-tag.qs-primary {
    background: linear-gradient(145deg, #5468ff, #6951f0);
}

.user-status-tag.qs-info {
    background: linear-gradient(145deg, #0ea5a4, #1288b0);
}

.user-status-tag.qs-success {
    background: linear-gradient(145deg, #14b86a, #0f9b56);
}

.user-status-tag.qs-warning {
    background: linear-gradient(145deg, #f59e0b, #ea7b1c);
}

.user-status-tag.qs-danger {
    background: linear-gradient(145deg, #ef476f, #d72f57);
}

.user-status-text.qs-primary {
    color: #5b56f5;
}

.user-status-text.qs-info {
    color: #1293b4;
}

.user-status-text.qs-success {
    color: #169c57;
}

.user-status-text.qs-warning {
    color: #e57f15;
}

.user-status-text.qs-danger {
    color: #d53857;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #0b5baa, #0a4f95);
    box-shadow: 0 -6px 22px rgba(6, 31, 62, .24);
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
    min-height: var(--bottom-nav-height);
}

.bottom-nav .inner {
    max-width: 460px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    font-size: 10px;
    padding: 4px 0 2px;
    border-radius: 10px;
    color: rgba(219, 234, 255, .9);
    font-weight: 700;
    letter-spacing: .02em;
}

.bottom-nav a .nav-ico {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 2px solid rgba(215, 233, 255, .72);
    background: rgba(255, 255, 255, .07);
}

.bottom-nav a .nav-ico svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bottom-nav a.active {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.bottom-nav a.active .nav-ico {
    border-color: #fff;
    background: rgba(255, 255, 255, .2);
}

.loan-details dl {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
}

.loan-details dt {
    color: #6e7487;
    font-size: 12px;
}

.loan-details dd {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}

.progress-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 8px auto 12px;
    background: conic-gradient(var(--purple-700) calc(var(--value) * 1%), #e8ecf8 0%);
    display: grid;
    place-items: center;
}

.progress-ring span {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: var(--purple-700);
}

.read-only-grid {
    display: grid;
    gap: 10px;
}

.read-only-grid .row {
    background: #f5f7fc;
    border-radius: 10px;
    padding: 10px;
}

.read-only-grid .row small {
    display: block;
    color: #7f8899;
    margin-bottom: 4px;
}

.read-only-grid .row strong {
    font-size: 14px;
}

.canvas-wrap {
    border: 1px dashed #bcc6dc;
    border-radius: 12px;
    padding: 8px;
    touch-action: none;
}

#signaturePad {
    display: block;
    width: 100%;
    height: 220px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #ccd4e5;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    cursor: crosshair;
}

.signature-error {
    width: 100%;
    margin: 0 0 10px;
}

.inline-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.id-uploads-wrap {
    padding-top: 18px;
}

.id-uploads-card {
    padding: clamp(18px, 2vw, 28px);
}

.id-upload-intro {
    margin: 0 0 18px;
    color: #101820;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.6;
}

.id-upload-intro strong {
    color: #101820;
    font-weight: 800;
}

.id-upload-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.id-upload-item {
    position: relative;
}

.id-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.id-upload-card {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(240, 246, 255, .88));
    border: 1px solid #c8d8ef;
    border-radius: 18px;
    padding: 14px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.id-upload-card:hover {
    border-color: #6f99cc;
    box-shadow: 0 16px 28px rgba(18, 54, 102, .14);
    transform: translateY(-2px);
}

.id-upload-card:focus-visible {
    outline: 2px solid #2a86de;
    outline-offset: 3px;
}

.id-upload-card.has-selection {
    border-color: #7fb4ef;
    box-shadow: 0 16px 28px rgba(26, 108, 182, .14);
}

.id-upload-card.is-readonly {
    cursor: default;
}

.id-upload-card.is-readonly:hover {
    transform: none;
}

.id-upload-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.id-upload-card-title {
    color: #18365f;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.id-upload-card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef5ff;
    color: #355b8d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.id-upload-card-badge.is-customer {
    background: #dff3ea;
    color: #197553;
}

.id-upload-card-subtitle {
    color: #6780a2;
    font-size: 12px;
    font-weight: 700;
}

.id-upload-card-media {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    min-height: 190px;
    border-radius: 16px;
    border: 1px dashed #c7d6ec;
    background: linear-gradient(180deg, rgba(225, 239, 255, .9), rgba(246, 250, 255, .94));
}

.id-upload-card-media.is-empty {
    background: linear-gradient(180deg, rgba(244, 248, 255, .94), rgba(250, 252, 255, .98));
}

.id-upload-card-media img {
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: contain;
    display: none;
}

.id-upload-card-media img.is-visible {
    display: block;
}

.id-upload-card-media img.is-customer-upload {
    background: rgba(255, 255, 255, .45);
}

.id-upload-card-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    text-align: center;
    color: #5c6e8c;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.id-upload-card-placeholder.is-hidden {
    display: none;
}

.id-upload-card-foot {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.id-upload-card-copy {
    color: #41597d;
    font-size: 13px;
    line-height: 1.55;
}

.id-upload-card-meta {
    color: #6b7d99;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    word-break: break-word;
}

.id-upload-submit {
    margin-top: 18px;
}

.id-upload-submit-copy {
    margin: 0 0 12px;
    color: #5a6f8f;
    font-size: 13px;
    line-height: 1.55;
}

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

@media (max-width: 640px) {
    .id-uploads-wrap {
        padding-top: 12px;
    }

    .id-upload-intro {
        font-size: 17px;
        line-height: 1.55;
    }

    .id-upload-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .id-upload-card {
        padding: 12px;
        border-radius: 16px;
    }

    .id-upload-card-head {
        flex-direction: column;
    }

    .id-upload-card-badge {
        align-self: flex-start;
    }

    .id-upload-card-media {
        min-height: 170px;
    }
}

.apply-loan-wrap {
    max-width: 760px;
    padding: 24px 0 110px;
}

.apply-loan-header {
    background: linear-gradient(120deg, #5149e8, #4740da);
    border-radius: 24px;
    color: #fff;
    min-height: 96px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    box-shadow: 0 8px 22px rgba(63, 68, 187, .24);
}

.apply-loan-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.apply-loan-card {
    background: #dfdeec;
    border-radius: 20px;
    margin-top: 0;
    padding: 28px 22px 24px;
    box-shadow: 0 10px 24px rgba(39, 44, 86, .08);
}

.apply-loan-subtitle {
    margin: 2px 0 10px;
    text-align: center;
    color: #5149d8;
    font-size: 24px;
    font-weight: 500;
}

.apply-loan-range-copy {
    margin: 0 0 20px;
    text-align: center;
    color: #151923;
    font-size: 18px;
    line-height: 1.4;
}

.apply-loan-label {
    color: #101522;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.apply-loan-amount-input {
    background: #ececef;
    border-color: #cdd2dc;
    border-radius: 18px;
    color: #5f6574;
    font-size: 22px;
    min-height: 62px;
    padding: 14px 20px;
}

.apply-loan-amount-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.apply-loan-amount-btn {
    border: 1px solid #d7dcec;
    border-radius: 16px;
    min-height: 52px;
    padding: 8px 6px;
    background: rgba(255, 255, 255, .82);
    color: #40506e;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(24, 45, 88, .08);
}

.apply-loan-amount-btn.is-active {
    background: linear-gradient(160deg, #4f4ae3, #413ed5);
    border-color: rgba(80, 76, 224, .9);
    color: #fff;
}

.apply-loan-range {
    margin-top: 16px;
    width: 100%;
    accent-color: #2876e8;
}

.apply-loan-range-labels {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    color: #191d2a;
    font-size: 14px;
    gap: 10px;
}

.apply-loan-term-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #d4d8e5;
}

.apply-loan-term-btn {
    border: 0;
    min-height: 116px;
    background: linear-gradient(160deg, #4f4ae3, #413ed5);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-weight: 700;
    border-right: 1px solid rgba(224, 228, 250, .55);
}

.apply-loan-term-btn:last-child {
    border-right: 0;
}

.apply-loan-term-btn strong {
    display: block;
    font-size: 19px;
    line-height: 1;
    margin-top: 2px;
}

.apply-loan-term-btn small {
    display: block;
    font-size: 14px;
    margin-top: 4px;
}

.apply-loan-term-btn.is-active {
    background: #efeff3;
    color: #4d48d7;
}

.apply-loan-summary {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.apply-loan-summary-list {
    display: grid;
    gap: 12px;
}

.apply-loan-summary-row {
    display: grid;
    grid-template-columns: 1fr 16px auto;
    align-items: baseline;
    gap: 8px;
    color: #0f1320;
    font-size: 16px;
}

.apply-loan-summary-row b {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.apply-loan-summary-row .colon {
    text-align: center;
}

.apply-loan-agreement {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.apply-loan-agree-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #131722;
    line-height: 1.5;
}

.apply-loan-agree-check input {
    width: 20px;
    height: 20px;
    accent-color: #2876e8;
}

.apply-loan-read-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(74, 69, 217, .25);
    background: rgba(75, 69, 217, .08);
    color: #4b45d9;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(75, 69, 217, .14);
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.apply-loan-read-btn:hover {
    background: rgba(75, 69, 217, .14);
    border-color: rgba(75, 69, 217, .4);
    transform: translateY(-1px);
}

.apply-loan-read-btn:focus-visible {
    outline: 2px solid rgba(75, 69, 217, .45);
    outline-offset: 3px;
}

.agreement-page-wrap {
    max-width: 920px;
}

.agreement-page-card {
    padding: 24px 20px;
}

.agreement-page-copy {
    color: #171c28;
}

.agreement-page-kicker {
    margin: 0 0 8px;
    color: #4b46d6;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.agreement-page-copy h4 {
    margin: 0 0 16px;
    font-size: 26px;
    color: #121722;
}

.agreement-page-list {
    margin: 0;
    padding-left: 22px;
    color: #192031;
    font-size: 16px;
    line-height: 1.7;
}

.agreement-page-list li + li {
    margin-top: 14px;
}

.agreement-page-actions {
    margin-top: 22px;
    display: flex;
    justify-content: center;
}

.apply-loan-submit {
    display: block;
    width: min(320px, 100%);
    margin: 18px auto 0;
    min-height: 56px;
    font-size: 18px;
    border-radius: 18px;
    background: linear-gradient(120deg, #5149e8, #4740da);
    box-shadow: 0 8px 18px rgba(59, 63, 194, .28);
}

.apply-loan-submit.is-disabled {
    opacity: .55;
    cursor: not-allowed;
}

.apply-loan-notice {
    margin-top: 30px;
}

.apply-loan-notice h4 {
    margin: 0 0 8px;
    color: #4b46d6;
    font-size: 24px;
}

.apply-loan-notice p {
    margin: 0;
    color: #181d2b;
    font-size: 18px;
    line-height: 1.45;
    font-style: italic;
}

.apply-loan-agreement-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(18, 22, 40, .55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.apply-loan-agreement-modal.is-open {
    display: flex;
}

.apply-loan-agreement-dialog {
    width: min(760px, 100%);
    max-height: 86vh;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(20, 24, 45, .35);
}

.apply-loan-agreement-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #e7eaf2;
}

.apply-loan-agreement-head h4 {
    margin: 0;
    font-size: 20px;
    color: #151927;
}

.apply-loan-agreement-close {
    border: 0;
    background: transparent;
    color: #69738c;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.apply-loan-agreement-body {
    padding: 16px 18px 18px;
    overflow: auto;
    max-height: calc(86vh - 58px);
}

.apply-loan-agreement-body ol {
    margin: 0;
    padding-left: 20px;
    color: #151927;
    line-height: 1.5;
    font-size: 14px;
}

.apply-loan-agreement-body li + li {
    margin-top: 10px;
}

@media (max-width: 420px) {
    .apply-loan-card {
        padding: 24px 16px 22px;
    }

    .apply-loan-subtitle {
        font-size: 21px;
    }

    .apply-loan-range-copy {
        font-size: 17px;
    }

    .apply-loan-amount-input {
        font-size: 20px;
    }

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

    .agreement-page-copy h4 {
        font-size: 22px;
    }

    .agreement-page-list {
        font-size: 15px;
    }

    .apply-loan-summary-row {
        grid-template-columns: 1fr 12px auto;
        font-size: 15px;
    }

    .apply-loan-summary-row b {
        font-size: 15px;
    }

    .apply-loan-notice p {
        font-size: 16px;
    }
}

.bank-info-wrap {
    max-width: 760px;
    padding: 24px 0 110px;
}

.bank-page-header {
    background: linear-gradient(120deg, #5149e8, #4740da);
    border-radius: 24px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 96px;
    margin-bottom: 22px;
    padding: 0 20px;
    box-shadow: 0 8px 22px rgba(63, 68, 187, .24);
}

.bank-page-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.bank-back-link,
.bank-back-spacer {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
}

.bank-back-link {
    color: #fff;
    font-size: 26px;
    line-height: 1;
    font-weight: 600;
}

.bank-section-card {
    background: #dfdeec;
    border-radius: 20px;
    margin-top: 0;
    padding: 28px 22px 24px;
    box-shadow: 0 10px 24px rgba(39, 44, 86, .08);
}

.bank-user-lines {
    display: grid;
    gap: 14px;
    margin-bottom: 26px;
}

.bank-user-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    gap: 12px;
}

.bank-user-row span {
    color: #131722;
    font-size: 17px;
    font-weight: 500;
}

.bank-user-row strong {
    color: #9aa0b0;
    font-size: 17px;
    font-weight: 500;
    text-align: left;
}

.bank-form .form-group {
    margin-bottom: 18px;
}

.bank-form label {
    color: #131722;
    margin-bottom: 9px;
    font-size: 18px;
    font-weight: 500;
}

.bank-form input {
    background: #ececef;
    border-color: #cdd2dc;
    border-radius: 10px;
    color: #5f6574;
    font-size: 16px;
    min-height: 56px;
    padding: 14px 16px;
}

.bank-form input::placeholder {
    color: #6a717f;
    opacity: 1;
}

.bank-note {
    margin: 8px 6px 22px;
    text-align: center;
    color: #161d2b;
    font-size: 16px;
    line-height: 1.45;
}

.bank-form .btn-primary {
    background: linear-gradient(90deg, #5149e8, #3e58eb);
    border-radius: 11px;
    min-height: 56px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .2px;
    box-shadow: inset 0 0 0 1px rgba(144, 198, 247, .45);
}

.tone-success {
    color: #1f9f46;
}

.tone-warning {
    color: #e2574d;
}

.tone-danger {
    color: #c73a31;
}

.tone-info {
    color: #2f6fc7;
}

.wallet-modern-wrap {
    padding-top: 8px;
}

.wallet-modern-header,
.withdraw-modern-header {
    background: #1e2430;
    color: #fff;
    border-radius: 14px;
    min-height: 60px;
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    padding: 0 10px;
    margin-bottom: 10px;
}

.wallet-modern-header h3,
.withdraw-modern-header h3 {
    margin: 0;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .2px;
}

.wallet-modern-back {
    color: #7ec0ff;
    font-size: 24px;
    text-align: left;
}

.wallet-modern-spacer {
    display: block;
}

.wallet-modern-card {
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 4px 16px rgba(32, 42, 71, .08);
}

.wallet-modern-top {
    display: grid;
    grid-template-columns: 1fr 122px;
    gap: 12px;
    align-items: start;
}

.wallet-modern-label {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #171d28;
}

.wallet-modern-order {
    margin: 2px 0 4px;
    color: #2f6fc7;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.06;
    word-break: break-word;
}

.wallet-modern-date {
    margin: 0;
    color: #171d28;
    font-size: 15px;
    font-weight: 600;
}

.wallet-modern-actions {
    display: grid;
    gap: 8px;
}

.wallet-modern-action-btn {
    min-height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    padding: 8px 10px;
    text-align: center;
    background: #2b6dbc;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: 0;
}

.wallet-modern-action-btn-alt {
    background: #0f6ce0;
}

.wallet-modern-action-btn.is-disabled {
    background: #8ea5c5;
    cursor: not-allowed;
    pointer-events: none;
}

.wallet-modern-stats {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.wallet-modern-stat-box {
    background: #f8fafc;
    border: 1px solid #e4e9f3;
    border-radius: 10px;
    padding: 10px 8px;
    text-align: center;
}

.wallet-modern-stat-box strong {
    display: block;
    color: #1c222e;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.wallet-modern-stat-box strong small {
    font-size: .62em;
    font-weight: 600;
}

.wallet-modern-stat-box span {
    display: block;
    margin-top: 4px;
    color: #374051;
    font-size: 13px;
    font-weight: 600;
}

.wallet-modern-line {
    margin: 10px 0 0;
    font-size: 17px;
    line-height: 1.3;
    color: #161b26;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.wallet-modern-line-label {
    color: #161b26;
    font-weight: 600;
}

.wallet-modern-tone {
    font-weight: 700;
}

.wallet-modern-balance {
    margin-top: 14px;
    border-radius: 10px;
    background: linear-gradient(90deg, #0463c8, #1f80ea);
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    padding: 16px 12px;
    box-shadow: 0 6px 16px rgba(30, 92, 175, .25);
}

.wallet-modern-withdraw-btn {
    display: block;
    margin-top: 12px;
    border-radius: 999px;
    text-align: center;
    background: #2e66a6;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    padding: 14px 12px;
    box-shadow: 0 8px 16px rgba(30, 92, 175, .2);
}

.withdraw-modern-wrap {
    padding-top: 8px;
}

.withdraw-modern-header {
    background: #eceff4;
    color: #4a95c9;
    box-shadow: 0 2px 10px rgba(24, 41, 64, .08);
}

.withdraw-modern-header .wallet-modern-back {
    color: #4a95c9;
}

.withdraw-modern-card {
    margin-top: 10px;
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 4px 16px rgba(32, 42, 71, .08);
}

.withdraw-modern-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.withdraw-modern-caption {
    margin: 0;
    color: #2f3f55;
    font-size: 15px;
    font-weight: 700;
}

.withdraw-modern-number {
    margin: 2px 0 0;
    color: #7a7f8f;
    font-size: 17px;
    font-weight: 600;
}

.withdraw-modern-status {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    text-align: right;
}

.withdraw-modern-status.user-status-tag {
    text-align: center;
    font-size: 12px;
    line-height: 1.25;
    max-width: 180px;
}

.withdraw-modern-divider {
    margin: 12px 0;
    border-top: 1px solid #e3e8f2;
}

.withdraw-modern-body {
    display: flex;
    align-items: center;
    gap: 10px;
}

.withdraw-modern-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 3px solid #1a7ed5;
    background: #24a0df;
    color: #fff;
    flex-shrink: 0;
}

.withdraw-modern-icon {
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.withdraw-modern-icon.is-code {
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0;
}

.withdraw-modern-meta p {
    margin: 0;
    color: #5b6475;
    font-size: 14px;
    line-height: 1.5;
}

.withdraw-modern-meta p + p {
    margin-top: 3px;
}

.withdraw-modern-mark {
    margin-top: 10px;
    text-align: center;
    font-size: 66px;
    font-weight: 700;
    line-height: 1;
}

.status-message-card {
    margin-top: 12px;
}

.status-message-item {
    display: block;
    border-left: 4px solid currentColor;
}

.status-message-item.qs-primary {
    border-left-color: #5b56f5;
    background: rgba(84, 104, 255, .08);
}

.status-message-item.qs-info {
    border-left-color: #1293b4;
    background: rgba(18, 147, 180, .08);
}

.status-message-item.qs-success {
    border-left-color: #169c57;
    background: rgba(22, 156, 87, .08);
}

.status-message-item.qs-warning {
    border-left-color: #e57f15;
    background: rgba(229, 127, 21, .10);
}

.status-message-item.qs-danger {
    border-left-color: #d53857;
    background: rgba(213, 56, 87, .08);
}

.status-message-item strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    color: #1f2f4f;
}

.status-message-item p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #2b3e63;
}

.status-message-item small {
    display: block;
    margin-top: 6px;
    color: #727a8b;
}

.setting-page-wrap {
    padding-top: 8px;
}

.setting-page-header {
    background: linear-gradient(180deg, #0b5baa, #0a4f95);
    color: #fff;
    border-radius: 14px;
    min-height: 60px;
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    padding: 0 10px;
    margin-bottom: 12px;
}

.setting-page-header h3 {
    margin: 0;
    text-align: center;
    font-size: 21px;
    font-weight: 700;
}

.setting-card {
    background: #f1f6ff;
    border: 1px solid #c9d9f5;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 8px 18px rgba(29, 62, 109, .12);
}

.setting-account,
.setting-balance {
    margin: 0;
    color: #164a84;
    font-size: 15px;
}

.setting-balance {
    margin-top: 5px;
    margin-bottom: 12px;
}

.setting-currency-copy {
    margin: 0 0 12px;
    color: #164a84;
    font-size: 14px;
}

.setting-currency-form {
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .85);
    border: 1px solid #d3e1f6;
}

.setting-language-form {
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .85);
    border: 1px solid #d3e1f6;
}

.setting-currency-form .btn-primary {
    background: #0a4f95;
}

.setting-language-form .btn-primary {
    background: #1a7b68;
}

.setting-currency-note {
    margin: 0 0 12px;
    color: #5a6a83;
    font-size: 12px;
    line-height: 1.5;
}

.setting-language-copy {
    margin: 0 0 12px;
    color: #164a84;
    font-size: 14px;
}

.setting-language-note {
    margin: 0 0 12px;
    color: #5a6a83;
    font-size: 12px;
    line-height: 1.5;
}

.setting-btn {
    display: block;
    width: 100%;
    border-radius: 12px;
    text-align: center;
    padding: 13px 12px;
    font-size: 16px;
    font-weight: 700;
    margin-top: 9px;
}

.setting-btn-blue {
    background: #0a4f95;
    color: #fff;
}

.setting-btn-red {
    background: #b30404;
    color: #fff;
}

@media (max-width: 420px) {
    .frozen-banner {
        grid-template-columns: 1fr;
        justify-items: start;
        padding: 14px;
    }

    .frozen-banner-close {
        min-width: 0;
        width: 100%;
    }

    .frozen-prompt-dialog {
        padding: 16px;
        border-radius: 22px;
    }

    .frozen-prompt-top {
        padding: 15px;
        border-radius: 18px;
    }

    .frozen-prompt-actions {
        flex-direction: column;
    }

    .frozen-prompt-actions .btn,
    .frozen-prompt-actions a {
        width: 100%;
    }

    .frozen-page-card {
        padding: 20px 16px;
        border-radius: 22px;
    }

    .frozen-page-header,
    .frozen-page-panel,
    .frozen-page-meta div {
        border-radius: 18px;
    }

    .bank-section-card {
        padding: 24px 16px 22px;
    }

    .bank-user-row {
        grid-template-columns: 78px 1fr;
    }

    .bank-form label {
        font-size: 17px;
    }

    .bank-note {
        font-size: 15px;
    }

    .wallet-modern-top {
        grid-template-columns: 1fr;
    }

    .wallet-modern-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .wallet-modern-action-btn {
        min-height: 40px;
        font-size: 12px;
        padding: 8px 5px;
    }
}
/* Responsive + visual polish */
.dash-balance-primary h2 {
    font-size: clamp(28px, 7vw, 46px);
}

.auth-title {
    font-size: clamp(34px, 8vw, 52px);
}

@media (max-width: 820px) {
    .frozen-page-grid {
        grid-template-columns: 1fr;
    }

    .mobile-wrap {
        padding: 12px 10px 110px;
    }

    .dash-topbar {
        padding: 14px 12px 18px;
    }

    .dash-avatar {
        width: 62px;
        height: 62px;
    }

    .dash-avatar span {
        width: 46px;
        height: 46px;
    }

    .dash-name,
    .dash-phone {
        font-size: 16px;
    }

    .dash-content {
        padding: 10px;
        gap: 10px;
    }

    .dash-actions {
        grid-template-columns: 1fr;
    }

    .dash-action-btn {
        min-height: 66px;
    }

    .dash-currency-card {
        padding: 14px;
    }

    .dash-currency-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .auth-page {
        padding: 10px 8px 108px;
    }

    .auth-theme-strip .dash-slider-track {
        height: 156px;
    }

    .auth-card {
        padding: 20px 14px 16px;
    }

    .auth-card input {
        min-height: 52px;
        font-size: 16px;
    }

    .auth-card .btn-primary {
        min-height: 50px;
        font-size: 20px;
    }
}

@media (min-width: 992px) {
    .frozen-banner {
        margin-top: 18px;
    }

    body.user-body {
        background:
            radial-gradient(1200px 520px at 6% -22%, rgba(33, 102, 197, .18), transparent 60%),
            radial-gradient(980px 460px at 100% 0%, rgba(92, 123, 232, .12), transparent 62%),
            #e9eff8;
    }

    .mobile-wrap {
        max-width: 1060px;
        padding: 16px 16px 128px;
    }

    .dashboard-wrap {
        max-width: 1060px;
        border-radius: 22px;
        overflow: hidden;
        box-shadow: 0 16px 34px rgba(21, 38, 71, .14);
        background: #d9d8ea;
        margin-top: 18px;
    }

    .dash-content {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr);
        gap: 16px;
    }

    .dash-balance-shell,
    .dash-actions {
        grid-column: 1 / 2;
    }

    .dash-menu-grid {
        grid-column: 2 / 3;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        align-content: start;
    }

    .dash-menu-card {
        min-height: 112px;
    }

    .dash-banner {
        grid-column: 1 / -1;
    }

    .wallet-modern-wrap,
    .withdraw-modern-wrap,
    .setting-page-wrap,
    .bank-info-wrap,
    .apply-loan-wrap {
        max-width: 920px;
        margin: 0 auto;
    }

    .wallet-modern-card,
    .withdraw-modern-card,
    .setting-card,
    .section-card {
        box-shadow: 0 12px 26px rgba(17, 40, 83, .12);
    }

    .bottom-nav {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(620px, calc(100vw - 28px));
        border-radius: 18px 18px 0 0;
        border: 1px solid rgba(255, 255, 255, .2);
    }

    .bottom-nav .inner {
        max-width: none;
    }
}

@media (min-width: 1280px) {
    .auth-page {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 28px;
        padding: 20px 20px 36px;
    }

    .auth-theme-strip {
        width: min(640px, 54vw);
        margin-bottom: 0;
    }

    .auth-theme-strip .dash-slider-track {
        height: 340px;
    }

    .auth-card {
        width: min(470px, 38vw);
    }
}

/* ===== Liquid Glass Theme ===== */
:root {
    --glass-surface: rgba(255, 255, 255, .22);
    --glass-surface-strong: rgba(255, 255, 255, .3);
    --glass-border: rgba(255, 255, 255, .42);
    --glass-shadow: 0 12px 32px rgba(9, 35, 74, .2);
    --glass-glow: 0 0 0 1px rgba(255, 255, 255, .28) inset;
}

body.user-body {
    position: relative;
    overflow-x: hidden;
    background:
        radial-gradient(60rem 60rem at -12% -10%, rgba(140, 187, 255, .44), transparent 55%),
        radial-gradient(55rem 55rem at 110% -5%, rgba(107, 125, 255, .3), transparent 56%),
        radial-gradient(52rem 52rem at 50% 115%, rgba(57, 170, 255, .22), transparent 58%),
        linear-gradient(180deg, #e7f2ff 0%, #dbe9ff 42%, #e8f3ff 100%);
}

body.user-body::before,
body.user-body::after {
    content: '';
    position: fixed;
    z-index: 0;
    width: 38vmax;
    height: 38vmax;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(10px);
    opacity: .35;
}

body.user-body::before {
    top: -12vmax;
    left: -10vmax;
    background: radial-gradient(circle, rgba(106, 201, 255, .8), rgba(106, 201, 255, 0) 68%);
    animation: liquidBlobFloatA 16s ease-in-out infinite;
}

body.user-body::after {
    right: -10vmax;
    bottom: -14vmax;
    background: radial-gradient(circle, rgba(120, 142, 255, .72), rgba(120, 142, 255, 0) 66%);
    animation: liquidBlobFloatB 18s ease-in-out infinite;
}

@keyframes liquidBlobFloatA {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(24px, 20px, 0) scale(1.08); }
}

@keyframes liquidBlobFloatB {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-20px, -22px, 0) scale(1.06); }
}

.user-shell {
    position: relative;
    z-index: 1;
}

.auth-card,
.section-card,
.dash-balance-shell,
.dash-menu-card,
.wallet-modern-card,
.withdraw-modern-card,
.setting-card,
.status-item,
.read-only-grid .row,
.bank-section-card,
.apply-loan-card,
.dash-banner,
.auth-theme-strip {
    position: relative;
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow), var(--glass-glow);
    backdrop-filter: blur(16px) saturate(145%);
    -webkit-backdrop-filter: blur(16px) saturate(145%);
}

.auth-card::before,
.section-card::before,
.dash-balance-shell::before,
.dash-menu-card::before,
.wallet-modern-card::before,
.withdraw-modern-card::before,
.setting-card::before,
.bank-section-card::before,
.apply-loan-card::before,
.auth-theme-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(130deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, .08) 45%, rgba(255, 255, 255, .18));
    mix-blend-mode: screen;
    opacity: .55;
}

.dash-topbar,
.setting-page-header,
.wallet-modern-header,
.withdraw-modern-header {
    background:
        linear-gradient(145deg, rgba(27, 83, 184, .78), rgba(61, 96, 227, .72)),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .24), transparent 55%);
    border: 1px solid rgba(183, 214, 255, .5);
    box-shadow: 0 14px 34px rgba(14, 38, 87, .28);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.dash-topbar {
    border: 0;
}

.dash-balance-primary,
.wallet-modern-balance,
.wallet-modern-withdraw-btn,
.apply-loan-submit,
.bank-form .btn-primary,
.btn-primary {
    background:
        linear-gradient(135deg, rgba(48, 139, 255, .86), rgba(74, 84, 236, .9));
    border: 1px solid rgba(198, 225, 255, .45);
    box-shadow: 0 10px 26px rgba(23, 61, 138, .3), 0 0 0 1px rgba(255, 255, 255, .2) inset;
}

.dash-action-btn,
.wallet-modern-action-btn,
.setting-btn-blue {
    background:
        linear-gradient(145deg, rgba(67, 129, 241, .86), rgba(54, 104, 210, .88));
    border: 1px solid rgba(200, 226, 255, .42);
    box-shadow: 0 8px 20px rgba(26, 63, 132, .24), 0 0 0 1px rgba(255, 255, 255, .15) inset;
}

.setting-btn-red {
    background:
        linear-gradient(145deg, rgba(219, 56, 56, .9), rgba(162, 12, 12, .92));
    border: 1px solid rgba(255, 221, 221, .42);
}

.btn-outline {
    background: rgba(255, 255, 255, .28);
    border: 1px solid rgba(141, 174, 255, .5);
    color: #244b96;
    backdrop-filter: blur(10px) saturate(130%);
    -webkit-backdrop-filter: blur(10px) saturate(130%);
}

input,
select,
textarea {
    background: rgba(255, 255, 255, .44);
    border: 1px solid rgba(161, 193, 236, .9);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .4) inset;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    z-index: 120;
    background:
        linear-gradient(180deg, rgba(20, 97, 184, .76), rgba(13, 71, 143, .78));
}

.bottom-nav a .nav-ico {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(225, 238, 255, .75);
}

.bottom-nav a.active {
    background: rgba(255, 255, 255, .18);
}

.dash-menu-card,
.status-item,
.wallet-modern-stat-box {
    border-color: rgba(206, 223, 248, .9);
}

@media (prefers-reduced-motion: reduce) {
    body.user-body::before,
    body.user-body::after {
        animation: none;
    }
}

/* ===== Desktop Pro Layout ===== */
@media (min-width: 1200px) {
    .mobile-wrap {
        max-width: 1320px;
        padding: 22px 22px 132px;
    }

    .dashboard-wrap {
        max-width: 1320px;
        margin-top: 22px;
        border-radius: 26px;
    }

    .dash-topbar {
        padding: 22px 24px 26px;
    }

    .dash-profile-block {
        gap: 16px;
    }

    .dash-avatar {
        width: 82px;
        height: 82px;
    }

    .dash-avatar span {
        width: 62px;
        height: 62px;
    }

    .dash-content {
        grid-template-columns: minmax(0, 1.28fr) minmax(360px, .95fr);
        gap: 18px;
        padding: 18px;
    }

    .dash-balance-shell {
        padding: 16px;
        border-radius: 22px;
    }

    .dash-currency-card {
        padding: 18px;
        border-radius: 22px;
    }

    .dash-currency-controls {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    .dash-currency-controls .btn {
        min-width: 168px;
    }

    .dash-actions {
        gap: 12px;
    }

    .dash-action-btn {
        min-height: 82px;
        border-radius: 16px;
    }

    .dash-action-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .dash-action-svg {
        width: 20px;
        height: 20px;
    }

    .dash-action-text strong {
        font-size: 14px;
    }

    .dash-action-text small {
        font-size: 11px;
    }

    .dash-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .dash-menu-card {
        min-height: 128px;
        border-radius: 18px;
        padding: 16px 10px;
    }

    .dash-menu-icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .dash-menu-svg {
        width: 28px;
        height: 28px;
    }

    .dash-banner {
        border-radius: 20px;
    }

    .dash-banner > img,
    .dash-slider-track {
        height: 320px;
    }

    .wallet-modern-wrap,
    .withdraw-modern-wrap,
    .setting-page-wrap,
    .bank-info-wrap,
    .apply-loan-wrap {
        max-width: 1120px;
    }

    .wallet-modern-header,
    .withdraw-modern-header,
    .setting-page-header {
        min-height: 68px;
        border-radius: 16px;
    }

    .wallet-modern-header h3,
    .withdraw-modern-header h3,
    .setting-page-header h3 {
        font-size: 24px;
    }

    .wallet-modern-card {
        border-radius: 18px;
        padding: 18px;
    }

    .wallet-modern-top {
        grid-template-columns: 1fr 210px;
        gap: 16px;
    }

    .wallet-modern-actions {
        gap: 10px;
    }

    .wallet-modern-action-btn {
        min-height: 44px;
        border-radius: 12px;
    }

    .wallet-modern-stats {
        margin-top: 14px;
        gap: 10px;
    }

    .wallet-modern-stat-box {
        border-radius: 12px;
        padding: 12px 10px;
    }

    .wallet-modern-balance {
        border-radius: 12px;
        min-height: 64px;
        display: grid;
        place-items: center;
    }

    .wallet-modern-withdraw-btn {
        min-height: 58px;
        display: grid;
        place-items: center;
        border-radius: 14px;
    }

    .withdraw-modern-wrap {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .withdraw-modern-wrap > .withdraw-modern-header,
    .withdraw-modern-wrap > .section-card {
        grid-column: 1 / -1;
    }

    .withdraw-modern-card {
        margin-top: 0;
    }

    .setting-card {
        border-radius: 18px;
        padding: 20px;
    }

    .setting-btn {
        min-height: 52px;
    }

    .auth-theme-strip .dash-slider-track {
        height: 360px;
    }
}

@media (min-width: 1600px) {
    .mobile-wrap,
    .dashboard-wrap {
        max-width: 1460px;
    }

    .dash-content {
        grid-template-columns: minmax(0, 1.35fr) minmax(420px, 1fr);
    }
}

@media (hover: hover) and (min-width: 1024px) {
    .dash-action-btn,
    .dash-menu-card,
    .wallet-modern-action-btn,
    .setting-btn,
    .withdraw-modern-card {
        transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    }

    .dash-action-btn:hover,
    .wallet-modern-action-btn:hover,
    .setting-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 28px rgba(19, 60, 132, .26);
    }

    .dash-menu-card:hover,
    .withdraw-modern-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 30px rgba(18, 49, 107, .2), var(--glass-glow);
        border-color: rgba(214, 231, 255, .92);
    }

    .bottom-nav a {
        transition: background .2s ease, color .2s ease;
    }

    .bottom-nav a:hover {
        background: rgba(255, 255, 255, .16);
        color: #fff;
    }
}

/* ===== Professional Webview Refresh ===== */
html {
    -webkit-text-size-adjust: 100%;
}

:root {
    --user-shell-max: 1280px;
    --user-surface: rgba(255, 255, 255, 0.74);
    --user-surface-strong: rgba(255, 255, 255, 0.82);
    --user-panel-border: rgba(195, 219, 252, 0.86);
    --user-panel-shadow: 0 18px 38px rgba(18, 44, 88, 0.14);
    --user-ink: #102446;
    --user-ink-soft: #5a7095;
    --user-accent: #1f6fd0;
    --user-accent-strong: #164fa1;
}

body.user-body,
body.user-body input,
body.user-body select,
body.user-body textarea,
body.user-body button {
    font-family: 'Manrope', 'Segoe UI', Tahoma, sans-serif;
}

.auth-title,
.dash-name strong,
.dash-currency-copy h3,
.dash-borrow-copy strong,
.section-title,
.wallet-modern-header h3,
.withdraw-modern-header h3,
.setting-page-header h3,
.frozen-page-header h1,
.frozen-prompt-top h2 {
    font-family: 'Sora', 'Manrope', 'Segoe UI', sans-serif;
}

body.user-body {
    color: var(--user-ink);
}

.user-shell {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
}

.mobile-wrap {
    width: min(100%, var(--user-shell-max));
    max-width: var(--user-shell-max);
    padding: 16px 14px calc(var(--bottom-nav-height) + 34px + env(safe-area-inset-bottom));
}

.auth-page {
    gap: 18px;
    background:
        radial-gradient(42rem 42rem at -8% -8%, rgba(152, 215, 255, 0.5), transparent 56%),
        radial-gradient(35rem 35rem at 105% 0%, rgba(95, 128, 255, 0.28), transparent 58%),
        linear-gradient(180deg, #edf7ff 0%, #dcecff 48%, #e9f5ff 100%);
}

.auth-card,
.section-card,
.dash-balance-shell,
.dash-currency-card,
.dash-menu-card,
.wallet-modern-card,
.withdraw-modern-card,
.setting-card,
.status-item,
.read-only-grid .row,
.bank-section-card,
.apply-loan-card,
.dash-banner,
.auth-theme-strip {
    background: var(--user-surface);
    border: 1px solid var(--user-panel-border);
    box-shadow: var(--user-panel-shadow), var(--glass-glow);
}

.auth-card {
    background: var(--user-surface-strong);
}

.auth-title {
    letter-spacing: -0.04em;
    color: #154684;
}

label {
    color: #55719a;
    font-weight: 700;
}

input,
select,
textarea {
    min-height: 50px;
    border-radius: 14px;
    font-size: 16px;
    color: var(--user-ink);
}

textarea {
    min-height: 120px;
}

.btn {
    min-height: 48px;
    border-radius: 14px;
}

.btn-primary,
.dash-currency-controls .btn,
.setting-currency-form .btn-primary {
    background:
        linear-gradient(135deg, rgba(40, 130, 245, 0.9), rgba(57, 89, 227, 0.94));
}

.alert {
    border: 1px solid rgba(196, 214, 244, 0.8);
    box-shadow: 0 10px 22px rgba(19, 50, 101, 0.08);
}

.dashboard-wrap {
    width: min(100%, var(--user-shell-max));
    max-width: var(--user-shell-max);
    margin: 18px auto 0;
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(228, 239, 255, 0.92), rgba(222, 234, 251, 0.84)),
        radial-gradient(circle at 0% 0%, rgba(112, 178, 255, 0.18), transparent 34%);
    border: 1px solid rgba(196, 214, 244, 0.84);
    box-shadow: 0 22px 44px rgba(15, 37, 78, 0.12);
}

.dash-topbar {
    padding: 20px 18px 26px;
    background:
        linear-gradient(145deg, rgba(17, 73, 150, 0.86), rgba(41, 92, 201, 0.8)),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 56%);
}

.dash-name {
    color: #fff;
}

.dash-phone {
    font-size: 15px;
    color: rgba(227, 236, 255, 0.84);
}

.dash-content {
    gap: 16px;
    padding: 16px;
}

.dash-balance-shell,
.dash-currency-card,
.dash-banner,
.section-card,
.wallet-modern-card,
.withdraw-modern-card,
.setting-card,
.status-item,
.bank-section-card,
.apply-loan-card {
    border-radius: 22px;
}

.dash-balance-primary {
    min-height: 176px;
    border-radius: 22px;
    padding: 22px 18px;
    background:
        linear-gradient(135deg, rgba(31, 111, 208, 0.94), rgba(57, 89, 227, 0.9)),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.2), transparent 54%);
}

.dash-balance-primary p {
    color: rgba(236, 243, 255, 0.82);
}

.dash-balance-action {
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.dash-actions {
    gap: 12px;
}

.dash-action-btn {
    min-height: 78px;
    border-radius: 18px;
}

.dash-action-text strong {
    font-size: 14px;
}

.dash-action-text small {
    font-size: 11px;
}

.dash-menu-card {
    min-height: 136px;
    font-size: 15px;
    border-radius: 20px;
}

.dash-menu-card span:last-child {
    line-height: 1.35;
}

.dash-menu-card small {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 700;
    opacity: .68;
    letter-spacing: .08em;
}

.dash-borrow-status {
    border-radius: 22px;
}

.dash-banner > img,
.dash-slider-track {
    border-radius: inherit;
}

.setting-page-header,
.wallet-modern-header,
.withdraw-modern-header {
    min-height: 72px;
    border-radius: 20px;
}

.setting-card,
.wallet-modern-card,
.withdraw-modern-card {
    padding: 18px;
}

.setting-btn,
.wallet-modern-action-btn,
.wallet-modern-withdraw-btn {
    min-height: 50px;
    border-radius: 14px;
}

.bottom-nav {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    border-radius: 24px;
    border: 1px solid rgba(201, 224, 255, 0.48);
    box-shadow: 0 18px 34px rgba(16, 48, 100, 0.2);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.bottom-nav .inner {
    max-width: none;
    padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
    gap: 4px;
}

.bottom-nav a {
    min-height: 62px;
    border-radius: 16px;
}

.bottom-nav a span:last-child {
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 820px) {
    .mobile-wrap {
        padding: 12px 10px calc(var(--bottom-nav-height) + 28px + env(safe-area-inset-bottom));
    }

    .dash-topbar {
        padding: 16px 14px 20px;
    }

    .dash-content {
        padding: 12px;
        gap: 12px;
    }

    .dash-balance-primary {
        min-height: 154px;
        padding: 18px 16px;
    }
}

@media (min-width: 992px) {
    .mobile-wrap,
    .dashboard-wrap {
        max-width: var(--user-shell-max);
    }

    .dash-content {
        grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.92fr);
        gap: 18px;
        align-items: start;
    }

    .dash-balance-shell,
    .dash-currency-card,
    .dash-actions {
        grid-column: 1 / 2;
    }

    .dash-borrow-status,
    .dash-menu-grid {
        grid-column: 2 / 3;
    }

    .dash-banner {
        grid-column: 1 / -1;
    }

    .wallet-modern-wrap,
    .withdraw-modern-wrap,
    .setting-page-wrap,
    .bank-info-wrap,
    .apply-loan-wrap {
        max-width: 1120px;
    }

    .bottom-nav {
        left: 50%;
        right: auto;
        width: min(720px, calc(100vw - 28px));
        transform: translateX(-50%);
    }
}

/* ===== Dashboard Network Sliders ===== */
.dash-network-shell {
    display: grid;
    gap: 14px;
    grid-column: 1 / -1;
    order: 2;
}

.dash-network-card {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(246, 251, 255, .9)),
        radial-gradient(circle at top right, rgba(113, 176, 255, .16), transparent 42%);
    border: 1px solid rgba(203, 221, 247, .94);
    box-shadow: 0 16px 30px rgba(18, 49, 107, .12);
}

.dash-network-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, .34), transparent 28%),
        linear-gradient(145deg, rgba(255, 255, 255, .12), transparent 52%);
}

.dash-network-card-banks {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(249, 252, 248, .92)),
        radial-gradient(circle at top right, rgba(94, 188, 151, .14), transparent 42%);
}

.dash-network-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.dash-network-badge {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #1f63c9;
    background: rgba(32, 109, 214, .1);
    flex-shrink: 0;
}

.dash-network-badge-bank {
    color: #16936a;
    background: rgba(22, 147, 106, .1);
}

.dash-network-icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dash-network-copy {
    min-width: 0;
}

.dash-network-copy h3 {
    margin: 0;
    color: #112444;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.dash-network-copy p {
    margin: 6px 0 0;
    color: #61718c;
    font-size: 13px;
    line-height: 1.6;
}

.dash-logo-marquee {
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-top: 16px;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.dash-logo-track {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: max-content;
}

.dash-logo-track-partners {
    animation: dashLogoRoll 32s linear infinite;
}

.dash-logo-track-banks {
    animation: dashLogoRoll 38s linear infinite;
}

.dash-network-card:hover .dash-logo-track {
    animation-play-state: paused;
}

.dash-logo-card {
    min-width: 132px;
    display: grid;
    gap: 10px;
    justify-items: center;
    padding: 14px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(215, 229, 248, .96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86);
}

.dash-logo-card-bank {
    min-width: 144px;
}

.dash-logo-image {
    width: auto;
    max-width: 92px;
    height: 38px;
    object-fit: contain;
}

.dash-logo-card span {
    color: #274165;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}

.dash-network-note {
    position: relative;
    z-index: 1;
    margin: 14px 0 0;
    color: #58708e;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

@keyframes dashLogoRoll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 820px) {
    .dash-slider-track,
    .dash-banner-panel {
        min-height: 248px;
    }

    .dash-slider-btn {
        width: 38px;
        height: 38px;
        background: rgba(15, 28, 58, .12);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .dash-slider-dots {
        bottom: 10px;
        gap: 7px;
    }

    .dash-slider-dot {
        width: 8px;
        height: 8px;
    }

    .dash-network-card {
        padding: 16px;
    }

    .dash-banner-panel {
        padding: 18px;
    }

    .dash-calculator-card {
        padding: 18px;
    }

    .dash-calculator-link {
        display: none;
    }
}

@media (min-width: 992px) {
    .dash-network-shell {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .dash-calculator-head,
    .dash-calculator-title-wrap,
    .dash-calculator-group-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .dash-calculator-range-labels {
        font-size: 12px;
    }

    .dash-calculator-chip,
    .dash-calculator-term {
        min-height: 58px;
    }

    .dash-calculator-term-grid,
    .dash-calculator-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dash-logo-marquee {
        overflow-x: auto;
        mask-image: none;
        -webkit-mask-image: none;
        padding-bottom: 4px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .dash-logo-marquee::-webkit-scrollbar {
        display: none;
    }

    .dash-logo-track {
        animation: none !important;
        padding-right: 12px;
    }

    .dash-logo-card[aria-hidden="true"] {
        display: none;
    }

    .dash-logo-card,
    .dash-logo-card-bank {
        scroll-snap-align: start;
    }

    .dash-banner-panel .dash-logo-marquee {
        overflow-x: auto;
        mask-image: none;
        -webkit-mask-image: none;
        padding-bottom: 4px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .dash-banner-panel .dash-logo-track {
        animation: none !important;
        padding-right: 12px;
    }

    .dash-banner-panel .dash-logo-card[aria-hidden="true"] {
        display: none;
    }
}

/* ===== GlobalLending customer dashboard refresh ===== */
.dashboard-wrap {
    background:
        radial-gradient(50rem 26rem at 0% 0%, rgba(36, 145, 165, .13), transparent 58%),
        linear-gradient(180deg, #f5f8fc 0%, #edf3f9 100%);
    border-color: #d7e2ee;
    border-radius: 22px;
    box-shadow: 0 22px 48px rgba(15, 40, 69, .12);
}

.dash-topbar {
    padding: 22px 22px 28px;
    background:
        radial-gradient(circle at 85% 10%, rgba(74, 210, 194, .23), transparent 30%),
        linear-gradient(135deg, #112b4a 0%, #16466e 54%, #176b77 100%);
    box-shadow: none;
}

.dash-avatar { border-color: rgba(255, 255, 255, .68); background: rgba(255, 255, 255, .16); }
.dash-avatar span { background: linear-gradient(145deg, #25b99a, #188f88); }
.dash-phone { color: rgba(224, 242, 248, .76); }
.dash-bell { width: 38px; height: 38px; border: 1px solid rgba(225, 247, 249, .28); border-radius: 12px; background: rgba(255, 255, 255, .1); }

.dash-content { padding: 18px; gap: 16px; }

.dash-profile-summary-card {
    border-color: #dae5ef;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(18, 54, 89, .08);
}

.dash-profile-summary-kicker { background: #e6f4f3; color: #126d6a; }
.dash-profile-summary-copy h2 { color: #122d4d; }
.dash-profile-summary-link { background: linear-gradient(135deg, #126e7b, #118c82); box-shadow: 0 6px 14px rgba(16, 116, 121, .18); }
.dash-profile-summary-progress { background: #f8fbfd; border-color: #dce7ef; }
.dash-profile-summary-progress-head strong { color: #0c7774; }
.dash-profile-summary-track { background: #dce8ee; }
.dash-profile-summary-track span { background: linear-gradient(90deg, #0f8c83, #22b69a); }
.dash-profile-summary-stats span { background: #fff; border-color: #dce7ef; color: #59728c; }

.dash-balance-shell { padding: 10px; border-color: #d7e3ed; background: #fff; box-shadow: 0 10px 26px rgba(18, 54, 89, .08); }
.dash-balance-primary {
    min-height: 168px;
    background:
        radial-gradient(circle at 88% 18%, rgba(92, 232, 207, .2), transparent 25%),
        linear-gradient(135deg, #123a61 0%, #136777 100%);
    box-shadow: none;
}
.dash-balance-primary h2 { letter-spacing: -.045em; }
.dash-balance-action { border-color: rgba(231, 255, 250, .58); background: rgba(255, 255, 255, .12); }

.dash-borrow-status { border: 1px solid rgba(18, 113, 115, .14); border-radius: 18px; box-shadow: 0 10px 22px rgba(18, 72, 91, .12); }
.dash-borrow-status.is-locked { background: linear-gradient(135deg, #17476e, #176c78); }
.dash-borrow-status.is-ready { background: linear-gradient(135deg, #137462, #1eaa83); }

.dash-action-btn { border-radius: 15px; background: #fff; border: 1px solid #d8e5ed; color: #183d5c; box-shadow: 0 7px 16px rgba(18, 54, 89, .07); }
.dash-action-btn-alt { background: #fff; }
.dash-action-icon { background: #e4f4f2; color: #117b76; }
.dash-action-svg { stroke: currentColor; }
.dash-action-text small { color: #71869b; opacity: 1; }

.dash-menu-card { border-color: #dbe6ef; border-radius: 16px; color: #183d5c; box-shadow: 0 7px 16px rgba(18, 54, 89, .06); }
.dash-menu-card-borrow { background: linear-gradient(145deg, #f6fffc, #eaf7f5); }
.dash-menu-card-borrow .dash-menu-icon { background: #dff4ef; color: #0a8277; }
.dash-menu-card-locked { background: linear-gradient(145deg, #f8fafc, #eff4f8); color: #596d81; }
.dash-menu-icon { background: #edf4f7; color: #176f84; }

.bottom-nav { border-color: rgba(187, 218, 228, .72); background: rgba(255, 255, 255, .9); box-shadow: 0 16px 34px rgba(15, 52, 78, .17); }
.bottom-nav a { color: #678096; }
.bottom-nav a.active { color: #0d746f; background: #e3f3f1; }
.bottom-nav a.active .nav-ico { background: #cfece7; }

@media (min-width: 992px) {
    .dashboard-wrap { margin-top: 22px; }
    .dash-topbar { padding: 24px 26px 30px; }
    .dash-content { padding: 20px; }
}

@media (max-width: 600px) {
    .dashboard-wrap { margin-top: 10px; border-radius: 18px; }
    .dash-topbar { padding: 16px 14px 22px; }
    .dash-content { padding: 12px; gap: 12px; }
    .dash-balance-primary { min-height: 148px; }
}

@media (max-width: 420px) {
    .dash-calculator-chip-row,
    .dash-calculator-term-grid,
    .dash-calculator-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dash-logo-track-partners,
    .dash-logo-track-banks {
        animation: none;
    }
}

/* ===== Register Refresh ===== */
.register-auth-page {
    justify-content: center;
    padding: 26px 14px 40px;
    background:
        radial-gradient(32rem 32rem at 0% 0%, rgba(44, 132, 114, .08), transparent 54%),
        radial-gradient(28rem 28rem at 100% 0%, rgba(204, 164, 92, .08), transparent 56%),
        linear-gradient(180deg, #f6f7f8 0%, #f1f3f5 100%);
}

.register-auth-shell {
    width: min(480px, 100%);
    display: grid;
    gap: 16px;
}

.register-brand-block {
    text-align: center;
    padding-top: 8px;
}

.register-brand-mark {
    width: 88px;
    height: 88px;
    object-fit: contain;
    margin: 0 auto 14px;
}

.register-brand-wordmark {
    margin: 0;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: clamp(36px, 7vw, 54px);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
}

.register-brand-wordmark span:first-child {
    color: #154a8d;
}

.register-brand-wordmark span:last-child {
    color: #1c8a67;
}

.register-accreditation-row {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.register-accreditation-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1b4f98;
    font-size: 14px;
    font-weight: 700;
}

.register-accreditation-item.is-alt {
    color: #bc4f52;
}

.register-accreditation-item svg {
    width: 14px;
    height: 14px;
    stroke-width: 2;
}

.register-brand-subtitle {
    margin: 18px 0 0;
    color: #707b88;
    font-size: 16px;
    line-height: 1.5;
}

.register-card {
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(224, 232, 239, .96);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(34, 48, 74, .1);
}

.register-alert {
    width: 100%;
    margin: 0 0 14px;
}

.register-form {
    display: grid;
    gap: 16px;
}

.register-field {
    display: grid;
    gap: 10px;
}

.register-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #33445f;
    font-size: 15px;
    font-weight: 800;
}

.register-label-icon {
    width: 16px;
    height: 16px;
    color: #1d55a4;
    display: inline-flex;
}

.register-label-icon.is-danger {
    color: #c84f57;
}

.register-label-icon svg,
.register-help-icon svg,
.register-security-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.register-form input,
.register-form select {
    min-height: 54px;
    border-radius: 18px;
    border: 1px solid #d4dbe3;
    background: #fff;
    padding: 14px 16px;
    color: #23324c;
    font-size: 16px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, .8);
}

.register-form input::placeholder {
    color: #99a3af;
}

.register-form input:focus,
.register-form select:focus {
    outline: none;
    border-color: rgba(29, 85, 164, .34);
    box-shadow: 0 0 0 4px rgba(29, 85, 164, .08);
}

.register-phone-grid {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 10px;
}

.register-form select {
    appearance: auto;
    font-weight: 700;
}

.register-help {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7b8491;
    font-size: 13px;
    font-weight: 700;
}

.register-help-icon,
.register-security-icon {
    width: 14px;
    height: 14px;
    color: #7b8491;
    display: inline-flex;
    flex-shrink: 0;
}

.register-terms-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 14px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #edf1f5;
    color: #5a6573;
    font-size: 14px;
    line-height: 1.65;
}

.register-terms-box input {
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin-top: 2px;
    padding: 0;
    border-radius: 5px;
}

.register-terms-box a {
    color: #174f99;
    font-weight: 800;
}

.register-submit {
    min-height: 62px;
    border-radius: 18px;
    font-size: 18px;
    font-weight: 800;
    background:
        linear-gradient(135deg, #173b46, #1d8a67);
    box-shadow: 0 18px 28px rgba(27, 71, 72, .16);
}

.register-security-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #a0a8b3;
    font-size: 14px;
    font-weight: 700;
    padding-top: 2px;
}

.register-auth-foot {
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(230, 235, 241, .9);
    border-radius: 18px;
    padding: 16px 18px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(34, 48, 74, .04);
}

.register-auth-foot p {
    margin: 0;
    color: #5b6673;
    font-size: 15px;
    line-height: 1.5;
}

.register-auth-foot a {
    color: #174f99;
    font-weight: 800;
}

.register-bottom-note {
    margin: 0;
    text-align: center;
    color: #9aa3ae;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 560px) {
    .register-auth-page {
        padding: 18px 10px 26px;
    }

    .register-card {
        padding: 18px;
        border-radius: 24px;
    }

    .register-brand-mark {
        width: 74px;
        height: 74px;
        margin-bottom: 12px;
    }

    .register-brand-wordmark {
        font-size: 34px;
    }

    .register-phone-grid {
        grid-template-columns: 1fr;
    }

    .register-submit {
        min-height: 58px;
    }
}

/* ===== Login Refresh ===== */
.login-auth-page {
    padding-bottom: 44px;
}

.login-auth-shell {
    width: min(560px, 100%);
}

.auth-brand-kicker {
    margin: 0 0 10px;
    color: #7a8a98;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.login-card {
    padding-top: 22px;
}

.login-auth-foot-inline {
    margin-top: 16px;
    background: linear-gradient(180deg, rgba(248, 250, 252, .92), rgba(255, 255, 255, .94));
}

.login-security-line {
    justify-self: center;
    margin-top: 2px;
    padding: 8px 14px 0;
}

.login-note {
    width: 100%;
    margin: 0 0 16px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(18, 59, 73, .08), rgba(32, 128, 101, .08));
    border: 1px solid rgba(43, 114, 109, .14);
    color: #49616d;
}

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

.login-support-card {
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(225, 233, 238, .94);
    border-radius: 22px;
    padding: 18px 16px;
    box-shadow: 0 14px 30px rgba(34, 48, 74, .08);
}

.login-support-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #174f99;
    background: linear-gradient(135deg, rgba(23, 79, 153, .12), rgba(29, 138, 103, .12));
}

.login-support-icon svg,
.about-pill svg,
.about-section-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-support-card h2 {
    margin: 14px 0 8px;
    color: #22324a;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
}

.login-support-card p {
    margin: 0;
    color: #697483;
    font-size: 14px;
    line-height: 1.65;
}

/* ===== About Refresh ===== */
.about-page-wrap {
    display: grid;
    gap: 14px;
}

.about-hero-card {
    padding: 24px;
    border-radius: 24px;
    background:
        radial-gradient(26rem 18rem at 100% 0%, rgba(215, 182, 115, .18), transparent 55%),
        linear-gradient(135deg, #143746, #1f6f61);
    color: #fff;
    box-shadow: 0 18px 34px rgba(18, 49, 63, .18);
}

.about-eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.about-hero-title {
    margin: 0;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: clamp(28px, 5vw, 40px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.about-hero-copy {
    margin: 16px 0 0;
    max-width: 760px;
    color: rgba(255, 255, 255, .86);
    font-size: 15px;
    line-height: 1.8;
}

.about-pill-row {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.about-story-card {
    padding: 22px;
    border-radius: 22px;
}

.about-section-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.about-section-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #174f99;
    background: linear-gradient(135deg, rgba(23, 79, 153, .12), rgba(29, 138, 103, .08));
}

.about-section-icon.is-bank {
    color: #1d8a67;
}

.about-section-icon.is-globe {
    color: #9e6b1b;
}

.about-section-head h2 {
    margin: 0;
    color: #1f3048;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.about-section-head p,
.about-section-copy {
    margin: 10px 0 0;
    color: #637083;
    font-size: 15px;
    line-height: 1.8;
}

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

.about-feature-card {
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fcfdff, #f7fafc);
    border: 1px solid #e5ecf2;
}

.about-feature-card h3,
.about-logo-card h3 {
    margin: 0;
    color: #22324a;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
}

.about-feature-card p,
.about-logo-card p {
    margin: 8px 0 0;
    color: #687486;
    font-size: 14px;
    line-height: 1.7;
}

.about-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.about-logo-card {
    padding: 18px 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid #e6edf4;
    box-shadow: 0 10px 22px rgba(30, 46, 74, .05);
    text-align: center;
}

.about-logo-card img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin: 0 auto 14px;
    display: block;
}

@media (max-width: 860px) {
    .login-support-grid,
    .about-feature-grid,
    .about-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .login-auth-shell {
        width: 100%;
    }

    .login-support-grid,
    .about-feature-grid,
    .about-logo-grid {
        grid-template-columns: 1fr;
    }

    .auth-brand-kicker {
        letter-spacing: .14em;
    }

    .about-hero-card,
    .about-story-card {
        padding: 18px;
    }

    .about-section-head {
        grid-template-columns: 1fr;
    }

    .about-section-icon {
        width: 44px;
        height: 44px;
    }
}

/* ===== Final UI Polish ===== */
:root {
    --purple-900: #143746;
    --purple-700: #195b8f;
    --purple-500: #1d8a67;
    --bg-soft: #eef4fb;
    --text-main: #14263d;
    --text-muted: #66778c;
}

body.user-body {
    font-family: 'Manrope', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.dash-slider-track {
    display: grid;
    align-items: stretch;
}

.dash-slider .dash-slide {
    display: grid;
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(18px, 0, 0);
    transition: opacity .38s ease, transform .38s ease, visibility .38s step-end;
}

.dash-slider .dash-slide.is-active {
    display: grid;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    z-index: 1;
    transition: opacity .45s ease, transform .45s ease, visibility 0s linear;
}

.dash-slider-dot {
    transition: transform .24s ease, background-color .24s ease, opacity .24s ease;
}

.dash-slider-dot.is-active {
    transform: scale(1.15);
}

@media (max-width: 767px) {
}

@media (prefers-reduced-motion: reduce) {
    .dash-slider .dash-slide {
        transform: none;
        transition: none;
    }

    .dash-slider-dot {
        transition: none;
    }
}

/* ===== Dashboard Brand Wall Cleanup ===== */
.dash-network-card {
    display: grid;
    gap: 18px;
}

.dash-logo-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
}

.dash-logo-grid-banks {
    grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
}

.dash-logo-tile {
    display: grid;
    gap: 10px;
    align-content: start;
    min-height: 120px;
    padding: 14px 12px 12px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(247, 251, 255, .92));
    border: 1px solid rgba(212, 225, 242, .94);
    box-shadow:
        0 10px 20px rgba(18, 49, 107, .06),
        inset 0 1px 0 rgba(255, 255, 255, .86);
}

.dash-logo-tile-bank {
    min-height: 118px;
}

.dash-logo-tile-media {
    min-height: 62px;
    display: grid;
    place-items: center;
    padding: 6px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(245, 249, 255, .98), rgba(255, 255, 255, .88));
}

.dash-logo-grid .dash-logo-image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 54px;
    object-fit: contain;
}

.dash-logo-tile-label {
    color: #244262;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}

.dash-network-foot {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dash-network-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(210, 223, 241, .92);
    color: #54718d;
    font-size: 12px;
    font-weight: 700;
}

.dash-network-stat strong {
    color: #173b46;
    font-size: 13px;
}

@media (min-width: 992px) {
    .dash-network-shell {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

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

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

@media (max-width: 767px) {
    .dash-network-card {
        gap: 16px;
    }

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

    .dash-logo-tile,
    .dash-logo-tile-bank {
        min-height: 108px;
        padding: 12px 10px;
    }

    .dash-logo-tile-media {
        min-height: 56px;
    }

    .dash-logo-grid .dash-logo-image {
        max-height: 46px;
    }
}

/* ===== Dashboard Network Motion ===== */
.dash-network-shell {
    perspective: 1200px;
}

.dash-network-card {
    isolation: isolate;
    transform: translateZ(0);
}

.dash-network-card::after {
    content: '';
    position: absolute;
    z-index: 0;
    right: -12%;
    bottom: -30%;
    width: 56%;
    height: 82%;
    background: radial-gradient(circle, rgba(45, 126, 230, .22), transparent 66%);
    pointer-events: none;
    animation: dashNetworkOrb 13s ease-in-out infinite;
}

.dash-network-card-banks::after {
    left: -12%;
    right: auto;
    background: radial-gradient(circle, rgba(29, 138, 103, .2), transparent 66%);
    animation-duration: 15s;
}

.dash-network-head,
.dash-logo-grid,
.dash-network-foot {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition:
        opacity .72s ease,
        transform .72s cubic-bezier(.22, 1, .36, 1);
}

.dash-network-card.is-ready .dash-network-head,
.dash-network-card.is-ready .dash-logo-grid,
.dash-network-card.is-ready .dash-network-foot {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.dash-network-card.is-ready .dash-logo-grid {
    transition-delay: .08s;
}

.dash-network-card.is-ready .dash-network-foot {
    transition-delay: .18s;
}

.dash-logo-tile {
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translate3d(0, 22px, 0) rotateX(10deg) scale(.97);
    transition:
        opacity .74s ease,
        transform .74s cubic-bezier(.22, 1, .36, 1),
        border-color .28s ease,
        box-shadow .28s ease,
        background .28s ease;
    transition-delay: var(--tile-delay, 0ms);
    transform-origin: center bottom;
}

.dash-network-card.is-ready .dash-logo-tile {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0) scale(1);
}

.dash-logo-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, .08) 38%, rgba(255, 255, 255, .76) 50%, transparent 64%);
    transform: translateX(-135%);
    pointer-events: none;
}

.dash-network-card.is-ready .dash-logo-tile::before {
    animation: dashTileShine 8.5s ease-in-out infinite;
    animation-delay: calc(var(--tile-delay, 0ms) + 1100ms);
}

.dash-logo-tile-media {
    position: relative;
    transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
    animation: dashLogoFloat 5.6s ease-in-out infinite;
    animation-delay: var(--float-delay, 0ms);
}

.dash-network-card-banks .dash-logo-tile-media {
    animation-duration: 6.4s;
}

.dash-logo-tile:hover,
.dash-logo-tile:focus-within {
    border-color: rgba(115, 161, 230, .95);
    background: linear-gradient(180deg, rgba(255, 255, 255, .99), rgba(240, 248, 255, .96));
    box-shadow:
        0 18px 28px rgba(18, 49, 107, .12),
        inset 0 1px 0 rgba(255, 255, 255, .92);
}

.dash-network-card-banks .dash-logo-tile:hover,
.dash-network-card-banks .dash-logo-tile:focus-within {
    border-color: rgba(88, 176, 136, .9);
}

.dash-logo-tile:hover .dash-logo-tile-media,
.dash-logo-tile:focus-within .dash-logo-tile-media {
    transform: translateY(-3px) scale(1.03);
    background: linear-gradient(180deg, rgba(247, 251, 255, .99), rgba(255, 255, 255, .96));
    box-shadow: 0 14px 20px rgba(18, 49, 107, .08);
}

.dash-network-stat {
    transition:
        transform .28s ease,
        background .28s ease,
        border-color .28s ease,
        box-shadow .28s ease;
}

.dash-network-card:hover .dash-network-stat {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .92);
    border-color: rgba(201, 218, 240, .98);
    box-shadow: 0 10px 18px rgba(18, 49, 107, .08);
}

@keyframes dashNetworkOrb {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: .9;
    }

    50% {
        transform: translate3d(-18px, -12px, 0) scale(1.08);
        opacity: .65;
    }
}

@keyframes dashTileShine {
    0%, 72%, 100% {
        transform: translateX(-135%);
    }

    82% {
        transform: translateX(135%);
    }
}

@keyframes dashLogoFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -5px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dash-network-card::after,
    .dash-logo-tile::before,
    .dash-logo-tile-media {
        animation: none !important;
    }

    .dash-network-head,
    .dash-logo-grid,
    .dash-network-foot,
    .dash-logo-tile {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ===== Dashboard Profile + Corporation Banner ===== */
.dash-profile-summary-card {
    padding: 18px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(244, 250, 255, .95)),
        radial-gradient(circle at top right, rgba(34, 113, 199, .14), transparent 46%);
    border: 1px solid rgba(204, 221, 242, .94);
    box-shadow: 0 14px 28px rgba(21, 50, 90, .12);
    display: grid;
    gap: 14px;
}

.dash-profile-summary-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.dash-profile-summary-copy h2 {
    margin: 6px 0 0;
    color: #172d4e;
    font-size: clamp(22px, 4vw, 28px);
    line-height: 1.15;
    letter-spacing: -.03em;
}

.dash-profile-summary-copy p {
    margin: 8px 0 0;
    color: #57708f;
    font-size: 14px;
    line-height: 1.5;
}

.dash-profile-summary-kicker {
    display: inline-flex;
    min-height: 28px;
    padding: 0 10px;
    align-items: center;
    border-radius: 999px;
    background: rgba(24, 90, 168, .1);
    color: #21518e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.dash-profile-summary-link {
    flex-shrink: 0;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f5c9f;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.dash-profile-summary-progress {
    border-radius: 16px;
    padding: 14px 14px 12px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(215, 227, 244, .95);
}

.dash-profile-summary-progress-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.dash-profile-summary-progress-head span {
    color: #5a718d;
    font-size: 13px;
    font-weight: 700;
}

.dash-profile-summary-progress-head strong {
    color: #1a4d86;
    font-size: 18px;
    font-weight: 800;
}

.dash-profile-summary-track {
    margin-top: 10px;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(194, 210, 231, .55);
}

.dash-profile-summary-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, #1d8a67, #1f6fd0);
}

.dash-profile-summary-stats {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dash-profile-summary-stats span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(211, 225, 243, .95);
    color: #57708f;
    font-size: 11px;
    font-weight: 700;
}

.dashboard-showcase-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 30px rgba(20, 44, 81, .16);
}

.dashboard-showcase-slider .dash-slider-track {
    min-height: 298px;
}

.dashboard-showcase-slider .dash-slide {
    height: 100%;
}

.dashboard-showcase-slider .dash-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.dashboard-showcase-slider .dash-banner > img {
    width: 100%;
    height: 298px;
    object-fit: cover;
}

.dash-banner-caption {
    position: absolute;
    inset: auto 14px 14px;
    padding: 14px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(180deg, rgba(15, 39, 64, .28), rgba(15, 39, 64, .74));
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.dash-banner-caption strong {
    display: block;
    font-size: clamp(16px, 3.4vw, 22px);
    line-height: 1.2;
}

.dash-banner-caption p {
    margin: 8px 0 0;
    color: rgba(241, 248, 255, .95);
    font-size: 13px;
    line-height: 1.55;
}

.dashboard-showcase-slider .dash-banner-panel {
    height: 100%;
    min-height: 298px;
}

/* ===== Information Overview Refresh ===== */
.info-overview-wrap {
    display: grid;
    gap: 14px;
}

.info-overview-card {
    padding: 18px;
    border-radius: 22px;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, .98), rgba(245, 250, 255, .94)),
        radial-gradient(circle at top right, rgba(69, 128, 213, .14), transparent 44%);
    border: 1px solid rgba(205, 220, 243, .95);
    box-shadow: 0 14px 28px rgba(22, 49, 86, .12);
}

.info-overview-profile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.info-overview-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #fff;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #1f6fd0, #1d8a67);
    box-shadow: 0 10px 18px rgba(19, 70, 117, .2);
}

.info-overview-avatar svg {
    width: 28px;
    height: 28px;
}

.info-overview-kicker {
    margin: 0;
    color: #5e7592;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.info-overview-copy h2 {
    margin: 6px 0 0;
    color: #172d4e;
    font-size: clamp(22px, 4.3vw, 30px);
    line-height: 1.12;
    letter-spacing: -.03em;
}

.info-overview-copy p {
    margin: 7px 0 0;
    color: #58708d;
    font-size: 14px;
    line-height: 1.5;
}

.info-overview-progress {
    margin-top: 14px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .84);
    border: 1px solid rgba(214, 226, 243, .95);
}

.info-overview-progress-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

.info-overview-progress-head span {
    color: #607692;
    font-size: 13px;
    font-weight: 700;
}

.info-overview-progress-head strong {
    color: #205089;
    font-size: 18px;
    font-weight: 800;
}

.info-overview-progress-track {
    margin-top: 10px;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(194, 210, 231, .54);
}

.info-overview-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, #1d8a67, #1f6fd0);
}

.info-overview-progress p {
    margin: 9px 0 0;
    color: #607692;
    font-size: 12px;
    line-height: 1.5;
}

.info-summary-card {
    padding: 18px;
    border-radius: 22px;
}

.info-summary-alert {
    width: 100%;
    margin: 0;
}

.info-summary-copy {
    margin: 12px 0 0;
    color: #4f6078;
    font-size: 14px;
    line-height: 1.65;
}

.info-status-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.info-status-card {
    border-radius: 18px;
    padding: 14px;
    display: grid;
    gap: 10px;
    background: linear-gradient(180deg, #fbfcff, #f5f8fc);
    border: 1px solid rgba(214, 226, 241, .95);
    box-shadow: 0 10px 20px rgba(20, 44, 80, .08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.info-status-card:hover {
    transform: translateY(-2px);
    border-color: rgba(119, 161, 220, .9);
    box-shadow: 0 14px 24px rgba(20, 44, 80, .12);
}

.info-status-card.is-complete {
    border-color: rgba(104, 176, 140, .86);
    background: linear-gradient(180deg, #fcfffd, #f2fbf6);
}

.info-status-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-status-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #205f9f;
    background: rgba(30, 111, 200, .11);
}

.info-status-card.is-complete .info-status-icon {
    color: #1c8a65;
    background: rgba(28, 138, 101, .12);
}

.info-status-icon svg {
    width: 18px;
    height: 18px;
}

.info-status-card-head strong {
    min-width: 0;
    color: #1d314f;
    font-size: 15px;
    line-height: 1.3;
}

.info-status-card-badge .badge {
    width: fit-content;
}

.info-status-card p {
    margin: 0;
    color: #60718a;
    font-size: 13px;
    line-height: 1.6;
}

.info-status-card-cta {
    display: inline-flex;
    width: fit-content;
    min-height: 30px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(208, 221, 240, .95);
    color: #25558f;
    font-size: 12px;
    font-weight: 700;
}

.info-summary-actions {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

@media (max-width: 767px) {
    .dash-profile-summary-head {
        flex-direction: column;
        align-items: stretch;
    }

    .dash-profile-summary-link {
        width: 100%;
    }

    .dashboard-showcase-slider .dash-slider-track,
    .dashboard-showcase-slider .dash-banner > img,
    .dashboard-showcase-slider .dash-banner-panel {
        min-height: 250px;
        height: 250px;
    }

    .info-status-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Contract Detail ===== */
.contract-page-wrap {
    max-width: 980px;
}

.contract-detail-card {
    position: relative;
    display: grid;
    gap: 18px;
    border-radius: 20px;
    padding: clamp(16px, 2.2vw, 26px);
    background: #ffffff;
    border: 1px solid #cddff4;
    box-shadow: 0 18px 36px rgba(16, 45, 92, .12);
}

.contract-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #dfebfa;
}

.contract-head-copy {
    min-width: 0;
    flex: 1;
}

.contract-kicker {
    margin: 0 0 6px;
    color: #5174a4;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contract-detail-card .section-title {
    margin: 0;
    color: #132f57;
    font-size: clamp(24px, 2vw, 31px);
    line-height: 1.15;
    letter-spacing: -.02em;
}

.contract-status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #98c5ac;
    background: linear-gradient(145deg, #eff9f3, #e4f4ec);
    color: #1d7241;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.contract-display-note {
    margin: 0;
    color: #4f6584;
    font-size: 14px;
    line-height: 1.6;
    max-width: 70ch;
}

.contract-summary-grid {
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contract-summary-grid .row {
    background: #f7fbff;
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid #d3e4f8;
    min-height: 82px;
}

.contract-summary-grid .row small {
    margin-bottom: 6px;
    color: #6f85a5;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contract-summary-grid .row strong {
    line-height: 1.45;
    font-size: 17px;
    color: #183962;
    word-break: break-word;
}

.contract-article {
    margin-top: 4px;
    border-radius: 16px;
    padding: clamp(14px, 1.8vw, 22px);
    background: #f8fbff;
    border: 1px solid #d4e4f8;
    display: grid;
    gap: 16px;
}

.contract-clause {
    padding: 14px 14px 12px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #dbe8f9;
}

.contract-clause-intro {
    background: linear-gradient(145deg, #f7fbff, #eef5ff);
}

.contract-clause-parties {
    background: linear-gradient(145deg, #f6faff, #eef4fc);
}

.contract-clause h4 {
    margin: 0 0 8px;
}

.contract-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 8px;
}

.contract-article h4 {
    color: #143a68;
    font-size: 18px;
    letter-spacing: -.01em;
}

.contract-article p {
    margin: 0 0 10px;
    color: #2c3f5c;
    font-size: 14px;
    line-height: 1.75;
}

.contract-list li {
    color: #2c3f5c;
    font-size: 14px;
    line-height: 1.7;
}

.contract-signature-block {
    border-radius: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid #d4e4f8;
}

.contract-signature-block h4 {
    margin: 0 0 12px;
    color: #143a68;
    font-size: 18px;
}

.contract-signature-image {
    display: block;
    width: 100%;
    max-width: 360px;
    border: 1px solid #cedef2;
    border-radius: 10px;
    background: #fff;
}

.contract-signature-empty {
    margin: 0;
    color: #6d7385;
    font-size: 14px;
}

@media (max-width: 767px) {
    .contract-page-wrap {
        max-width: 460px;
    }

    .contract-detail-card {
        gap: 14px;
        border-radius: 16px;
        padding: 14px 12px;
    }

    .contract-head {
        padding-bottom: 12px;
    }

    .contract-status-chip {
        width: 100%;
        justify-content: flex-start;
    }

    .contract-summary-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .contract-summary-grid .row {
        min-height: 0;
    }

    .contract-article {
        padding: 12px;
        gap: 12px;
    }

    .contract-clause {
        padding: 12px 11px 10px;
    }

    .contract-article h4 {
        font-size: 16px;
    }

    .contract-article p,
    .contract-list li {
        font-size: 13px;
        line-height: 1.65;
    }
}
