/* ================================================================
   BP Wallet — Light Green & White Clean Theme
   Professional UI · Solid White Cards · No Transparency
   ================================================================ */

/* Fonts loaded via link tags in header.php for better performance */

/* ======================== DESIGN TOKENS ======================== */
:root {
    /* Background Palette — Light Green */
    --bg-light: #f0fdf4;
    --bg-lighter: #f7fef9;
    --bg-white: #ffffff;
    --bg-green-soft: #dcfce7;
    --bg-green-mid: #bbf7d0;

    /* Primary — Green */
    --primary: #16a34a;
    --primary-hover: #15803d;
    --primary-light: #4ade80;
    --primary-dim: rgba(22, 163, 74, 0.10);
    --primary-glow: rgba(22, 163, 74, 0.20);

    /* Secondary — Emerald */
    --emerald: #10b981;
    --emerald-dim: rgba(16, 185, 129, 0.10);

    /* Semantic */
    --green: #16a34a;
    --red: #dc2626;
    --red-dim: rgba(220, 38, 38, 0.08);
    --orange: #ea580c;
    --orange-dim: rgba(234, 88, 12, 0.08);
    --blue: #2563eb;
    --blue-dim: rgba(37, 99, 235, 0.08);

    /* Surface / Cards — Solid White */
    --card-bg: #ffffff;
    --card-bg-hover: #f9fafb;
    --card-border: #e5e7eb;
    --card-border-hover: #d1d5db;

    /* Text */
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-dim: #9ca3af;
    --text-on-primary: #ffffff;

    /* Buttons */
    --btn-green: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    --btn-green-hover: linear-gradient(135deg, #15803d 0%, #16a34a 100%);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.10);
    --shadow-green: 0 4px 14px rgba(22, 163, 74, 0.20);
    --shadow-green-lg: 0 6px 20px rgba(22, 163, 74, 0.25);

    /* Radii */
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 50px;
    --radius-circle: 50%;

    /* Surface */
    --surface: rgba(0, 0, 0, 0.02);
}

/* ======================== BASE RESET ======================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body { height: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 30%, #dcfce7 70%, #bbf7d0 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ======================== KEYFRAME ANIMATIONS ======================== */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes splashPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(22, 163, 74, 0.2); }
    50% { transform: scale(1.06); box-shadow: 0 0 50px rgba(22, 163, 74, 0.3); }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pageSlideIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cardPopIn {
    from { opacity: 0; transform: scale(0.92) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes listItemIn {
    from { opacity: 0; transform: translateX(-12px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes alertSlideIn {
    from { opacity: 0; transform: translateY(-12px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes emptyBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes urgentPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.35); }
    50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes toastIn {
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes toastOut {
    to { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(22, 163, 74, 0.15); }
    50% { box-shadow: 0 6px 20px rgba(22, 163, 74, 0.25); }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.04); }
}

/* ======================== SKELETON LOADING ======================== */
.skeleton {
    background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}
.skeleton-text { height: 14px; margin-bottom: 8px; width: 80%; }
.skeleton-title { height: 20px; margin-bottom: 12px; width: 60%; }
.skeleton-circle { width: 45px; height: 45px; border-radius: var(--radius-circle); }
.skeleton-card { height: 100px; border-radius: 15px; margin-bottom: 12px; }

/* ======================== SPLASH SCREEN ======================== */
.splash-screen {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 40%, #dcfce7 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash-screen.hide {
    opacity: 0;
    transform: scale(1.06);
    pointer-events: none;
}

.splash-logo {
    width: 94px;
    height: 94px;
    background: transparent;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    animation: splashPulse 1.5s ease-in-out infinite;
}

.splash-logo span {
    font-family: 'Georgia', serif;
    font-size: 40px;
    font-weight: bold;
    font-style: italic;
    color: #fff;
}

.splash-loader {
    width: 38px;
    height: 38px;
    border: 3px solid #dcfce7;
    border-top-color: var(--primary);
    border-radius: var(--radius-circle);
    animation: spin 0.8s linear infinite;
}

.splash-text {
    margin-top: 20px;
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
}

/* ======================== PAGE TRANSITIONS ======================== */
.page-transition {
    animation: pageSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* ================================================================
   LOGIN / SIGNUP PAGES
   ================================================================ */
.login-container {
    min-height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 40%, #dcfce7 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    position: relative;
}

/* Floating Logo */
.login-logo {
    width: 100px;
    height: 100px;
    background: transparent;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
    animation: logoFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.login-logo span {
    font-family: 'Georgia', serif;
    font-size: 44px;
    font-weight: bold;
    font-style: italic;
    color: #fff;
}

/* Form Card */
.login-form {
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-xl);
    padding: 38px 28px 32px;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.6s ease both;
    position: relative;
    z-index: 2;
}

/* Input Groups */
.login-form .input-group {
    display: flex;
    align-items: center;
    border-bottom: 1.5px solid #e5e7eb;
    margin-bottom: 26px;
    padding: 10px 0;
    transition: border-color 0.35s ease;
    position: relative;
}

.login-form .input-group:focus-within {
    border-bottom-color: var(--primary);
}

.login-form .input-group:focus-within::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.login-form .input-group i {
    color: #9ca3af;
    margin-right: 14px;
    font-size: 18px;
    width: 24px;
    text-align: center;
    transition: color 0.35s ease, transform 0.2s ease;
}

.login-form .input-group:focus-within i {
    color: var(--primary);
    transform: scale(1.1);
}

.login-form .input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 15px;
    padding: 6px 0;
    font-family: inherit;
    font-weight: 400;
}

.login-form .input-group input::placeholder {
    color: var(--text-dim);
    font-weight: 400;
}

/* Login Button */
.login-btn {
    display: block;
    width: 200px;
    margin: 32px auto 0;
    padding: 15px 0;
    background: var(--btn-green);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-green);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.login-btn:hover {
    background: var(--btn-green-hover);
    box-shadow: var(--shadow-green-lg);
    transform: translateY(-1px);
}

.login-btn:active {
    transform: scale(0.96) translateY(0);
    box-shadow: var(--shadow-sm);
}

.login-btn.loading {
    pointer-events: none;
    opacity: 0.85;
}

.login-btn.loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: var(--radius-circle);
    animation: spin 0.7s linear infinite;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

/* Login Footer Link */
.login-link {
    text-align: center;
    margin-top: 24px;
    color: var(--text-dim);
    font-size: 14px;
    animation: fadeInUp 0.6s ease 0.3s both;
    position: relative;
    z-index: 2;
}

.login-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.login-link a:hover {
    opacity: 0.8;
}

.login-link a:active { opacity: 0.7; }

/* ================================================================
   USER APP — MAIN LAYOUT
   ================================================================ */
.app-container {
    min-height: 100vh;
    padding-bottom: 85px;
    position: relative;
    z-index: 1;
}

/* ======================== WALLET CARD (Dashboard Header) ======================== */
.wallet-card {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 45%, #4ade80 100%);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: 24px 20px 42px;
    color: #fff;
    position: relative;
    overflow: hidden;
    animation: pageSlideIn 0.5s ease both;
}

/* Wallet Header */
.wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.wallet-header .app-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #fff;
}

.wallet-header .user-avatar {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 18px;
}

.wallet-header .user-avatar:active {
    transform: scale(0.9);
}

/* Wallet Info */
.wallet-email {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.wallet-info {
    position: relative;
    z-index: 2;
}

.wallet-info p {
    font-size: 13px;
    opacity: 0.85;
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wallet-info .copy-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 4px 9px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s, transform 0.15s;
}

.wallet-info .copy-btn:active {
    transform: scale(0.88);
    background: rgba(255, 255, 255, 0.3);
}

/* Wallet Tags */
.wallet-tags {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    z-index: 2;
}

.wallet-tags .tag {
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-currency {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.tag-active {
    background: #fff;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.tag-urgent {
    background: var(--red);
    color: #fff;
    animation: urgentPulse 2s ease-in-out infinite;
}

.tag-info {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    transition: transform 0.2s;
}

.tag-info:active {
    transform: scale(0.85);
}

/* ======================== BALANCE CARD ======================== */
.balance-card {
    background: #ffffff;
    margin: -22px 15px 18px;
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    z-index: 5;
    animation: cardPopIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
    border: 1px solid var(--card-border);
}

.balance-card .label {
    color: var(--text-secondary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.balance-card .amount {
    font-size: 38px;
    font-weight: 900;
    color: var(--text-primary);
    margin: 8px 0 4px;
    letter-spacing: -1.5px;
    line-height: 1;
}

.balance-card .currency {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ======================== ANNOUNCEMENT BAR ======================== */
.announcement-bar {
    background: #fef2f2;
    color: var(--red);
    padding: 11px 15px;
    margin: 0 15px 20px;
    border-radius: var(--radius-md);
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 500;
    border: 1px solid #fecaca;
    display: flex;
    align-items: center;
}

.announcement-bar .marquee {
    display: inline-block;
    animation: marquee 12s linear infinite;
}

/* Announcement Icon */
.announcement-icon {
    margin-right: 8px;
    font-size: 12px;
    flex-shrink: 0;
    animation: emptyBounce 2s ease-in-out infinite;
}

/* ======================== FAKE DEPOSIT TICKER ======================== */
.deposit-ticker-bar {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
    color: #ffffff;
    padding: 12px 15px;
    margin: 0 15px 14px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    min-height: 42px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.deposit-ticker-icon {
    font-size: 14px;
    flex-shrink: 0;
    color: #d1fae5;
}

.deposit-ticker-text {
    display: inline-block;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    animation: tickerFadeUp 3.5s ease infinite;
}

@keyframes tickerFadeUp {
    0% { opacity: 0; transform: translateY(10px); }
    15% { opacity: 1; transform: translateY(0); }
    75% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}

/* ======================== SECTION TITLE ======================== */
.section-title {
    padding: 0 20px;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.2px;
}

.section-title::before {
    content: '';
    width: 3px;
    height: 18px;
    background: var(--primary);
    border-radius: 2px;
    flex-shrink: 0;
}

/* ======================== QUICK ACTIONS ======================== */
.quick-actions {
    display: flex;
    gap: 16px;
    padding: 0 20px;
    margin-bottom: 28px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.quick-actions::-webkit-scrollbar { display: none; }

.quick-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 85px;
    text-decoration: none;
    transition: transform 0.2s;
}

.quick-action-item:active { transform: scale(0.92); }

.quick-action-item .icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.icon-deposit {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
}

.icon-withdraw {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.icon-bp {
    background: linear-gradient(135deg, #16a34a, #059669);
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.2);
}

.icon-history {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.quick-action-item .label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* BP Text in Quick Actions */
.bp-text {
    font-weight: bold;
    font-style: italic;
    font-family: Georgia, serif;
    font-size: 20px;
    color: #fff;
}

/* ======================== TRANSACTIONS LIST ======================== */
.transactions-section {
    padding: 0 15px;
    margin-bottom: 20px;
}

.transaction-item {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s;
    animation: listItemIn 0.4s ease both;
    border: 1px solid var(--card-border);
}

.transaction-item:active {
    transform: scale(0.98);
    background: var(--card-bg-hover);
}

/* Stagger delays for transactions */
.transaction-item:nth-child(1) { animation-delay: 0.05s; }
.transaction-item:nth-child(2) { animation-delay: 0.10s; }
.transaction-item:nth-child(3) { animation-delay: 0.15s; }
.transaction-item:nth-child(4) { animation-delay: 0.20s; }
.transaction-item:nth-child(5) { animation-delay: 0.25s; }
.transaction-item:nth-child(6) { animation-delay: 0.30s; }
.transaction-item:nth-child(7) { animation-delay: 0.35s; }
.transaction-item:nth-child(8) { animation-delay: 0.40s; }
.transaction-item:nth-child(9) { animation-delay: 0.45s; }
.transaction-item:nth-child(10) { animation-delay: 0.50s; }

.transaction-item .left {
    display: flex;
    align-items: center;
    gap: 13px;
}

.transaction-item .tx-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.tx-icon.deposit {
    background: #f0fdf4;
    color: var(--primary);
}

.tx-icon.withdrawal {
    background: #fef2f2;
    color: var(--red);
}

.transaction-item .tx-details .tx-type {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.transaction-item .tx-details .tx-date {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 3px;
}

.transaction-item .right {
    text-align: right;
}

.transaction-item .right .tx-amount {
    font-size: 15px;
    font-weight: 700;
}

.tx-amount.green { color: var(--primary); }
.tx-amount.red { color: var(--red); }

.transaction-item .right .tx-status {
    font-size: 11px;
    font-weight: 600;
    margin-top: 3px;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    display: inline-block;
}

.status-pending {
    color: var(--orange);
    background: #fff7ed;
}

.status-approved,
.status-completed {
    color: var(--primary);
    background: #f0fdf4;
}

.status-rejected {
    color: var(--red);
    background: #fef2f2;
}

/* ======================== BOTTOM NAVIGATION ======================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6px 0 calc(env(safe-area-inset-bottom, 8px) + 4px);
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.06);
    z-index: 100;
    border-radius: 22px 22px 0 0;
    border-top: 1px solid #e5e7eb;
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #9ca3af;
    font-size: 10px;
    font-weight: 600;
    gap: 2px;
    transition: color 0.25s;
    position: relative;
    padding: 4px 8px;
}

.bottom-nav a.active {
    color: var(--primary);
}

.bottom-nav a.active::before {
    content: '';
    position: absolute;
    top: -6px;
    width: 22px;
    height: 3px;
    background: var(--primary);
    border-radius: 0 0 3px 3px;
}

.bottom-nav a .nav-icon {
    font-size: 22px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.bottom-nav a:active .nav-icon {
    transform: scale(0.85);
}

/* Floating Deposit Plus Button */
.bottom-nav a .plus-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), #22c55e);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-top: -24px;
    box-shadow: var(--shadow-green-lg);
    transition: transform 0.2s, box-shadow 0.3s;
    animation: glowPulse 3s ease-in-out infinite;
}

.bottom-nav a:active .plus-btn {
    transform: scale(0.88);
}

/* ================================================================
   FORM PAGES — Deposit, Withdraw, Profile, Transactions, Menu
   ================================================================ */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 60%, #4ade80 100%);
    padding: 22px 20px 30px;
    color: #fff;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 800;
    position: relative;
    z-index: 2;
    letter-spacing: -0.3px;
}

.page-header p {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 6px;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

.page-header .back-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-weight: 600;
    font-family: inherit;
    transition: opacity 0.2s;
    position: relative;
    z-index: 2;
}

.page-header .back-btn i { font-size: 18px; }
.page-header .back-btn:active { opacity: 0.7; }

/* ======================== FORM CARD ======================== */
.form-card {
    background: #ffffff;
    margin: 20px 15px;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    animation: cardPopIn 0.4s ease both;
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
}

.form-card h3 {
    color: var(--text-primary) !important;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.form-card p {
    color: var(--text-secondary) !important;
}

/* Form Labels */
.form-card label {
    display: block;
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    margin-top: 18px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
}

.form-card label:first-child { margin-top: 0; }

/* Form Inputs */
.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
    font-family: inherit;
}

.form-card input::placeholder,
.form-card select::placeholder,
.form-card textarea::placeholder {
    color: var(--text-dim);
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.form-card input:disabled,
.form-card input[disabled] {
    background: #f9fafb !important;
    color: var(--text-dim) !important;
    border-color: #e5e7eb;
    cursor: not-allowed;
}

.form-card select option {
    background: #fff;
    color: var(--text-primary);
}

/* ======================== PRIMARY BUTTON — Green Gradient ======================== */
.btn-primary {
    display: flex;
    width: 100%;
    padding: 15px;
    background: var(--btn-green);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 24px;
    box-shadow: var(--shadow-green);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    background: var(--btn-green-hover);
    box-shadow: var(--shadow-green-lg);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: scale(0.97);
    box-shadow: var(--shadow-sm);
}

.btn-primary.loading {
    pointer-events: none;
    opacity: 0.85;
}

.btn-primary.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: var(--radius-circle);
    animation: spin 0.7s linear infinite;
    margin-left: 8px;
}

/* ======================== PAYMENT METHOD CARDS ======================== */
.payment-method-card {
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.25s ease;
    animation: listItemIn 0.3s ease both;
    box-shadow: var(--shadow-sm);
}

.payment-method-card:nth-child(1) { animation-delay: 0.05s; }
.payment-method-card:nth-child(2) { animation-delay: 0.10s; }
.payment-method-card:nth-child(3) { animation-delay: 0.15s; }

.payment-method-card:active { transform: scale(0.98); }

.payment-method-card.selected {
    border-color: var(--primary);
    background: #f0fdf4;
    box-shadow: 0 3px 14px rgba(22, 163, 74, 0.12);
}

.payment-method-card .pm-left {
    display: flex;
    align-items: center;
    gap: 13px;
}

.payment-method-card .pm-check {
    width: 24px;
    height: 24px;
    border: 2px solid #d1d5db;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 12px;
    transition: all 0.25s;
}

.payment-method-card.selected .pm-check {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.payment-method-card .pm-info .pm-type {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.payment-method-card .pm-info .pm-name {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.payment-method-card .pm-info .pm-number {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 1px;
}

.payment-method-card .pm-copy {
    background: none;
    border: 1.5px solid #e5e7eb;
    color: var(--primary);
    padding: 8px 11px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.payment-method-card .pm-copy:active {
    transform: scale(0.88);
    background: #f0fdf4;
}

/* ======================== PAYMENT METHOD ICON ======================== */
.pm-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    font-weight: 700;
}

.pm-icon-easypaisa {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #dcfce7;
}

.pm-icon-jazzcash {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.pm-icon-bank {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

/* ======================== AMOUNT QUICK SELECT ======================== */
.amount-quick-select {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 6px;
}

.amount-quick-btn {
    flex: 1;
    min-width: calc(33.33% - 6px);
    padding: 10px 8px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.amount-quick-btn:active {
    transform: scale(0.95);
}

.amount-quick-btn.selected,
.amount-quick-btn:hover {
    border-color: var(--primary);
    background: #f0fdf4;
    color: var(--primary);
}

.amount-custom-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.amount-custom-row input {
    flex: 1;
}

/* ======================== WITHDRAWAL METHOD SELECTOR ======================== */
.withdraw-method-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
}

.withdraw-method-option {
    padding: 15px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    transition: all 0.25s ease;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.withdraw-method-option:active { transform: scale(0.98); }

.withdraw-method-option.selected {
    border-color: var(--primary);
    background: #f0fdf4;
    box-shadow: 0 3px 14px rgba(22, 163, 74, 0.10);
}

.withdraw-method-option input[type="radio"] { display: none; }

/* ======================== FILTER TABS ======================== */
.filter-tab {
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid #e5e7eb;
    background: #ffffff;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-block;
}

.filter-tab:active { transform: scale(0.95); }

.filter-tab.active {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
    box-shadow: var(--shadow-green);
    font-weight: 700;
}

/* ======================== MENU PAGE ======================== */
.menu-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 17px 22px;
    border-bottom: 1px solid #e5e7eb;
    text-decoration: none;
    color: #111 !important;
    transition: background 0.2s, padding-left 0.2s;
    font-weight: 600;
}

.menu-link:active {
    background: #f0fdf4;
    padding-left: 26px;
}

.menu-link:last-child { border-bottom: none; }

.menu-link .chevron {
    margin-left: auto;
    color: var(--text-dim);
    font-size: 12px;
    transition: transform 0.2s;
}

.menu-link:active .chevron {
    transform: translateX(3px);
}

.menu-link.logout {
    color: var(--red);
}

/* ======================== ALERTS ======================== */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin: 15px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: alertSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.alert::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 16px;
    flex-shrink: 0;
}

.alert-success {
    background: #f0fdf4;
    color: var(--primary);
    border: 1px solid #dcfce7;
}
.alert-success::before { content: '\f058'; }

.alert-error {
    background: #fef2f2;
    color: var(--red);
    border: 1px solid #fecaca;
}
.alert-error::before { content: '\f057'; }

.alert-warning {
    background: #fff7ed;
    color: var(--orange);
    border: 1px solid #fed7aa;
}
.alert-warning::before { content: '\f06a'; }

/* ======================== EMPTY STATE ======================== */
.empty-state {
    text-align: center;
    padding: 55px 20px;
    color: var(--text-dim);
}

.empty-state i {
    font-size: 56px;
    margin-bottom: 16px;
    display: block;
    animation: emptyBounce 2.5s ease-in-out infinite;
    color: #d1d5db;
}

.empty-state p {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
}

/* ======================== WHATSAPP BUTTON ======================== */
.whatsapp-btn {
    position: fixed;
    bottom: 90px;
    right: 15px;
    width: 54px;
    height: 54px;
    background: #25D366;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    z-index: 99;
    text-decoration: none;
    animation: whatsappPulse 2.5s ease-in-out infinite;
    transition: transform 0.2s;
}

.whatsapp-btn:active { transform: scale(0.88); }

/* ======================== TOAST NOTIFICATION ======================== */
.toast-notification {
    position: fixed;
    bottom: 95px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--primary);
    color: #fff;
    padding: 12px 30px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    z-index: 99999;
    box-shadow: var(--shadow-green-lg);
    opacity: 0;
    animation: toastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.toast-notification.out {
    animation: toastOut 0.3s ease forwards;
}

/* ======================== SCROLLBAR ======================== */
::-webkit-scrollbar { width: 0; height: 0; }

/* ======================== UTILITIES ======================== */
.text-center { text-align: center; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none !important; }

/* ======================== SAFE AREA (iOS Notch) ======================== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .bottom-nav {
        padding-bottom: calc(env(safe-area-inset-bottom) + 4px);
    }
    .app-container {
        padding-bottom: calc(85px + env(safe-area-inset-bottom));
    }
}

/* ======================== RESPONSIVE FINE-TUNING ======================== */
@media (max-width: 380px) {
    .login-form {
        padding: 32px 22px 28px;
    }

    .balance-card .amount {
        font-size: 32px;
    }

    .quick-action-item .icon {
        width: 56px;
        height: 56px;
        border-radius: 15px;
    }

    .wallet-header .app-title {
        font-size: 20px;
    }

    .page-header h1 {
        font-size: 22px;
    }

    .btn-primary,
    .login-btn {
        font-size: 15px;
        padding: 14px;
    }
}

@media (min-width: 420px) {
    .login-form {
        padding: 42px 34px 36px;
    }

    .form-card {
        padding: 26px;
    }

    .balance-card {
        padding: 30px 28px;
    }

    .balance-card .amount {
        font-size: 42px;
    }
}

/* ================================================================
   ENHANCED LAYOUT COMPONENTS
   ================================================================ */

/* ======================== LOGIN PAGE — Welcome Text & Form Header ======================== */
.login-welcome {
    text-align: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.5s ease 0.1s both;
}

.login-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.login-alert {
    max-width: 360px;
    width: 100%;
    margin: 0 auto 16px !important;
    position: relative;
    z-index: 2;
}

.login-form-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.form-heading {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.form-subtext {
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 400;
}

/* Move login-link inside form card */
.login-form .login-link {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #f3f4f6;
    animation: none;
}

/* ======================== DASHBOARD — Enhanced Wallet Card ======================== */
.wallet-greeting {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
    position: relative;
    z-index: 2;
}

.wallet-greeting strong {
    color: #fff;
    font-weight: 700;
}

.wallet-info-icon {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    width: 14px;
    text-align: center;
}

/* Balance Card Icon */
.balance-icon {
    width: 44px;
    height: 44px;
    background: #f0fdf4;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--primary);
    font-size: 18px;
    border: 1px solid #dcfce7;
}

/* Section Header with View All */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 20px;
    margin-bottom: 0;
}

.section-header .section-title {
    margin-bottom: 0;
}

.section-link {
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.section-link i {
    font-size: 10px;
    transition: transform 0.2s;
}

.section-link:active {
    opacity: 0.7;
}

.section-link:active i {
    transform: translateX(3px);
}

/* ======================== PAGE HEADER — Enhanced ======================== */
.page-header-icon {
    font-size: 20px;
    margin-right: 4px;
    opacity: 0.85;
    vertical-align: middle;
}

/* ======================== FORM SECTIONS — Step Badges ======================== */
.form-section {
    padding: 20px 15px;
}

.form-section-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.step-badge {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    box-shadow: var(--shadow-green);
    flex-shrink: 0;
}

.step-badge i {
    font-size: 14px;
}

.form-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.form-section-desc {
    font-size: 13px;
    color: var(--text-dim) !important;
    font-weight: 400;
}

/* Form Divider */
.form-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 24px 0;
}

/* Input with icon wrapper */
.input-with-icon {
    position: relative;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    opacity: 0.5;
    font-size: 16px;
    z-index: 2;
    transition: opacity 0.3s;
}

.input-with-icon input {
    padding-left: 46px !important;
}

.input-with-icon:focus-within .input-icon {
    opacity: 1;
}

/* Label optional tag */
.label-optional {
    font-weight: 400;
    color: var(--text-dim);
    font-size: 10px;
    text-transform: none;
    letter-spacing: 0;
}

/* File Upload Wrapper */
.file-upload-wrapper {
    position: relative;
    margin-top: 4px;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-label {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 16px !important;
    border: 2px dashed #d1d5db !important;
    border-radius: var(--radius-md) !important;
    background: #f9fafb !important;
    color: var(--text-dim) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    cursor: pointer;
    transition: all 0.25s ease;
    margin: 0 !important;
}

.file-upload-label i {
    font-size: 24px;
    color: var(--primary);
    opacity: 0.5;
}

.file-upload-wrapper:hover .file-upload-label {
    border-color: var(--primary) !important;
    background: #f0fdf4 !important;
    color: var(--primary) !important;
}

.file-upload-wrapper:hover .file-upload-label i {
    opacity: 1;
}

/* ======================== WITHDRAW — Balance Display Card ======================== */
.balance-display-card {
    background: #ffffff;
    margin: 20px 15px;
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-md);
    animation: cardPopIn 0.4s ease both;
    position: relative;
    overflow: hidden;
}

.balance-display-icon {
    width: 48px;
    height: 48px;
    background: #f0fdf4;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: var(--primary);
    font-size: 20px;
    border: 1px solid #dcfce7;
}

.balance-display-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.balance-display-amount {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-primary);
    margin: 6px 0 2px;
    letter-spacing: -1px;
}

.balance-display-currency {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}

/* Withdraw Button Variant — White with Black Text */
.btn-withdraw {
    background: #ffffff !important;
    color: var(--text-primary) !important;
    border: 2px solid #e5e7eb !important;
    box-shadow: var(--shadow-md) !important;
}

.btn-withdraw:hover {
    background: #f9fafb !important;
    box-shadow: var(--shadow-lg) !important;
}

/* Withdraw Method Icons */
.method-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.method-icon-green { background: #f0fdf4; color: var(--primary); border: 1px solid #dcfce7; }
.method-icon-red { background: #fef2f2; color: var(--red); border: 1px solid #fecaca; }
.method-icon-blue { background: #eff6ff; color: var(--blue); border: 1px solid #bfdbfe; }

.method-name {
    font-weight: 600;
    font-size: 15px;
}

/* ======================== PROFILE — Enhanced Cards ======================== */
.profile-hero-card {
    text-align: center;
}

.profile-avatar {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, var(--primary), #22c55e);
    border-radius: var(--radius-circle);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.25);
    position: relative;
}

.profile-avatar i {
    font-size: 34px;
    color: #fff;
}

.profile-avatar::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-circle);
    border: 2px solid rgba(22, 163, 74, 0.15);
}

.profile-username {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.profile-meta {
    font-size: 13px;
    color: var(--text-secondary) !important;
    margin: 4px 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.profile-meta i {
    color: var(--primary);
    opacity: 0.5;
    font-size: 12px;
    width: 16px;
    text-align: center;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 6px 16px;
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    border-radius: var(--radius-pill);
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

.profile-badge i {
    font-size: 11px;
}

/* ======================== MENU PAGE — Enhanced ======================== */
.menu-container {
    padding: 15px;
}

.menu-profile-card {
    text-align: center;
    margin: 0 0 15px !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.menu-avatar {
    width: 72px;
    height: 72px;
    background: var(--primary);
    border-radius: var(--radius-circle);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.2);
}

.menu-avatar span {
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: bold;
    font-style: italic;
    color: #fff;
}

.menu-username {
    font-size: 18px;
    font-weight: 700;
    color: #111 !important;
    margin-bottom: 6px;
}

.menu-detail {
    font-size: 13px;
    color: #333 !important;
    margin: 3px 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.menu-detail i {
    color: #16a34a;
    opacity: 1;
    font-size: 12px;
    width: 15px;
    text-align: center;
}

/* Menu Links Card */
.menu-links-card {
    margin: 0 0 15px !important;
    padding: 0 !important;
    overflow: hidden;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.menu-link-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.menu-icon-green { background: #f0fdf4; color: var(--primary); }
.menu-icon-red { background: #fef2f2; color: var(--red); }
.menu-icon-blue { background: #eff6ff; color: var(--blue); }
.menu-icon-purple { background: #f5f3ff; color: #7c3aed; }

.menu-link-text {
    font-weight: 600;
    font-size: 15px;
    flex: 1;
    color: #111;
}

/* App Version Footer */
.app-version {
    text-align: center;
    padding: 20px 0;
}

.app-version p {
    font-size: 12px;
    color: var(--text-dim);
    font-weight: 500;
}

/* ======================== TRANSACTIONS — Filter Container ======================== */
.filter-container {
    padding: 16px 15px 8px;
}

.filter-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.filter-scroll::-webkit-scrollbar { display: none; }

.filter-tab i {
    margin-right: 4px;
    font-size: 11px;
}

/* ======================== BP EXCHANGE — Enhanced Coming Soon ======================== */
.bpexch-container {
    padding: 15px;
}

.bpexch-hero-card {
    text-align: center;
    padding: 36px 24px !important;
    margin: 0 !important;
}

.bpexch-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.bpexch-icon {
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.25);
    z-index: 2;
}

.bpexch-icon span {
    font-family: Georgia, serif;
    font-size: 36px;
    font-weight: bold;
    font-style: italic;
    color: #fff;
}

.bpexch-ring {
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-circle);
    border: 2px dashed rgba(22, 163, 74, 0.2);
    animation: spin 12s linear infinite;
}

.bpexch-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.bpexch-desc {
    font-size: 14px;
    color: var(--text-secondary) !important;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto 20px !important;
}

.bpexch-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    border-radius: var(--radius-pill);
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
}

.bpexch-badge i {
    font-size: 14px;
}

.bpexch-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.bpexch-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 80px;
}

.bpexch-feature i {
    width: 42px;
    height: 42px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
}

.bpexch-feature span {
    font-size: 11px;
    color: var(--text-dim);
    font-weight: 600;
}

/* ======================== BOTTOM NAV — Enhanced ======================== */
.nav-label {
    font-size: 10px;
}

.nav-bp-icon {
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-style: italic;
    font-size: 11px;
    font-family: Georgia, serif;
}

.bottom-nav a.active .nav-bp-icon {
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2);
}

.nav-center {
    position: relative;
}

/* ======================== RESPONSIVE — Enhanced Layouts ======================== */
@media (max-width: 380px) {
    .login-title {
        font-size: 24px;
    }

    .login-subtitle {
        font-size: 13px;
    }

    .form-section-header {
        gap: 10px;
    }

    .step-badge {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 13px;
    }

    .balance-display-amount {
        font-size: 28px;
    }

    .bpexch-features {
        gap: 14px;
    }

    .profile-avatar {
        width: 76px;
        height: 76px;
    }

    .profile-avatar i {
        font-size: 28px;
    }

    .bpexch-icon {
        width: 76px;
        height: 76px;
    }
}

@media (min-width: 420px) {
    .login-title {
        font-size: 32px;
    }

    .form-section-title {
        font-size: 17px;
    }

    .balance-display-amount {
        font-size: 36px;
    }

    .profile-avatar {
        width: 96px;
        height: 96px;
    }

    .profile-avatar i {
        font-size: 38px;
    }

    .bpexch-hero-card {
        padding: 44px 28px !important;
    }

    .bpexch-icon {
        width: 96px;
        height: 96px;
    }
}

/* =============================================
   URDU TEXT STYLES
   ============================================= */

.header-urdu {
    display: block;
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    direction: rtl;
    margin-top: 2px;
}

.page-desc-urdu {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    direction: rtl;
    margin-top: 4px;
    line-height: 1.8;
}

.form-section-desc-urdu {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 12px;
    color: var(--text-dim);
    direction: rtl;
    margin-top: 2px;
    line-height: 1.7;
}

.btn-urdu {
    display: block;
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 2px;
}

.label-urdu {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 11px;
    color: var(--text-secondary);
    direction: rtl;
    display: block;
    margin-top: 1px;
}

.section-title-urdu {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-dim);
    direction: rtl;
    margin-left: 6px;
}

/* Bottom Nav Urdu Labels */
.nav-label-urdu {
    display: block;
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 8px;
    color: #9ca3af;
    direction: rtl;
    margin-top: -1px;
    line-height: 1.4;
}

.bottom-nav a.active .nav-label-urdu {
    color: var(--primary);
    opacity: 0.7;
}

/* Quick Actions Urdu Labels */
.quick-action-item .label-urdu {
    display: block;
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 9px;
    color: var(--text-dim);
    direction: rtl;
    margin-top: 0;
    line-height: 1.5;
}

/* =============================================
   URDU MESSAGE CARD (Admin-controlled)
   ============================================= */

.urdu-message-card {
    background: #ffffff;
    border: 1px solid #dcfce7;
    border-radius: 16px;
    padding: 16px 18px;
    margin: 0 15px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    direction: rtl;
    animation: fadeInUp 0.4s ease both;
    box-shadow: var(--shadow-sm);
}

.urdu-message-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), #22c55e);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 16px;
}

.urdu-message-text {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 2;
    direction: rtl;
    text-align: right;
    flex: 1;
}

/* =============================================
   PASSWORD DISPLAY CARD (Dashboard)
   ============================================= */

.password-display-card {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 16px;
    margin: -6px 0 0 0;
    animation: fadeInUp 0.3s ease both;
    animation-delay: 0.1s;
    box-shadow: var(--shadow-sm);
}

.password-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.password-card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.password-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.password-card-subtitle {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 11px;
    color: var(--text-dim);
    direction: rtl;
    margin: 1px 0 0 0;
}

.password-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
}

.password-value {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 18px;
    font-weight: 600;
    color: #f59e0b;
    letter-spacing: 3px;
    flex: 1;
}

.password-dots {
    letter-spacing: 4px;
    color: #9ca3af;
}

.password-text {
    letter-spacing: 1px;
    color: #f59e0b;
}

.password-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.password-action-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 10px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.password-action-btn:active {
    transform: scale(0.92);
    background: #fff7ed;
    color: #f59e0b;
}

/* =============================================
   RESPONSIVE - Urdu & Password
   ============================================= */

@media (max-width: 380px) {
    .header-urdu {
        font-size: 12px;
    }

    .page-desc-urdu {
        font-size: 11px;
    }

    .urdu-message-text {
        font-size: 12px;
    }

    .password-value {
        font-size: 15px;
    }

    .password-card-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .nav-label-urdu {
        font-size: 7px;
    }
}

/* =============================================
   ENHANCED DASHBOARD - TOP BAR
   ============================================= */

.dash-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 14px;
    background: transparent;
    position: relative;
    z-index: 10;
    animation: fadeInUp 0.3s ease both;
}

.dash-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-logo {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.2);
    flex-shrink: 0;
}

.dash-logo span {
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: bold;
    font-style: italic;
    color: #fff;
}

.dash-brand-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    margin: 0;
}

.dash-brand-tag {
    font-size: 10px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.dash-avatar {
    width: 44px;
    height: 44px;
    background: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #dcfce7;
    color: var(--primary);
    font-size: 18px;
    position: relative;
    transition: transform 0.2s;
    text-decoration: none;
}

.dash-avatar:active {
    transform: scale(0.9);
}

.dash-avatar-status {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border: 2px solid #fff;
    border-radius: 50%;
}

/* =============================================
   DASHBOARD - WELCOME SECTION
   ============================================= */

.dash-welcome {
    padding: 0 20px 16px;
    animation: fadeInUp 0.4s ease both;
    animation-delay: 0.05s;
}

.dash-welcome-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 4px 0;
}

.dash-welcome-name {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.5px;
}

.dash-welcome-email {
    font-size: 13px;
    color: var(--text-dim);
    margin: 3px 0 0 0;
}

/* =============================================
   DASHBOARD - CREDENTIALS CARDS
   ============================================= */

.dash-credentials {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
    animation: fadeInUp 0.4s ease both;
    animation-delay: 0.1s;
}

.credential-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
    box-shadow: var(--shadow-sm);
}

.credential-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.credential-icon-user {
    background: #f0fdf4;
    color: var(--primary);
    border: 1px solid #dcfce7;
}

.credential-icon-pass {
    background: #fff7ed;
    color: #f59e0b;
    border: 1px solid #fed7aa;
}

.credential-info {
    flex: 1;
    min-width: 0;
}

.credential-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    margin-bottom: 4px;
}

.credential-label-urdu {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 10px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-dim);
    direction: rtl;
}

.credential-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.credential-value-row {
    display: flex;
    align-items: center;
}

.credential-password-dots {
    font-size: 18px;
    letter-spacing: 4px;
    color: #9ca3af;
    font-weight: 700;
}

.credential-password-text {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 16px;
    font-weight: 700;
    color: #f59e0b;
    letter-spacing: 1px;
}

.credential-copy {
    width: 38px;
    height: 38px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.credential-copy:active {
    transform: scale(0.9);
    background: #f0fdf4;
    color: var(--primary);
}

.credential-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.credential-action-btn {
    width: 36px;
    height: 36px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.credential-action-btn:active {
    transform: scale(0.9);
    background: #fff7ed;
    color: #f59e0b;
}

/* =============================================
   DASHBOARD - STATUS TAGS
   ============================================= */

.dash-status-tags {
    display: flex;
    gap: 8px;
    padding: 4px 16px 16px;
    flex-wrap: wrap;
    align-items: center;
    animation: fadeInUp 0.4s ease both;
    animation-delay: 0.15s;
}

/* =============================================
   ENHANCED BALANCE CARD
   ============================================= */

.balance-card-enhanced {
    margin: 0 16px 18px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    animation: cardPopIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
    border: 1px solid #dcfce7;
    box-shadow: var(--shadow-md);
}

.balance-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 40%, #4ade80 70%, #16a34a 100%);
    z-index: 0;
}

.balance-card-content {
    position: relative;
    z-index: 1;
    padding: 22px 20px;
}

.balance-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.balance-wallet-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.balance-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 5px;
}

.balance-badge i {
    font-size: 9px;
    color: #fff;
}

.balance-label-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.balance-label-en {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.balance-label-ur {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    direction: rtl;
}

.balance-amount-row {
    margin-bottom: 16px;
}

.balance-amount {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -2px;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.balance-currency-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.balance-currency-tag {
    background: #fff;
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.balance-mini-actions {
    display: flex;
    gap: 8px;
}

.balance-mini-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.balance-mini-btn:active {
    transform: scale(0.94);
}

.balance-mini-deposit {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.balance-mini-withdraw {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* =============================================
   RESPONSIVE - Dashboard Enhanced
   ============================================= */

@media (max-width: 380px) {
    .dash-brand-name {
        font-size: 16px;
    }

    .balance-amount {
        font-size: 34px;
    }

    .credential-value {
        font-size: 14px;
    }

    .credential-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
}

/* =============================================
   IMAGE LOGO (replaces text "BP" everywhere)
   ============================================= */

.logo-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(22, 163, 74, 0.25);
}

.splash-logo-img {
    width: 94px;
    height: 94px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(22, 163, 74, 0.25);
}

.dash-logo-img {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15);
}

/* =============================================
   SIGNUP PROMO WHITE BOX
   ============================================= */

.promo-white-box {
    background: #fff;
    border-radius: 16px;
    padding: 16px 20px;
    margin: 0 0 18px 0;
    text-align: center;
    animation: fadeInUp 0.4s ease both;
    animation-delay: 0.1s;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-sm);
}

.promo-urdu-text {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 15px;
    color: #1a1a1a;
    direction: rtl;
    line-height: 2;
    margin: 0 0 4px 0;
    font-weight: 700;
}

.promo-urdu-highlight {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 17px;
    color: var(--primary);
    direction: rtl;
    font-weight: 700;
    line-height: 2;
    margin: 0;
}

/* =============================================
   DASHBOARD - USER INFO WHITE BOX
   ============================================= */

.user-info-white-box {
    background: #fff;
    border-radius: 18px;
    padding: 18px 16px;
    margin: 0 16px 14px;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.4s ease both;
    animation-delay: 0.1s;
    border: 1px solid #e5e7eb;
}

.user-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
}

.user-info-label {
    font-size: 12px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    min-width: 90px;
}

.user-info-label i {
    color: var(--primary);
    margin-right: 4px;
}

.user-info-value {
    flex: 1;
    font-size: 16px;
    font-weight: 800;
    color: #111;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#passwordDots {
    font-size: 18px;
    letter-spacing: 3px;
    color: #333;
}

#passwordText {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.user-info-copy {
    width: 34px;
    height: 34px;
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    border-radius: 10px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.user-info-copy:active {
    transform: scale(0.9);
    background: #dcfce7;
}

.user-info-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.user-info-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 8px 0;
}

.user-info-tags {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.user-info-tags .tag {
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-info-tags .tag-currency {
    background: #f0fdf4;
    color: var(--primary);
}

.user-info-tags .tag-active {
    background: var(--primary);
    color: #fff;
}

.user-info-tags .tag-urgent {
    background: #fef2f2;
    color: #dc2626;
}

/* =============================================
   SCROLLABLE LINKS
   ============================================= */

.scroll-links-container {
    margin: 0 0 14px 0;
    padding: 0 16px;
    overflow: hidden;
    animation: fadeInUp 0.4s ease both;
    animation-delay: 0.15s;
}

.scroll-links-inner {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroll-links-inner::-webkit-scrollbar {
    display: none;
}

.scroll-link-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 14px;
    padding: 10px 16px;
    min-width: max-content;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
    flex-shrink: 0;
    border: 1px solid #e5e7eb;
}

.scroll-link-chip:active {
    transform: scale(0.96);
}

.scroll-link-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.scroll-link-text {
    display: flex;
    flex-direction: column;
}

.scroll-link-name {
    font-size: 13px;
    font-weight: 800;
    color: #111;
}

.scroll-link-url {
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
}

/* =============================================
   BALANCE WHITE BOX
   ============================================= */

.balance-white-box {
    background: #fff;
    border-radius: 18px;
    padding: 20px 18px;
    margin: 0 16px 14px;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.4s ease both;
    animation-delay: 0.2s;
    border: 1px solid #e5e7eb;
}

.balance-white-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.balance-box-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.balance-box-label {
    font-size: 13px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.balance-box-amount {
    font-size: 34px;
    font-weight: 900;
    color: #111;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.balance-box-currency {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.balance-box-buttons {
    display: flex;
    gap: 10px;
}

.balance-box-btn {
    flex: 1;
    padding: 13px 0;
    border-radius: 14px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s;
}

.balance-box-btn:active {
    transform: scale(0.96);
}

.balance-box-btn-deposit {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.balance-box-btn-withdraw {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

/* =============================================
   HOME PROMO BOX
   ============================================= */

.home-promo-box {
    background: #fff;
    border-radius: 16px;
    padding: 16px 18px;
    margin: 0 16px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.4s ease both;
    animation-delay: 0.25s;
    border: 1px solid #e5e7eb;
}

.promo-box-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.promo-box-text {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    line-height: 1.5;
    margin: 0;
}

/* =============================================
   RESPONSIVE - New White Boxes
   ============================================= */

@media (max-width: 380px) {
    .user-info-value {
        font-size: 14px;
    }

    .balance-box-amount {
        font-size: 28px;
    }

    .balance-box-btn {
        font-size: 12px;
        padding: 11px 0;
    }

    .scroll-link-chip {
        padding: 8px 12px;
    }

    .promo-urdu-text {
        font-size: 13px;
    }

    .promo-urdu-highlight {
        font-size: 15px;
    }
}

/* ================================================================
   AUTH PAGES — SCROLLING PARAGRAPHS TICKER
   ================================================================ */
.auth-ticker-wrap {
    width: 100%;
    max-width: 360px;
    margin: 0 auto 20px;
    overflow: hidden;
    height: 42px;
    background: #ffffff;
    border-radius: 50px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.5s ease 0.15s both;
}

.auth-ticker {
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease;
}

.auth-ticker-item {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 600;
    color: #16a34a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ================================================================
   AUTH PAGES — SCROLLABLE SITE BUTTONS
   ================================================================ */
.site-buttons-outer {
    width: 100%;
    max-width: 360px;
    margin: 20px auto 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.6s ease 0.35s both;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.site-buttons-scroll {
    display: flex;
    gap: 12px;
    animation: scrollSiteButtons 15s linear infinite;
    width: max-content;
}

.site-buttons-scroll:hover {
    animation-play-state: paused;
}

.site-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: #ffffff;
    border: 1.5px solid #dcfce7;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(22, 163, 74, 0.08);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.site-btn i {
    color: #16a34a;
    font-size: 14px;
    width: 28px;
    height: 28px;
    background: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-btn span {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    letter-spacing: 0.2px;
}

.site-btn:active {
    transform: scale(0.95);
    box-shadow: 0 1px 4px rgba(22, 163, 74, 0.12);
}

@keyframes scrollSiteButtons {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================================================================
   AUTH PAGES — LOGO IMAGE FIT
   ================================================================ */
.login-logo .logo-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(22, 163, 74, 0.25);
}

@media (max-width: 380px) {
    .auth-ticker-wrap {
        max-width: 300px;
    }
    .site-buttons-outer {
        max-width: 300px;
    }
    .site-btn {
        padding: 10px 16px;
    }
    .site-btn span {
        font-size: 12px;
    }
}

/* ================================================================
   WELCOME POPUP
   ================================================================ */
.welcome-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.welcome-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.welcome-popup {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 340px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: scale(0.85) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    position: relative;
}

.welcome-popup-overlay.show .welcome-popup {
    transform: scale(1) translateY(0);
}

.welcome-popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.06);
    color: #6b7280;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.2s;
    line-height: 1;
}

.welcome-popup-close:active {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(0.9);
}

.welcome-popup-header {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 50%, #4ade80 100%);
    padding: 28px 20px 22px;
    text-align: center;
    position: relative;
}

.welcome-popup-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    padding: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 12px;
}

.welcome-popup-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
}

.welcome-popup-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin: 0;
}

.welcome-popup-body {
    padding: 20px 20px 16px;
}

.welcome-popup-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
}

.welcome-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fff7ed;
    color: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.welcome-feature-icon.feat-green {
    background: #f0fdf4;
    color: #16a34a;
}

.welcome-feature-icon.feat-blue {
    background: #eff6ff;
    color: #3b82f6;
}

.welcome-feature-text {
    display: flex;
    flex-direction: column;
}

.welcome-feature-text strong {
    font-size: 14px;
    color: #111827;
    font-weight: 700;
}

.welcome-feature-text span {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.welcome-popup-methods {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 18px 0 14px;
    padding: 14px;
    background: #f9fafb;
    border-radius: 14px;
}

.welcome-method-img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.welcome-popup-urdu {
    text-align: center;
    direction: rtl;
    padding: 10px 0 4px;
}

.welcome-popup-urdu p {
    font-size: 13px;
    color: #16a34a;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.8;
}

.welcome-popup-btn {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 14px 0;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
    transition: all 0.3s ease;
    font-family: inherit;
    letter-spacing: 0.3px;
}

.welcome-popup-btn:active {
    transform: scale(0.96);
}

.welcome-popup-btn i {
    margin-right: 8px;
}

/* Hide popup closing animation */
.welcome-popup-overlay.closing {
    opacity: 0;
}

.welcome-popup-overlay.closing .welcome-popup {
    transform: scale(0.85) translateY(30px);
}

/* ================================================================
   PAYMENT METHOD IMAGES (Deposit & Withdraw)
   ================================================================ */
.pm-icon-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.method-icon-img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
