/**
 * GENZLAND PRO EARNER — Premium Mobile Wallet & Passbook Stylesheet
 * Ultra-Clean Fintech Light Design System (320px-480px Mobile-First)
 */

:root {
    --wallet-brand: #FF7900;
    --wallet-brand-hover: #E06900;
    --wallet-brand-light: #FFF7ED;
    --wallet-brand-subtle: rgba(255, 121, 0, 0.08);
    --wallet-brand-border: rgba(255, 121, 0, 0.2);
    --wallet-brand-secondary: #FF9F1C;

    --wallet-bg: #F7F8FC;
    --wallet-card-bg: #FFFFFF;
    --wallet-card-border: #E6EAF0;
    --wallet-divider: #F1F4F9;

    --wallet-text-primary: #172033;
    --wallet-text-secondary: #718096;
    --wallet-text-muted: #A0AEC0;

    --wallet-success: #10B981;
    --wallet-success-bg: rgba(16, 185, 129, 0.09);
    --wallet-success-border: rgba(16, 185, 129, 0.25);

    --wallet-amber: #F59E0B;
    --wallet-amber-bg: rgba(245, 158, 11, 0.1);
    --wallet-amber-border: rgba(245, 158, 11, 0.25);

    --wallet-danger: #EF4444;
    --wallet-danger-bg: rgba(239, 68, 68, 0.09);
    --wallet-danger-border: rgba(239, 68, 68, 0.25);

    --wallet-radius-sm: 10px;
    --wallet-radius-md: 14px;
    --wallet-radius-lg: 20px;
    --wallet-radius-xl: 24px;

    --wallet-shadow-sm: 0 2px 8px rgba(23, 32, 51, 0.04);
    --wallet-shadow-md: 0 8px 24px rgba(23, 32, 51, 0.06), 0 2px 6px rgba(23, 32, 51, 0.02);
    --wallet-shadow-lg: 0 16px 40px rgba(23, 32, 51, 0.09), 0 4px 12px rgba(23, 32, 51, 0.03);
}

/* ==========================================================================
   1. WALLET CONTAINER & MOBILE LAYOUT
   ========================================================================== */
.wallet-pro-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 12px 14px 100px;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--wallet-text-primary);
    background: transparent;
    -webkit-tap-highlight-color: transparent;
}

/* ==========================================================================
   2. REFINED COMPACT HEADER
   ========================================================================== */
.wallet-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--wallet-card-bg);
    border: 1px solid var(--wallet-card-border);
    border-radius: var(--wallet-radius-md);
    padding: 10px 14px;
    margin-bottom: 14px;
    box-shadow: var(--wallet-shadow-sm);
}

.wallet-brand-col {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wallet-brand-emblem {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FF7900 0%, #FF9F1C 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 121, 0, 0.28);
    flex-shrink: 0;
}

.wallet-brand-emblem svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wallet-brand-titles {
    display: flex;
    flex-direction: column;
}

.wallet-brand-wordmark {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--wallet-text-primary);
    line-height: 1.15;
}

.wallet-brand-badge-tag {
    font-size: 9.5px;
    font-weight: 700;
    color: var(--wallet-brand);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1;
    margin-top: 2px;
}

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

.btn-wallet-header-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #F8FAFC;
    border: 1px solid var(--wallet-card-border);
    color: var(--wallet-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-wallet-header-icon:hover {
    color: var(--wallet-brand);
    background: var(--wallet-brand-light);
    border-color: var(--wallet-brand-border);
}

.btn-wallet-header-icon svg {
    width: 16px;
    height: 16px;
}

.wallet-badge-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 7px;
    height: 7px;
    background: var(--wallet-brand);
    border: 1.5px solid #ffffff;
    border-radius: 50%;
}

.wallet-avatar-chip {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #172033, #334155);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1.5px solid var(--wallet-card-border);
    text-decoration: none;
}

.wallet-avatar-chip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   3. WALLET OVERVIEW CARD (MOST IMPORTANT SECTION)
   ========================================================================== */
.wallet-overview-card {
    background: var(--wallet-card-bg);
    border: 1px solid var(--wallet-card-border);
    border-radius: var(--wallet-radius-xl);
    padding: 22px 20px 20px;
    margin-bottom: 16px;
    box-shadow: var(--wallet-shadow-md);
    position: relative;
    overflow: hidden;
}

/* Very subtle top gradient accent line */
.wallet-overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #FF7900 0%, #FF9F1C 50%, #FFB703 100%);
}

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

.wallet-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--wallet-brand-light);
    border: 1px solid var(--wallet-brand-border);
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--wallet-brand);
    letter-spacing: 0.2px;
}

.wallet-card-tag svg {
    width: 13px;
    height: 13px;
}

.wallet-live-sync {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--wallet-success);
    background: var(--wallet-success-bg);
    padding: 3px 8px;
    border-radius: 50px;
    border: 1px solid var(--wallet-success-border);
}

.wallet-live-dot {
    width: 6px;
    height: 6px;
    background: var(--wallet-success);
    border-radius: 50%;
    animation: pulseSync 2s infinite;
}

@keyframes pulseSync {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.wallet-balance-meta {
    margin-bottom: 6px;
}

.wallet-balance-label-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.wallet-balance-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--wallet-text-secondary);
}

.btn-toggle-balance-eye {
    background: none;
    border: none;
    color: var(--wallet-text-secondary);
    padding: 4px 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.btn-toggle-balance-eye:hover {
    color: var(--wallet-brand);
    background: var(--wallet-brand-light);
}

.btn-toggle-balance-eye svg {
    width: 15px;
    height: 15px;
}

.wallet-balance-val-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 16px;
}

.wallet-balance-amount {
    font-family: 'Outfit', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: var(--wallet-text-primary);
    line-height: 1.05;
    letter-spacing: -0.8px;
    transition: filter 0.25s ease;
}

.wallet-balance-amount.blurred {
    filter: blur(8px);
    user-select: none;
}

.wallet-currency-code {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--wallet-text-secondary);
    letter-spacing: 0.5px;
}

/* Secondary Financial Insights Row inside card */
.wallet-card-footer-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--wallet-divider);
}

.wallet-sub-stat-item {
    display: flex;
    flex-direction: column;
    padding: 8px 10px;
    background: #F8FAFC;
    border-radius: var(--wallet-radius-sm);
    border: 1px solid var(--wallet-card-border);
}

.wallet-sub-stat-label {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--wallet-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
}

.wallet-sub-stat-val {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--wallet-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wallet-sub-stat-val.text-amber {
    color: #D97706;
}

.wallet-sub-stat-val.text-emerald {
    color: #059669;
}

/* ==========================================================================
   4. WALLET QUICK ACTIONS (3-COLUMN BALANCED GRID)
   ========================================================================== */
.wallet-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.btn-wallet-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 8px;
    border-radius: var(--wallet-radius-lg);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 78px;
    box-sizing: border-box;
}

/* 1. Add Money (Primary Brand Orange) */
.btn-wallet-action.action-add {
    background: linear-gradient(135deg, #FF7900 0%, #FF9F1C 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(255, 121, 0, 0.28);
}

.btn-wallet-action.action-add:hover {
    background: linear-gradient(135deg, #E06900 0%, #F58B00 100%);
    box-shadow: 0 8px 24px rgba(255, 121, 0, 0.38);
    transform: translateY(-1.5px);
    color: #ffffff;
}

.btn-wallet-action.action-add:active {
    transform: translateY(0);
}

/* 2. Withdraw (White with Orange Border/Text) */
.btn-wallet-action.action-withdraw {
    background: var(--wallet-card-bg);
    color: var(--wallet-brand);
    border: 1.5px solid var(--wallet-brand-border);
    box-shadow: var(--wallet-shadow-sm);
}

.btn-wallet-action.action-withdraw:hover {
    background: var(--wallet-brand-light);
    border-color: var(--wallet-brand);
    box-shadow: var(--wallet-shadow-md);
    transform: translateY(-1.5px);
}

.btn-wallet-action.action-withdraw:active {
    transform: translateY(0);
}

/* 3. History (Neutral White with Subtle Border) */
.btn-wallet-action.action-history {
    background: var(--wallet-card-bg);
    color: var(--wallet-text-primary);
    border: 1px solid var(--wallet-card-border);
    box-shadow: var(--wallet-shadow-sm);
}

.btn-wallet-action.action-history:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
    color: var(--wallet-brand);
    transform: translateY(-1.5px);
}

.btn-wallet-action.action-history:active {
    transform: translateY(0);
}

.action-icon-circle {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.action-icon-circle svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.2;
}

/* ==========================================================================
   5. TRANSACTION HISTORY SECTION
   ========================================================================== */
.wallet-history-section {
    background: var(--wallet-card-bg);
    border: 1px solid var(--wallet-card-border);
    border-radius: var(--wallet-radius-xl);
    padding: 18px 16px 20px;
    box-shadow: var(--wallet-shadow-sm);
}

.wallet-history-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}

.wallet-history-title-wrap h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--wallet-text-primary);
    margin: 0 0 2px;
    line-height: 1.2;
}

.wallet-history-title-wrap p {
    font-size: 12px;
    color: var(--wallet-text-secondary);
    margin: 0;
}

.wallet-tx-count-chip {
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    font-weight: 700;
    color: var(--wallet-text-secondary);
    background: #F1F5F9;
    padding: 4px 9px;
    border-radius: 50px;
    border: 1px solid #E2E8F0;
}

/* Segmented Filter Pills (All | Recharges | Withdrawals) */
.wallet-filter-pills {
    display: flex;
    background: #F1F4F9;
    border-radius: var(--wallet-radius-md);
    padding: 3.5px;
    margin-bottom: 16px;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.wallet-filter-pills::-webkit-scrollbar {
    display: none;
}

.btn-filter-pill {
    flex: 1 0 auto;
    padding: 8px 10px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--wallet-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
    text-decoration: none !important;
}

.btn-filter-pill.active {
    background: #ffffff;
    color: var(--wallet-brand);
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(23, 32, 51, 0.08);
}

.btn-filter-pill:hover:not(.active) {
    color: var(--wallet-text-primary);
}

/* ==========================================================================
   6. TRANSACTION LIST ITEMS
   ========================================================================== */
.wallet-tx-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.wallet-tx-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #FFFFFF;
    border: 1px solid var(--wallet-card-border);
    border-radius: var(--wallet-radius-md);
    transition: all 0.18s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.wallet-tx-row:hover {
    background: #FAFCFE;
    border-color: #CBD5E1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 32, 51, 0.04);
}

.wallet-tx-row:active {
    transform: scale(0.99);
}

/* Left Icon Container */
.wallet-tx-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wallet-tx-icon-box.icon-recharge {
    background: var(--wallet-success-bg);
    color: var(--wallet-success);
    border: 1px solid var(--wallet-success-border);
}

.wallet-tx-icon-box.icon-withdrawal {
    background: var(--wallet-brand-light);
    color: var(--wallet-brand);
    border: 1px solid var(--wallet-brand-border);
}

.wallet-tx-icon-box.icon-order {
    background: rgba(59, 130, 246, 0.09);
    color: #2563EB;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.wallet-tx-icon-box.icon-cashback {
    background: rgba(245, 158, 11, 0.12);
    color: #D97706;
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.wallet-tx-icon-box svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
}

/* Center Details */
.wallet-tx-info {
    flex: 1;
    min-width: 0;
}

.wallet-tx-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--wallet-text-primary);
    line-height: 1.25;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wallet-tx-meta {
    font-size: 11.5px;
    color: var(--wallet-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Right Amount & Status */
.wallet-tx-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    flex-shrink: 0;
}

.wallet-tx-amount {
    font-family: 'Outfit', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.wallet-tx-amount.amount-credit {
    color: #059669;
}

.wallet-tx-amount.amount-debit {
    color: var(--wallet-text-primary);
}

.wallet-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 3.5px;
    padding: 2.5px 7px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.2px;
}

.wallet-status-badge.status-completed,
.wallet-status-badge.status-paid {
    background: var(--wallet-success-bg);
    color: #047857;
    border: 1px solid var(--wallet-success-border);
}

.wallet-status-badge.status-pending,
.wallet-status-badge.status-processing {
    background: var(--wallet-amber-bg);
    color: #B45309;
    border: 1px solid var(--wallet-amber-border);
}

.wallet-status-badge.status-failed,
.wallet-status-badge.status-rejected {
    background: var(--wallet-danger-bg);
    color: #B91C1C;
    border: 1px solid var(--wallet-danger-border);
}

.wallet-status-badge.status-cancelled,
.wallet-status-badge.status-refunded {
    background: #F1F5F9;
    color: #64748B;
    border: 1px solid #CBD5E1;
}

/* ==========================================================================
   7. REFINED EMPTY STATES
   ========================================================================== */
.wallet-empty-box {
    text-align: center;
    padding: 36px 16px 28px;
    background: #FAFBFD;
    border: 1px dashed var(--wallet-card-border);
    border-radius: var(--wallet-radius-lg);
    margin: 8px 0;
}

.wallet-empty-icon-wrap {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--wallet-card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wallet-text-secondary);
    box-shadow: var(--wallet-shadow-sm);
}

.wallet-empty-icon-wrap svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.8;
}

.wallet-empty-title {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--wallet-text-primary);
    margin: 0 0 4px;
}

.wallet-empty-desc {
    font-size: 12.5px;
    color: var(--wallet-text-secondary);
    max-width: 260px;
    margin: 0 auto 14px;
    line-height: 1.45;
}

.btn-empty-add-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #FF7900, #FF9F1C);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 121, 0, 0.22);
    text-decoration: none;
}

.btn-empty-add-action:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

/* ==========================================================================
   8. SKELETON LOADING SATE
   ========================================================================== */
.wallet-skeleton-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid var(--wallet-card-border);
    border-radius: var(--wallet-radius-md);
}

.skeleton-bone {
    background: linear-gradient(90deg, #F1F4F9 25%, #E8EDF5 50%, #F1F4F9 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.4s infinite;
    border-radius: 6px;
}

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

    100% {
        background-position: -200% 0;
    }
}

/* ==========================================================================
   9. MODAL & BOTTOM SHEET DIALOGS (RECHARGE & WITHDRAWAL & DETAILS)
   ========================================================================== */
.wallet-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999 !important;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.wallet-modal-backdrop.show {
    display: flex;
    opacity: 1;
}

.wallet-bottom-sheet {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
    padding: 16px 20px calc(42px + env(safe-area-inset-bottom)) 20px;
    box-shadow: 0 -12px 50px rgba(15, 23, 42, 0.32);
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 88vh;
    overflow-y: auto;
    box-sizing: border-box;
    position: relative;
    z-index: 100000 !important;
}

.wallet-modal-backdrop.show .wallet-bottom-sheet {
    transform: translateY(0);
}

.wallet-sheet-handle {
    width: 36px;
    height: 4px;
    background: #E2E8F0;
    border-radius: 2px;
    margin: 0 auto 14px;
}

.wallet-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--wallet-divider);
}

.wallet-sheet-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--wallet-text-primary);
    margin: 0;
}

.btn-sheet-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #F1F5F9;
    border: none;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.15s;
}

.btn-sheet-close:hover {
    background: #E2E8F0;
    color: #0F172A;
}

/* Quick Amount Selector Chips */
.wallet-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.btn-amount-chip {
    flex: 1 1 calc(33.333% - 8px);
    padding: 9px 8px;
    background: #F8FAFC;
    border: 1.5px solid var(--wallet-card-border);
    border-radius: var(--wallet-radius-sm);
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--wallet-text-primary);
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.btn-amount-chip.active,
.btn-amount-chip:hover {
    background: var(--wallet-brand-light);
    border-color: var(--wallet-brand);
    color: var(--wallet-brand);
}

/* Custom Input Field */
.wallet-form-group {
    margin-bottom: 16px;
}

.wallet-form-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--wallet-text-secondary);
    margin-bottom: 6px;
}

.wallet-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.wallet-input-prefix {
    position: absolute;
    left: 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--wallet-text-secondary);
    pointer-events: none;
}

.wallet-form-input {
    width: 100%;
    padding: 12px 14px 12px 34px;
    background: #F8FAFC;
    border: 1.5px solid var(--wallet-card-border);
    border-radius: var(--wallet-radius-md);
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--wallet-text-primary);
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.wallet-form-input:focus {
    background: #ffffff;
    border-color: var(--wallet-brand);
    box-shadow: 0 0 0 3.5px rgba(255, 121, 0, 0.12);
}

.wallet-sheet-submit-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border: none;
    border-radius: 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.38);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    margin-bottom: 8px;
}

.wallet-sheet-submit-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
    transform: translateY(-1px);
}

.wallet-sheet-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Modal Details List */
.wallet-details-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.wallet-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed var(--wallet-divider);
    font-size: 13px;
}

.wallet-detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--wallet-text-secondary);
}

.detail-value {
    font-weight: 600;
    color: var(--wallet-text-primary);
    text-align: right;
}

/* ==========================================================================
   10. TRANSACTION HISTORY PAGINATION & NEXT PAGE CONTROLS
   ========================================================================== */
.wallet-pagination-wrap {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--wallet-divider, #E2E8F0);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wallet-pagination-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--wallet-text-secondary, #64748B);
    font-weight: 600;
}

.wallet-pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.wallet-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 12px;
    border: 1.5px solid #E2E8F0;
    background: #ffffff;
    color: #1E293B;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.wallet-page-btn:hover:not(.disabled) {
    background: #F8FAFC;
    border-color: #CBD5E1;
    color: #EA580C;
    transform: translateY(-1px);
}

.wallet-page-btn.disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
    background: #F1F5F9;
    color: #94A3B8;
    border-color: #E2E8F0;
}

.wallet-page-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.wallet-page-num {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: #475569;
    border: 1px solid transparent;
    transition: all 0.18s ease;
}

.wallet-page-num:hover:not(.active) {
    background: #F1F5F9;
    color: #0F172A;
}

.wallet-page-num.active {
    background: linear-gradient(135deg, #FF6B35 0%, #EA580C 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3);
}

/* Big Vibrant "Next Page" Call-To-Action */
.btn-wallet-next-page-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border: 1.5px solid #FDBA74;
    color: #C2410C;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.08);
    transition: all 0.22s ease;
}

.btn-wallet-next-page-cta:hover {
    background: linear-gradient(135deg, #FFEDD5 0%, #FED7AA 100%);
    color: #9A3412;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.15);
}

.btn-wallet-next-page-cta .next-page-icon {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.btn-wallet-next-page-cta:hover .next-page-icon {
    transform: translateX(3px);
}

/* ==========================================================================
   11. WALLET FOOTER ACTIONS / FOOTER BUTTONS
   ========================================================================== */
.wallet-footer-card {
    margin-top: 24px;
    margin-bottom: 20px;
    padding: 18px;
    background: #ffffff;
    border: 1.5px solid #E2E8F0;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.wallet-footer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.wallet-footer-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 107, 53, 0.1);
    color: #EA580C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.wallet-footer-title {
    font-size: 13px;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
}

.wallet-footer-subtitle {
    font-size: 11px;
    color: #64748B;
    margin: 0;
}

.wallet-footer-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-wallet-footer-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 700;
    border: none;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-wallet-footer-add {
    background: linear-gradient(135deg, #FF6B35 0%, #EA580C 100%);
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(234, 88, 12, 0.25);
}

.btn-wallet-footer-add:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(234, 88, 12, 0.35);
}

.btn-wallet-footer-withdraw {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(124, 58, 237, 0.25);
}

.btn-wallet-footer-withdraw:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(124, 58, 237, 0.35);
}

.btn-wallet-footer-home {
    grid-column: span 2;
    background: #F8FAFC;
    color: #475569 !important;
    border: 1px solid #E2E8F0;
}

.btn-wallet-footer-home:hover {
    background: #F1F5F9;
    color: #0F172A !important;
    border-color: #CBD5E1;
}

/* ==========================================================================
   12. MOBILE DOCK NAVIGATION: .settings-bottom-nav ON WALLET PAGE
   ========================================================================== */
body {
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important;
}

.settings-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)) 8px;
    z-index: 1050;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
}

@media (min-width: 768px) {
    .settings-bottom-nav {
        max-width: 480px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 20px 20px 0 0;
        border: 1px solid #E2E8F0;
        border-bottom: none;
        padding: 8px 16px 8px 16px;
    }
}

.nav-dock-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: #64748B;
    padding: 6px 4px;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.nav-dock-icon-wrap {
    width: 28px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.nav-dock-label {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.nav-dock-item:hover {
    color: #FF7A00;
    background: rgba(255, 122, 0, 0.05);
}

.nav-dock-item:hover .nav-dock-icon-wrap {
    transform: translateY(-2px);
}

.nav-dock-item.active {
    color: #FF7A00 !important;
    background: #FFF7EF;
}

.nav-dock-item.active .nav-dock-icon-wrap {
    color: #FF7A00;
    transform: scale(1.1);
}

.nav-dock-item.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    width: 14px;
    height: 3px;
    border-radius: 3px;
    background: #FF7A00;
}