/* Anas VTU — Nigerian fintech dashboard UI */

:root {
    --brand: #0066FF;
    --brand-dark: #0052CC;
    --brand-darker: #003D99;
    --brand-light: #E8F1FF;
    --brand-soft: #F0F6FF;
    --accent: #22C55E;
    --accent-light: #DCFCE7;
    --surface: #FFFFFF;
    --page-bg: #F5F7FA;
    --text: #111827;
    --text-muted: #6B7280;
    --border-soft: #EEF0F4;
    --card-radius: 1rem;
    --card-shadow: 0 1px 3px rgba(16, 24, 40, 0.04), 0 1px 2px rgba(16, 24, 40, 0.03);
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --nav-height: 4.5rem;
    --nav-height-labeled: 4.75rem;
    --wallet-hero: #0B1F4D;
    --page-bg-home: #F5F7FA;
}

.pt-safe { padding-top: max(0.75rem, var(--safe-top)); }
.pb-safe { padding-bottom: max(0.25rem, var(--safe-bottom)); }
.pb-nav { padding-bottom: calc(var(--nav-height) + var(--safe-bottom) + 0.5rem); }

.app-shell {
    min-height: 100dvh;
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
    background: var(--page-bg);
    position: relative;
}

body.auth-page .app-shell { max-width: none; }
body.auth-page #splash { display: none; }

.text-ink-muted { color: #6B7280; }

/* ─── Dashboard Header ─── */
.dashboard-header {
    background: var(--header-gradient, linear-gradient(180deg, var(--brand-darker) 0%, var(--brand) 55%, var(--brand-dark) 100%));
    position: relative;
    padding-bottom: 3.25rem;
    flex-shrink: 0;
}

.logo-badge {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    background: rgba(255,255,255,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.header-icon-btn {
    color: #fff;
    opacity: 0.95;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.currency-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 9999px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.bank-card-float {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: -2.35rem;
    z-index: 20;
}

.bank-card-float__inner {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.bank-icon-wrap {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: #FFF7ED;
    color: #C2410C;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.copy-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    background: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}

.copy-btn:hover { background: var(--brand-light); }

/* ─── Dashboard Body ─── */
.dashboard-body {
    padding: 3.25rem 1.25rem 0;
    padding-bottom: calc(var(--nav-height) + var(--safe-bottom) + 1rem);
    background: var(--page-bg);
    flex: 1;
}

.section-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.section-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.75rem;
    margin-bottom: 1rem;
}

.section-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand);
}

/* ─── Services Grid (reference style) ─── */
.services-grid--dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem 0.65rem;
}

.service-tile--dashboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.service-tile--dashboard .service-tile__icon {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 2px 14px rgba(0,0,0,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    transition: transform 0.15s, box-shadow 0.15s;
}

.service-tile--dashboard:active .service-tile__icon {
    transform: scale(0.95);
}

.service-tile--dashboard .service-tile__icon svg,
.service-tile--dashboard .service-tile__icon i {
    width: 1.35rem;
    height: 1.35rem;
}

.service-tile--dashboard .service-tile__label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #374151;
    text-align: center;
    line-height: 1.2;
}

/* Full services page grid */
.services-grid--full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

.service-tile:not(.service-tile--dashboard):not(.service-tile--home) .service-tile__icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    background: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.4rem;
}

/* ─── Transaction Cards ─── */
.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tx-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.tx-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tx-card__icon--debit {
    background: var(--brand-soft);
    color: var(--brand);
}

.tx-card__icon--credit {
    background: var(--accent-light);
    color: var(--accent);
}

.tx-card__icon--muted {
    background: #F3F4F6;
    color: #9CA3AF;
    border-radius: 0.85rem;
}

.tx-card__body {
    flex: 1;
    min-width: 0;
}

.tx-card__title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tx-card__meta {
    font-size: 0.75rem;
    color: #9CA3AF;
    margin-top: 0.15rem;
}

.tx-card__amount {
    text-align: right;
    flex-shrink: 0;
}

.tx-card__value {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
}

.tx-card__status {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand);
    margin-top: 0.1rem;
}

/* ─── Bottom Navigation ─── */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: #fff;
    border-top: 1px solid #E5E7EB;
    padding-bottom: var(--safe-bottom);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
}

.bottom-nav__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    max-width: 32rem;
    margin: 0 auto;
    min-height: var(--nav-height);
    padding: 0.35rem 0.15rem 0.3rem;
}

.bottom-nav__link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.2rem;
    padding: 0.35rem 0.1rem;
    color: #9CA3AF;
    text-decoration: none;
    min-width: 0;
    transition: color 0.15s;
    position: relative;
}

.bottom-nav__link--active {
    color: var(--brand);
}

.bottom-nav__link--active::after {
    display: none;
}

.bottom-nav__icon {
    width: 1.3rem;
    height: 1.3rem;
    flex-shrink: 0;
}

.bottom-nav__link--active .bottom-nav__icon {
    stroke-width: 2.25;
}

.bottom-nav__label {
    font-size: 0.6rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.bottom-nav__link--active .bottom-nav__label {
    font-weight: 700;
}

/* Elevated center Dashboard button */
.bottom-nav__link--center {
    flex: none;
    width: 4rem;
    padding-bottom: 0.25rem;
}

.bottom-nav__center-circle {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -1.6rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border: 3px solid #fff;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.bottom-nav__center-circle .bottom-nav__icon {
    width: 1.5rem;
    height: 1.5rem;
}

.bottom-nav__center-circle--active {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.35);
}

.bottom-nav__link--center .bottom-nav__label {
    margin-top: 0.15rem;
}

body.home-page .app-shell {
    background: var(--page-bg-home);
}

/* ─── Home Dashboard (JamraPAY) ─── */
.home-top {
    background: var(--page-bg-home);
    padding: 0 1.25rem 1rem;
}

.home-top__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0 1rem;
}

.home-top__profile {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: inherit;
}

.home-top__avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-top__level {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
}

.home-top__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.home-top__action {
    color: var(--brand);
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
}

.home-top__badge {
    position: absolute;
    top: 0.15rem;
    right: 0.1rem;
    width: 0.45rem;
    height: 0.45rem;
    background: #EF4444;
    border-radius: 50%;
    border: 1.5px solid var(--page-bg-home);
}

.wallet-hero {
    background: var(--wallet-hero);
    border-radius: 1.15rem;
    padding: 1.15rem 1.25rem 1.25rem;
    color: #fff;
    box-shadow: 0 8px 28px rgba(15, 45, 74, 0.35);
}

.wallet-hero__account {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.85rem;
}

.wallet-hero__copy {
    background: none;
    border: none;
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    padding: 0.15rem;
    display: flex;
}

.wallet-hero__balance-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wallet-hero__balance {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.wallet-hero__eye {
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
}

.wallet-hero__updated {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.55);
    margin-top: 0.35rem;
}

.wallet-hero__actions {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.15rem;
}

.wallet-hero__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s;
}

.wallet-hero__btn--primary {
    background: rgba(0,0,0,0.35);
    color: #fff;
}

.wallet-hero__btn--ghost {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
}

.wallet-hero__btn:active { opacity: 0.85; }

.home-body {
    padding: 0.25rem 1.25rem 1rem;
    padding-bottom: calc(var(--nav-height) + var(--safe-bottom) + 1rem);
    background: var(--page-bg-home);
    flex: 1;
}

.services-grid--home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem 0.5rem;
}

.service-tile--home {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    color: inherit;
}

.service-tile--home .service-tile__icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
}

.service-tile--home .service-tile__icon svg,
.service-tile--home .service-tile__icon i {
    width: 1.35rem;
    height: 1.35rem;
}

.service-tile--home .service-tile__label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #111;
    text-align: center;
    line-height: 1.2;
}

.rewards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.reward-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.reward-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reward-card__icon--gold {
    background: #FEF3C7;
    color: #D97706;
}

.reward-card__icon--red {
    background: #FEE2E2;
    color: #DC2626;
}

.reward-card__label {
    font-size: 0.75rem;
    color: #6B7280;
    font-weight: 500;
}

.reward-card__value {
    font-size: 1rem;
    font-weight: 800;
    color: #111;
    margin-top: 0.1rem;
}

.home-tx-list {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.home-tx-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border-bottom: 1px solid #F3F4F6;
}

.home-tx-item:last-child { border-bottom: none; }

.home-tx-item__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-tx-item__icon--debit {
    background: var(--brand-light);
    color: var(--brand-dark);
}

.home-tx-item__icon--credit {
    background: var(--brand-light);
    color: var(--brand-dark);
}

.home-tx-item__body {
    flex: 1;
    min-width: 0;
}

.home-tx-item__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-tx-item__meta {
    font-size: 0.75rem;
    color: #9CA3AF;
    margin-top: 0.1rem;
}

.home-tx-item__amount {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111;
    flex-shrink: 0;
}

.home-tx-item__amount--credit {
    color: var(--accent);
}

.home-body .section-heading {
    font-size: 0.95rem;
}

.home-body .section-link {
    font-size: 0.8rem;
}


/* ─── Inner pages ─── */
.page-inner {
    padding: 1rem 1.25rem;
    padding-bottom: calc(var(--nav-height) + var(--safe-bottom) + 1rem);
    background: #F9FAFB;
    flex: 1;
    min-height: calc(100dvh - var(--nav-height));
}

.page-inner__header {
    padding: max(0.75rem, var(--safe-top)) 1.25rem 1rem;
    background: #fff;
    border-bottom: 1px solid #F3F4F6;
    position: sticky;
    top: 0;
    z-index: 30;
}

.page-inner__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.inner-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 2px 14px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
}

/* ─── Auth ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.95rem 1.25rem;
    border-radius: 0.85rem;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.22);
    transition: background 0.15s, opacity 0.15s, transform 0.12s;
}

.btn-primary:hover { background: var(--brand-dark); }
.btn-primary:active { transform: scale(0.985); }
.btn-primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.auth-gradient {
    background: var(--auth-gradient, linear-gradient(165deg, #002B6B 0%, #003D99 40%, #0066FF 75%, #3B82F6 100%));
    min-height: 100dvh;
    width: 100%;
}

.btn-fingerprint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem;
    border-radius: 1rem;
    border: 2px solid #E5E7EB;
    background: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
}

/* ─── Skeleton ─── */
.skeleton {
    background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 12px;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

.page-enter { animation: slideUp 0.35s ease-out; }

/* ─── Splash / PWA / Offline ─── */
.offline-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9995;
    background: #F59E0B;
    color: #111;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    transform: translateY(-100%);
    transition: transform 0.3s;
}

.offline-banner.show { transform: translateY(0); }

.pwa-update {
    position: fixed;
    bottom: calc(var(--nav-height) + var(--safe-bottom) + 0.5rem);
    left: 1rem;
    right: 1rem;
    max-width: 28rem;
    margin: 0 auto;
    z-index: 45;
    background: #111827;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
}

@media (min-width: 512px) {
    .app-shell { box-shadow: 0 0 50px rgba(0,0,0,0.07); }
    .bottom-nav { left: 50%; transform: translateX(-50%); max-width: 32rem; }
}

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* ─── Flow Pages (transfer, data, education, statements) ─── */
.flow-page {
    background: var(--page-bg);
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding-bottom: calc(var(--nav-height) + var(--safe-bottom));
}

.flow-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid var(--border-soft);
}

.flow-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: max(0.7rem, var(--safe-top)) 1rem 0.8rem;
    gap: 0.5rem;
}

.flow-header__back,
.flow-header__action {
    width: 2.35rem;
    height: 2.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 0.65rem;
}

.flow-header__title {
    flex: 1;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.flow-header__actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    min-width: 2.35rem;
    justify-content: flex-end;
}

.flow-banner {
    background: var(--brand-light);
    color: var(--brand-dark);
    padding: 0.7rem 1.15rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.flow-banner i { flex-shrink: 0; color: var(--brand); }

.flow-body {
    flex: 1;
    padding: 1.1rem 1.15rem 1.5rem;
}

.flow-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.55rem;
    font-weight: 500;
}

.flow-card {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 1rem 1.05rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(16, 24, 40, 0.03);
    margin-bottom: 1.15rem;
}

.flow-account {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.flow-account__avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: var(--brand-light);
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flow-account__name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
}

.flow-account__meta {
    font-size: 0.8rem;
    color: #757575;
    margin-top: 0.1rem;
}

.flow-account__balance {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text);
    margin-top: 0.35rem;
    letter-spacing: -0.02em;
}

.flow-input-wrap {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 0.55rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(16, 24, 40, 0.03);
}

.flow-input {
    width: 100%;
    border: none;
    border-radius: 0.75rem;
    padding: 1rem 1.1rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text);
    background: #F5F7FA;
    outline: none;
}

.flow-input:focus {
    box-shadow: inset 0 0 0 2px var(--brand);
    background: #fff;
}

.flow-input::placeholder {
    color: #C4C9D4;
    font-weight: 500;
}

.flow-panel {
    background: #fff;
    border-radius: 1.15rem;
    padding: 1.15rem;
    margin-top: 0.25rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(16, 24, 40, 0.03);
}

.flow-search {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #F5F7FA;
    border-radius: 9999px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.flow-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.875rem;
    outline: none;
    color: #111;
}

.flow-chips {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.flow-chip {
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    background: var(--brand-soft);
    color: var(--brand-dark);
    transition: background 0.15s, color 0.15s;
}

.flow-chip--active {
    background: var(--brand);
    color: #fff;
}

.flow-chip-link {
    margin-left: auto;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.45rem 0;
}

.flow-recipient {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #F3F4F6;
    cursor: pointer;
    width: 100%;
    text-align: left;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
}

.flow-recipient:last-child { border-bottom: none; }

.flow-recipient__avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: #fff;
    flex-shrink: 0;
}

.flow-recipient__avatar--purple { background: #7C3AED; }
.flow-recipient__avatar--blue { background: #2563EB; }
.flow-recipient__avatar--green { background: var(--brand); }

.flow-recipient__name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flow-recipient__bank {
    font-size: 0.75rem;
    color: #757575;
    margin-top: 0.1rem;
}

/* Education biller list */
.biller-list {
    background: #fff;
    border-radius: 1rem 1rem 0 0;
    overflow: hidden;
    margin: 0 -1.25rem;
    padding: 0 1.25rem;
}

.biller-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 0;
    border-bottom: 1px solid #F3F4F6;
    text-decoration: none;
    color: inherit;
}

.biller-item--disabled {
    opacity: 0.85;
    pointer-events: none;
}

.biller-item__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    background: var(--brand-light);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.biller-item__icon--logo {
    background: #ECFDF5;
    color: var(--brand);
    border-radius: 50%;
}

.biller-item__badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 1rem;
    height: 1rem;
    background: #EF4444;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    color: #fff;
}

.biller-item__body { flex: 1; min-width: 0; }

.biller-item__title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}

.biller-item__status {
    font-size: 0.75rem;
    color: #EF4444;
    margin-top: 0.15rem;
}

.biller-item__chevron {
    color: var(--brand);
    flex-shrink: 0;
}

/* Statement cards */
.statement-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 0.85rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s;
}

.statement-card:active { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

.statement-card__body { flex: 1; }

.statement-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.35rem;
}

.statement-card__desc {
    font-size: 0.8rem;
    color: #757575;
    line-height: 1.45;
}

.statement-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    background: var(--brand-light);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stmt-period-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.stmt-period-btn {
    padding: 0.65rem 0.35rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    color: #374151;
}

.stmt-period-btn--active {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand-dark);
    cursor: pointer;
}

.stmt-period-btn:active { background: var(--brand-soft); color: var(--brand); }

.statement-view-body { padding-bottom: 2rem; }

.stmt-document {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.stmt-document__head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.stmt-brand { font-size: 0.7rem; font-weight: 800; color: var(--brand); letter-spacing: 0.08em; text-transform: uppercase; }
.stmt-title { font-size: 1.15rem; font-weight: 800; color: #111; margin: 0.2rem 0; }
.stmt-sub { font-size: 0.75rem; color: #6b7280; }
.stmt-generated { text-align: right; font-size: 0.7rem; color: #6b7280; }
.stmt-generated strong { display: block; color: #111; font-size: 0.75rem; margin-top: 0.15rem; }

.stmt-account-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    background: #f9fafb;
    border-radius: 0.85rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.stmt-label { font-size: 0.65rem; font-weight: 600; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.04em; }
.stmt-value { font-size: 0.82rem; font-weight: 700; color: #111; margin-top: 0.15rem; line-height: 1.35; }

.stmt-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.stmt-summary-item {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 0.75rem;
    padding: 0.75rem;
    font-size: 0.68rem;
    color: #6b7280;
}

.stmt-summary-item strong { display: block; font-size: 0.9rem; color: #111; margin-top: 0.2rem; }
.stmt-credit { color: #059669 !important; }
.stmt-debit { color: #dc2626 !important; }

.stmt-table-wrap { overflow-x: auto; margin-bottom: 1rem; }

.stmt-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.72rem;
}

.stmt-table th {
    text-align: left;
    padding: 0.55rem 0.35rem;
    border-bottom: 2px solid #e5e7eb;
    color: #6b7280;
    font-weight: 700;
    white-space: nowrap;
}

.stmt-table td {
    padding: 0.6rem 0.35rem;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: top;
}

.stmt-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stmt-tx-desc { font-weight: 600; color: #111; line-height: 1.3; }
.stmt-tx-ref { font-size: 0.65rem; color: #9ca3af; margin-top: 0.15rem; word-break: break-all; }
.stmt-opening-row td { background: #fafafa; }
.stmt-empty { text-align: center; color: #9ca3af; padding: 1.5rem !important; }
.stmt-footer { font-size: 0.68rem; color: #9ca3af; line-height: 1.5; border-top: 1px solid #f0f0f0; padding-top: 0.85rem; }

/* Legal pages */
.legal-page { padding-bottom: 2rem; }
.legal-card { padding: 1.25rem; }
.legal-content {
    font-size: 0.85rem;
    line-height: 1.65;
    color: #374151;
}
.legal-content p { margin-bottom: 0.75rem; }

@media print {
    body * { visibility: hidden; }
    .stmt-document, .stmt-document * { visibility: visible; }
    .stmt-document { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; border-radius: 0; }
    .flow-header, .bottom-nav, .statement-view-page .flow-header { display: none !important; }
}

.data-promo {
    background: #F3E8FF;
    color: #6B21A8;
    padding: 0.65rem 1.15rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-align: center;
}

.phone-card {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 0.85rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(16, 24, 40, 0.03);
    margin-bottom: 1.15rem;
}

.phone-input-row {
    display: flex;
    gap: 0.55rem;
    align-items: stretch;
}

.phone-input-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border: none;
    border-radius: 0.75rem;
    padding: 0.55rem 0.75rem;
    background: #F5F7FA;
    min-height: 3.25rem;
}

.network-select {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding-right: 0.55rem;
    border-right: 1px solid #E5E7EB;
    cursor: pointer;
    background: none;
    border-top: none;
    border-bottom: none;
    border-left: none;
    flex-shrink: 0;
    position: relative;
}

.network-select select {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.network-dot {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 800;
    color: #fff;
}

.network-dot--mtn { background: #FFCC00; color: #111; }
.network-dot--glo { background: #00A651; }
.network-dot--airtel { background: #ED1C24; }
.network-dot--9mobile { background: #006848; }

.phone-input-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    font-weight: 600;
    background: transparent;
    min-width: 0;
    color: var(--text);
}

.phone-input-box input::placeholder {
    color: #B0B7C3;
    font-weight: 500;
}

.phone-contact-btn {
    width: 3.15rem;
    border-radius: 0.75rem;
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.phone-paste-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.65rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.65rem;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 600;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.phone-paste-bar[hidden] { display: none !important; }

.beneficiary-bar {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.85rem 0.15rem 0.15rem;
    background: transparent;
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--border-soft);
    margin-top: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    box-shadow: none;
}

.beneficiary-bar .chevron { margin-left: auto; color: #9CA3AF; }

.plan-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    margin-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.plan-tabs::-webkit-scrollbar { display: none; }

.plan-tab {
    padding: 0.55rem 1.05rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    background: #EEF2F7;
    color: #6B7280;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.plan-tab--active {
    background: var(--brand);
    color: #fff;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.plan-card {
    position: relative;
    background: #fff;
    border-radius: 0.95rem;
    padding: 1rem 0.9rem 0.9rem;
    text-align: left;
    border: 1.5px solid transparent;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}

.plan-card:hover,
.plan-card--selected {
    border-color: var(--brand);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.12);
}

.plan-card--selected {
    background: var(--brand-soft);
}

.plan-card__cashback {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    background: #F3E8FF;
    color: #7C3AED;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 9999px;
}

.plan-card__size {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 0.2rem;
    letter-spacing: -0.02em;
}

.plan-card__price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.35rem;
}

.plan-card__validity {
    font-size: 0.78rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 0.35rem;
}

.plan-card__desc {
    font-size: 0.68rem;
    color: #9CA3AF;
    margin: 0;
    line-height: 1.35;
}

.bene-avatar {
    position: relative;
    width: 2.6rem;
    height: 2.6rem;
    flex-shrink: 0;
}

.bene-avatar__main {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: #E8ECF2;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bene-avatar__net {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    border: 2px solid #fff;
    font-size: 0.45rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.amount-chip {
    padding: 0.55rem 0.95rem;
    border-radius: 0.75rem;
    background: #F3F4F6;
    font-size: 0.85rem;
    font-weight: 700;
    color: #374151;
    border: none;
    cursor: pointer;
}

.amount-chip:hover,
.amount-chip--active {
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.wallet-balance-card {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-darker) 100%);
    color: #fff;
    border: none !important;
    text-align: center;
    padding: 1.75rem 1.25rem !important;
}

.dashboard-header.profile-shell,
.profile-shell.dashboard-header {
    background: var(--header-gradient, linear-gradient(180deg, var(--brand-darker) 0%, var(--brand) 55%, var(--brand-dark) 100%));
}

.page-inner__header {
    background: #fff;
    padding: max(0.85rem, var(--safe-top)) 1.15rem 1rem;
    border-bottom: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    z-index: 30;
}

.page-inner__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
    text-align: center;
}

.tx-card {
    background: #fff;
    border-radius: 0.95rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(16, 24, 40, 0.03);
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
}

@media (min-width: 768px) {
    .app-shell {
        max-width: 28rem;
        box-shadow: 0 0 0 1px rgba(16,24,40,0.04), 0 24px 64px rgba(16,24,40,0.08);
        min-height: 100dvh;
    }
    body:not(.auth-page) {
        background: #E8ECF2;
    }
}

/* All services grid */
.all-services-page {
    background: #F5F5F5;
    min-height: 100dvh;
    padding-bottom: calc(var(--nav-height) + var(--safe-bottom));
}

.all-services-search {
    padding: 0 1.25rem 1rem;
    background: #fff;
}

.all-services-body {
    padding: 0.5rem 1.25rem 1.5rem;
}

.all-services-section {
    margin-bottom: 1.5rem;
}

.all-services-section__title {
    font-size: 0.8rem;
    color: #757575;
    margin-bottom: 0.85rem;
    font-weight: 500;
}

.all-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem 0.5rem;
}

.all-services-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    color: inherit;
}

.all-services-item__icon {
    width: 3.25rem;
    height: 3.25rem;
    background: #fff;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    color: #111;
}

.all-services-item__icon svg,
.all-services-item__icon i {
    width: 1.35rem;
    height: 1.35rem;
}

.all-services-item__label {
    font-size: 0.68rem;
    font-weight: 700;
    text-align: center;
    color: #111;
    line-height: 1.2;
}

.flow-confirm-bar {
    position: fixed;
    bottom: calc(var(--nav-height) + var(--safe-bottom));
    left: 0;
    right: 0;
    max-width: 32rem;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    background: #fff;
    border-top: 1px solid #F0F0F0;
    z-index: 35;
}

.flow-confirm-bar .btn-primary {
    width: 100%;
    padding: 0.9rem;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    border-radius: 0.85rem;
}

.api-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.api-status__dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.api-status--on {
    background: #DCFCE7;
    color: #15803D;
}

.api-status--on .api-status__dot {
    background: #22C55E;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.api-status--off {
    background: #FEE2E2;
    color: #B91C1C;
}

.api-status--off .api-status__dot {
    background: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.api-status--warn {
    background: #FEF3C7;
    color: #B45309;
}

.api-status--warn .api-status__dot {
    background: #F59E0B;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

.flow-confirm-bar .btn-primary {
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
}

.flow-confirm-bar .btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.transfer-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem 0;
    background: var(--page-bg);
}

.transfer-tab {
    flex: 1;
    padding: 0.65rem;
    border-radius: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    background: #fff;
    color: #6B7280;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.transfer-tab--active {
    background: var(--brand);
    color: #fff;
}

/* Virtual Card */
.vcard-page { background: var(--page-bg); min-height: 100dvh; padding-bottom: calc(var(--nav-height) + var(--safe-bottom)); }
.vcard-tabs { display: flex; gap: 0; margin: 0 1.25rem; background: #EDE9FE; border-radius: 999px; padding: 0.25rem; }
.vcard-tab { flex: 1; border: 0; background: transparent; padding: 0.65rem; font-size: 0.8rem; font-weight: 700; color: #6B7280; border-radius: 999px; cursor: pointer; }
.vcard-tab--active { background: #fff; color: #6C3CF0; box-shadow: 0 2px 8px rgba(108,60,240,0.15); }
.vcard-display {
    margin: 1.25rem;
    background: linear-gradient(145deg, #4C1D95 0%, #6C3CF0 42%, #2E1065 100%);
    border-radius: 1.35rem;
    padding: 1.4rem 1.5rem 1.25rem;
    color: #fff;
    min-height: 12.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(76, 29, 149, 0.45);
}
.vcard-display::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(255,255,255,0.18), transparent 35%),
        radial-gradient(circle at 10% 90%, rgba(167,139,250,0.35), transparent 40%),
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M0 40c20-20 40-20 60 0s40 20 60 0v40H0z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.vcard-display__brand {
    position: relative; z-index: 2;
    display: flex; justify-content: space-between; align-items: flex-start;
}
.vcard-display__logo {
    font-weight: 900; letter-spacing: 0.04em; font-size: 1.05rem;
}
.vcard-display__logo span { opacity: 0.85; font-weight: 700; }
.vcard-badge {
    display: inline-block; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.06em;
    background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.25);
    padding: 0.3rem 0.55rem; border-radius: 999px; backdrop-filter: blur(6px);
}
.vcard-chip {
    width: 2.4rem; height: 1.8rem; border-radius: 0.35rem; margin: 1.1rem 0 0.85rem;
    background: linear-gradient(135deg, #FDE68A, #F59E0B 40%, #D97706);
    position: relative; z-index: 2;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
}
.vcard-number {
    position: relative; z-index: 2;
    font-size: 1.35rem; font-weight: 700; letter-spacing: 0.18em;
    font-variant-numeric: tabular-nums; margin: 0.35rem 0 1rem;
}
.vcard-footer {
    position: relative; z-index: 2;
    display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
}
.vcard-name { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.vcard-network { font-size: 0.75rem; font-weight: 900; letter-spacing: 0.08em; opacity: 0.95; }
.vcard-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; padding: 0 1.25rem 0.5rem; }
.vcard-action {
    display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
    background: transparent; border: 0; cursor: pointer; font-size: 0.68rem; font-weight: 700; color: #374151;
}
.vcard-action__icon {
    width: 2.75rem; height: 2.75rem; border-radius: 999px;
    background: #F3F0FF; color: #6C3CF0;
    display: flex; align-items: center; justify-content: center;
}
.vcard-tx-item {
    display: flex; justify-content: space-between; gap: 0.75rem;
    padding: 0.85rem 0; border-bottom: 1px solid #F3F4F6;
}
.vcard-tx-item:last-child { border-bottom: 0; }
.vcard-status {
    display: inline-block; font-size: 0.65rem; font-weight: 800; padding: 0.15rem 0.45rem; border-radius: 999px;
}
.vcard-status--success { background: #DCFCE7; color: #166534; }
.vcard-status--pending { background: #FEF3C7; color: #92400E; }
.vcard-status--failed { background: #FEE2E2; color: #991B1B; }

/* Settings */
.settings-group { background: #fff; border-radius: 1.25rem; overflow: hidden; margin-bottom: 1rem; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.settings-item { display: flex; align-items: center; gap: 0.85rem; padding: 1rem 1.15rem; border-bottom: 1px solid #F3F4F6; text-decoration: none; color: inherit; width: 100%; text-align: left; background: none; border-left: none; border-right: none; border-top: none; cursor: pointer; }
.settings-item:last-child { border-bottom: none; }
.settings-item__icon { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.settings-item__title { font-size: 0.875rem; font-weight: 700; color: #1F2937; }
.settings-item__sub { font-size: 0.75rem; color: #6B7280; margin-top: 0.1rem; }

/* Biller brand colors */
.brand-dstv { background: #0066CC; color: #fff; }
.brand-gotv { background: #00A651; color: #fff; }
.brand-startimes { background: #FF6600; color: #fff; }
.brand-showmax { background: #111; color: #fff; }

/* NIN Slip */
.nin-slip-toggle {
    display: flex;
    gap: 0.5rem;
    background: #f3f4f6;
    padding: 0.25rem;
    border-radius: 0.85rem;
}
.nin-slip-toggle__btn {
    flex: 1;
    padding: 0.65rem;
    border: none;
    border-radius: 0.65rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #6b7280;
    background: transparent;
    cursor: pointer;
}
.nin-slip-toggle__btn--on {
    background: #fff;
    color: var(--brand);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.nin-slip-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.nin-slip-option--selected {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(108, 60, 240, 0.12);
}
.nin-slip-option__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.nin-slip-option__icon svg { width: 1.15rem; height: 1.15rem; }
.nin-slip-option__body { flex: 1; min-width: 0; }
.nin-slip-option__name { font-size: 0.85rem; font-weight: 700; color: #111827; }
.nin-slip-option__desc { font-size: 0.7rem; color: #6b7280; margin-top: 0.15rem; line-height: 1.3; }
.nin-slip-option__price { font-size: 0.85rem; font-weight: 800; color: var(--brand); flex-shrink: 0; }

/* NIN Slip type picker (dropdown + preview cards) */
.slip-picker__dropdown { position: relative; }
.slip-picker__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    border: 1.5px solid #E5E7EB;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    cursor: pointer;
    text-align: left;
}
.slip-picker__trigger:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.slip-picker__trigger-main { display: flex; align-items: center; gap: 0.75rem; flex: 1; min-width: 0; }
.slip-picker__trigger-thumb {
    width: 2.75rem; height: 3.5rem; object-fit: cover; border-radius: 0.4rem;
    border: 1px solid #E5E7EB; background: #F8FAFC; flex-shrink: 0;
}
.slip-picker__panel {
    position: absolute; left: 0; right: 0; top: calc(100% + 0.45rem);
    z-index: 40; background: #fff; border: 1px solid #E5E7EB; border-radius: 1.1rem;
    box-shadow: 0 16px 40px rgba(15,23,42,0.12); padding: 0.55rem; max-height: min(70vh, 28rem);
    overflow-y: auto;
}
.slip-picker__option {
    width: 100%; display: grid; grid-template-columns: 72px 1fr auto; gap: 0.75rem;
    align-items: center; padding: 0.65rem; border-radius: 0.85rem; border: 1.5px solid transparent;
    background: transparent; cursor: pointer; text-align: left; margin-bottom: 0.35rem;
}
.slip-picker__option:last-child { margin-bottom: 0; }
.slip-picker__option:hover { background: #F8FAFC; }
.slip-picker__option.is-selected { border-color: var(--brand); background: var(--brand-soft); }
.slip-picker__preview {
    position: relative; width: 72px; height: 92px; border-radius: 0.5rem; overflow: hidden;
    border: 1px solid #E5E7EB; background: #F1F5F9;
}
.slip-picker__preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slip-picker__sample-tag {
    position: absolute; left: 0.25rem; bottom: 0.25rem; font-size: 0.55rem; font-weight: 800;
    letter-spacing: 0.04em; text-transform: uppercase; background: rgba(15,23,42,0.75); color: #fff;
    padding: 0.1rem 0.3rem; border-radius: 0.25rem;
}
.slip-picker__meta { min-width: 0; }
.slip-picker__name { font-size: 0.9rem; font-weight: 800; color: #111827; margin: 0; }
.slip-picker__desc { font-size: 0.72rem; color: #6B7280; margin: 0.2rem 0 0; line-height: 1.35; }
.slip-picker__price { font-size: 0.95rem; font-weight: 800; color: var(--brand); margin: 0.35rem 0 0; }
.slip-picker__check {
    width: 1.75rem; height: 1.75rem; border-radius: 999px; background: var(--brand); color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.slip-picker__selected-board { margin-top: 0.85rem; }
.slip-picker__board-frame {
    border-radius: 1rem; overflow: hidden; border: 1px solid #E5E7EB; background: #F8FAFC;
    max-height: 280px; display: flex; align-items: center; justify-content: center;
}
.slip-picker__board-img { width: 100%; max-height: 280px; object-fit: contain; display: block; }

@media (min-width: 640px) {
    .slip-picker__option { grid-template-columns: 96px 1fr auto; }
    .slip-picker__preview { width: 96px; height: 120px; }
    .slip-picker__board-frame { max-height: 360px; }
    .slip-picker__board-img { max-height: 360px; }
}

/* NIN Verification (VVN-style flow) */
[x-cloak] { display: none !important; }
.nv-page { min-height: 100%; background: #F5F7FB; }
.nv-body { padding: 1rem 1rem 6.5rem; max-width: 32rem; margin: 0 auto; }
.nv-hero {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem;
    background: #fff; border: 1px solid #E5E7EB; border-radius: 1.15rem;
    box-shadow: 0 4px 18px rgba(15,23,42,0.05); padding: 1.1rem 1.15rem; margin-bottom: 1rem;
}
.nv-hero__icon {
    width: 3.25rem; height: 3.25rem; border-radius: 1rem; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, #ECFDF5, #D1FAE5); color: #059669;
}
.nv-hero__icon svg { width: 1.55rem; height: 1.55rem; }
.nv-hero__text { flex: 1; min-width: 0; }
.nv-hero__title { margin: 0; font-size: 1.05rem; font-weight: 800; color: #111827; }
.nv-hero__sub { margin: 0.2rem 0 0; font-size: 0.75rem; color: #6B7280; line-height: 1.4; }
.nv-hero__status { width: 100%; }
.nv-card {
    background: #fff; border: 1px solid #E5E7EB; border-radius: 1.15rem;
    box-shadow: 0 4px 18px rgba(15,23,42,0.05); padding: 1.15rem;
}
.nv-form { display: flex; flex-direction: column; gap: 0.95rem; }
.nv-field { display: flex; flex-direction: column; gap: 0.4rem; }
.nv-label { font-size: 0.78rem; font-weight: 700; color: #374151; }
.nv-optional { font-weight: 500; color: #9CA3AF; }
.nv-input {
    width: 100%; border: 1.5px solid #E5E7EB; border-radius: 0.9rem;
    background: #F9FAFB; padding: 0.85rem 1rem; font-size: 0.95rem; font-weight: 600;
    color: #111827; outline: none;
}
.nv-input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px var(--brand-soft); }
.nv-input--pin { letter-spacing: 0.35em; text-align: center; font-size: 1.2rem; }
.nv-preview {
    border: 1px solid #E5E7EB; border-radius: 1rem; background: #F8FAFC; padding: 0.75rem;
}
.nv-preview__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.55rem; }
.nv-preview__name { margin: 0; font-size: 0.88rem; font-weight: 800; color: #111827; }
.nv-preview__price { margin: 0; font-size: 0.9rem; font-weight: 800; color: var(--brand); }
.nv-preview__frame {
    border-radius: 0.75rem; overflow: hidden; border: 1px solid #E5E7EB; background: #fff;
    max-height: 240px; display: flex; align-items: center; justify-content: center;
}
.nv-preview__img { width: 100%; max-height: 240px; object-fit: contain; display: block; }
.nv-preview__note { margin: 0.5rem 0 0; text-align: center; font-size: 0.68rem; color: #9CA3AF; }
.nv-consent {
    display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.72rem; color: #6B7280; line-height: 1.4;
}
.nv-consent input { margin-top: 0.15rem; }
.nv-charge {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.75rem 0.9rem; border-radius: 0.85rem; background: #ECFDF5; color: #065F46;
    font-size: 0.85rem; font-weight: 700;
}
.nv-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    min-height: 3rem; padding: 0.75rem 1rem; border-radius: 0.9rem; font-size: 0.92rem;
    font-weight: 800; border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
    text-align: center; width: 100%;
}
.nv-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.nv-btn--primary { background: var(--brand); color: #fff; }
.nv-btn--primary:hover { background: var(--brand-dark); }
.nv-btn--ghost { background: #F3F4F6; color: #111827; }
.nv-btn--outline { background: #fff; border-color: #D1D5DB; color: #111827; }
.nv-actions { display: grid; gap: 0.55rem; margin-top: 1rem; }
.nv-actions--modal { margin-top: 1.1rem; }
.nv-result { text-align: center; }
.nv-result__badge {
    display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.75rem;
    border-radius: 999px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em;
}
.nv-result__badge--ok { background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }
.nv-result__badge svg { width: 0.95rem; height: 0.95rem; }
.nv-result__title { margin: 0.75rem 0 0.25rem; font-size: 1.15rem; font-weight: 800; color: #111827; }
.nv-result__sub { margin: 0 0 1rem; font-size: 0.8rem; color: #6B7280; }
.nv-result__doc {
    text-align: left; border: 1px solid #E5E7EB; border-radius: 1rem; overflow: hidden; background: #fff;
}
.nv-doc__brand {
    display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1rem;
    background: linear-gradient(135deg, #0F766E 0%, #059669 50%, #22C55E 100%); color: #fff;
}
.nv-doc__logo { width: 2.4rem; height: 2.4rem; border-radius: 0.65rem; object-fit: cover; background: rgba(255,255,255,0.2); }
.nv-doc__brand-name { margin: 0; font-size: 0.95rem; font-weight: 800; }
.nv-doc__brand-sub { margin: 0; font-size: 0.7rem; opacity: 0.9; }
.nv-doc__status {
    margin-left: auto; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.08em;
    padding: 0.3rem 0.55rem; border-radius: 999px; background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.3);
}
.nv-doc__rows { margin: 0; padding: 0.35rem 1rem 0.85rem; }
.nv-doc__rows > div {
    display: flex; justify-content: space-between; gap: 0.75rem;
    padding: 0.65rem 0; border-bottom: 1px solid #F1F5F9; font-size: 0.82rem;
}
.nv-doc__rows > div:last-child { border-bottom: 0; }
.nv-doc__rows dt { margin: 0; color: #6B7280; font-weight: 600; }
.nv-doc__rows dd { margin: 0; color: #111827; font-weight: 700; text-align: right; }
.nv-modal {
    position: fixed; inset: 0; z-index: 10040; background: rgba(15,23,42,0.45);
    display: flex; align-items: center; justify-content: center; padding: 1.25rem;
}
.nv-modal__card {
    width: 100%; max-width: 22rem; background: #fff; border-radius: 1.25rem;
    padding: 1.4rem 1.2rem; text-align: center; box-shadow: 0 20px 50px rgba(15,23,42,0.2);
}
.nv-modal__card--loading { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.nv-modal__icon {
    width: 3rem; height: 3rem; border-radius: 999px; margin: 0 auto 0.75rem;
    display: flex; align-items: center; justify-content: center;
}
.nv-modal__icon--err { background: #FEF2F2; color: #DC2626; }
.nv-modal__icon svg { width: 1.4rem; height: 1.4rem; }
.nv-modal__title { margin: 0; font-size: 1.05rem; font-weight: 800; color: #111827; }
.nv-modal__text { margin: 0.45rem 0 0; font-size: 0.82rem; color: #6B7280; line-height: 1.45; }
.nv-spinner {
    width: 2.75rem; height: 2.75rem; margin: 0 auto 0.9rem; border-radius: 999px;
    border: 3px solid #D1FAE5; border-top-color: #059669; animation: nv-spin 0.8s linear infinite;
}
@keyframes nv-spin { to { transform: rotate(360deg); } }

@media (min-width: 640px) {
    .nv-preview__frame { max-height: 320px; }
    .nv-preview__img { max-height: 320px; }
    .nv-actions { grid-template-columns: 1fr 1fr; }
    .nv-actions .nv-btn--outline { grid-column: 1 / -1; }
}

/* Dynamic site branding */
.site-brand-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: inherit;
}

.site-logo {
    object-fit: contain;
    display: block;
}

.site-logo--main,
.header-logo-img.site-logo--main {
    height: 2.25rem;
    max-width: 9rem;
    width: auto;
}

.site-logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.site-logo-fallback--main,
.header-logo-img.site-logo-fallback--main {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.site-logo-fallback__svg {
    width: 1.25rem;
    height: 1.25rem;
}

.auth-brand-mark {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 12px 40px -8px rgba(22, 163, 74, 0.35);
    overflow: hidden;
}

.auth-brand-mark__img.site-logo--icon {
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.auth-brand-mark .site-logo-fallback--icon {
    width: 100%;
    height: 100%;
    color: #fff;
    background: transparent;
}

.auth-brand-mark .site-logo-fallback__svg {
    width: 2rem;
    height: 2rem;
}

.splash-brand-mark {
    width: 5rem;
    height: 5rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.splash-brand-mark__img.site-logo--icon {
    width: 100%;
    height: 100%;
}

.splash-brand-mark .site-logo-fallback--icon {
    width: 100%;
    height: 100%;
    color: #fff;
    background: transparent;
}

.splash-brand-mark .site-logo-fallback__svg {
    width: 2.5rem;
    height: 2.5rem;
}

.auth-logo__img.site-logo--icon {
    width: 100%;
    height: 100%;
}

.auth-logo .site-logo-fallback--icon {
    width: 100%;
    height: 100%;
    color: var(--brand, #6C3CF0);
}

/* AI Trading Robot */
.trading-robot-card {
    display: block;
}

.trading-robot-card__inner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #312e81 0%, #4c1d95 50%, #6d28d9 100%);
    box-shadow: 0 12px 40px -8px rgba(76, 29, 149, 0.45);
    color: #fff;
}

.trading-robot-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.trading-robot-card__title {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}

.trading-robot-card__sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.15rem;
}

.trading-tabs {
    scrollbar-width: none;
}

.trading-tab,
.trading-filter {
    flex-shrink: 0;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
}

.trading-tab.active,
.trading-filter.active {
    background: var(--brand, #6C3CF0);
    border-color: var(--brand, #6C3CF0);
    color: #fff;
}

.dashboard-header--compact {
    padding-bottom: 0;
}

.dashboard-header--compact .dashboard-header__inner {
    padding-bottom: 0.5rem;
}

/* ── Slip selector (NIN Phone / Demography / BVN) ── */
.slip-page {
    max-width: 42rem;
    margin: 0 auto;
}

.slip-selector {
    margin-bottom: 1.25rem;
}

.slip-selector__card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.25rem 1.15rem 1.35rem;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    border: 1px solid #eef2f7;
}

.slip-selector__heading {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
}

.slip-selector__desc {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 1.1rem;
    line-height: 1.45;
}

.slip-selector__label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.45rem;
}

.slip-selector__select-wrap {
    position: relative;
}

.slip-selector__select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    border: 1.5px solid #dbe3ef;
    background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.9rem center / 1rem no-repeat;
    border-radius: 0.9rem;
    padding: 0.95rem 2.5rem 0.95rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    outline: none;
}

.slip-selector__select:focus {
    border-color: var(--brand, #6C3CF0);
    box-shadow: 0 0 0 3px rgba(108, 60, 240, 0.15);
}

.slip-selector__chosen {
    margin-top: 1rem;
}

.slip-selector__chosen-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #111827;
    margin: 0;
}

.slip-selector__preview {
    margin-top: 1rem;
}

.slip-selector__preview-frame {
    border: 2px dashed #94a3b8;
    border-radius: 1rem;
    background: #f8fafc;
    padding: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 16rem;
}

.slip-selector__preview-img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 28rem;
    object-fit: contain;
    object-position: center;
}

.slip-selector__sample-note {
    margin: 0.55rem 0 0;
    text-align: center;
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 600;
}

.slip-selector__fee {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.slip-selector__fee--brand {
    background: linear-gradient(135deg, var(--brand, #6C3CF0) 0%, var(--brand-dark, #5B32D4) 55%, #16A34A 140%);
}

.slip-selector__fee--green {
    background: linear-gradient(135deg, #15803D 0%, #16A34A 55%, #22C55E 100%);
}

.slip-selector__fee-icon {
    font-size: 1rem;
    line-height: 1;
}

.slip-details-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.2rem 1.15rem 1.35rem;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    border: 1px solid #eef2f7;
    margin-bottom: 1rem;
}

.slip-details-card__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.85rem;
}

.slip-details-card__field {
    margin-bottom: 0.85rem;
}

.slip-details-card__field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.35rem;
}

.slip-details-card__field input,
.slip-details-card__field select {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    outline: none;
}

.slip-details-card__field input:focus,
.slip-details-card__field select:focus {
    border-color: var(--brand, #6C3CF0);
    box-shadow: 0 0 0 3px rgba(108, 60, 240, 0.12);
}

@media (min-width: 768px) {
    .slip-page {
        max-width: 48rem;
        padding-top: 0.5rem;
    }

    .slip-selector__card,
    .slip-details-card {
        padding: 1.5rem 1.6rem 1.7rem;
    }

    .slip-selector__preview-frame {
        min-height: 20rem;
        padding: 1.25rem;
    }
}



/* Virtual account creation modal */
.va-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}
.va-modal--open { display: flex; }
.va-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}
.va-modal__card {
    position: relative;
    width: 100%;
    max-width: 22rem;
    background: #fff;
    border-radius: 1.35rem;
    padding: 1.75rem 1.35rem 1.35rem;
    text-align: center;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}
.va-modal__icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.va-spinner {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 3px solid var(--brand-light);
    border-top-color: var(--brand);
    animation: va-spin 0.8s linear infinite;
}
@keyframes va-spin { to { transform: rotate(360deg); } }
.va-success-check {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}
.va-error-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #FEE2E2;
    color: #DC2626;
    display: flex;
    align-items: center;
    justify-content: center;
}
.va-modal__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.5rem;
}
.va-modal__text {
    font-size: 0.88rem;
    color: #6B7280;
    margin: 0 0 1rem;
    line-height: 1.45;
}
.va-modal__details {
    background: #F5F7FA;
    border-radius: 0.95rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    text-align: left;
}
.va-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.8rem;
    padding: 0.35rem 0;
}
.va-detail-row span { color: #6B7280; }
.va-detail-row strong { color: #111827; text-align: right; }
.va-acct { letter-spacing: 0.04em; font-family: ui-monospace, monospace; }
.va-modal__actions { display: flex; flex-direction: column; gap: 0.55rem; }
.va-modal__secondary {
    width: 100%;
    padding: 0.85rem;
    border-radius: 0.85rem;
    border: 1px solid #E5E7EB;
    background: #fff;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
}

/* Jamra popup notifications */
.jamra-notify-container {
    position: fixed;
    top: max(1rem, env(safe-area-inset-top));
    left: 50%;
    transform: translateX(-50%);
    z-index: 10020;
    width: min(92vw, 22rem);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    pointer-events: none;
}
.jamra-notify {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem 0.95rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.jamra-notify--in { opacity: 1; transform: translateY(0); }
.jamra-notify--out { opacity: 0; transform: translateY(-8px); }
.jamra-notify__icon { width: 2rem; height: 2rem; border-radius: 0.65rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.jamra-notify--success .jamra-notify__icon { background: #DCFCE7; color: #16A34A; }
.jamra-notify--error .jamra-notify__icon { background: #FEE2E2; color: #DC2626; }
.jamra-notify--warning .jamra-notify__icon { background: #FEF3C7; color: #D97706; }
.jamra-notify--info .jamra-notify__icon { background: #DBEAFE; color: #2563EB; }
.jamra-notify--reward .jamra-notify__icon { background: #F3E8FF; color: #9333EA; }
.jamra-notify--verification .jamra-notify__icon { background: #E0E7FF; color: #4F46E5; }
.jamra-notify__title { font-size: 0.85rem; font-weight: 800; margin: 0; color: #111827; }
.jamra-notify__msg { font-size: 0.75rem; margin: 0.2rem 0 0; color: #6B7280; line-height: 1.4; }
.jamra-notify__close { background: none; border: 0; font-size: 1.1rem; line-height: 1; color: #9CA3AF; cursor: pointer; padding: 0; margin-left: auto; }
.jamra-notify__progress {
    position: absolute;
    left: 0; bottom: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, var(--brand, #0066ff), var(--brand-dark, #0052cc));
    transform-origin: left;
    animation-name: jamraNotifyProgress;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}
@keyframes jamraNotifyProgress { from { transform: scaleX(1); } to { transform: scaleX(0); } }
