/* ===== BODY ===== */

body {
    background: radial-gradient(circle at top right, #1e293b, #05070a);
    color: var(--text-light);
    font-family: var(--body-font);
    margin: 0;
    overflow-x: hidden;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

/* ===== TOP BAR ===== */

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 7, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    font-family: var(--logo-font);
}

.brand span span {
    color: var(--primary-gold);
    font-family: var(--logo-font);
}

.gold-icon-sm {
    color: var(--primary-gold);
    font-size: 22px;
}

/* ===== TOP ICONS ===== */

.top-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}


/* ===== DASHBOARD TOP-BAR AVATAR ===== */
.avatar-wrapper {
    position: relative;
    width: 36px;
    height: 36px;
    transition: transform 0.2s ease;
}

.avatar-wrapper:active {
    transform: scale(0.92);
}

#user-pfp {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    /* Full Circle */
    object-fit: cover;
    border: 2px solid var(--primary-gold);
    background: #14161a;
    display: block;
}

.hidden {
    display: none !important;
}

/* ===== AVATAR SELECTION MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    animation: fadeIn 0.3s ease;
}

.avatar-card {
    background: #14161a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    width: 100%;
    max-width: 340px;
    padding: 25px;
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    margin: 0;
    color: #FFD700;
    font-size: 18px;
}

.modal-header p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 12px;
}

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-height: 320px;
    overflow-y: auto;
    padding: 10px;
}

/* Modal ke andar wale boxes (Optional: inko square rakha hai for better selection) */
.avatar-item {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 20px;
    /* Thora rounded square inside modal */
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 5px;
    background: rgba(255, 255, 255, 0.03);
}

.avatar-item img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.avatar-item.selected {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    transform: scale(1.05);
}

/* Modal Buttons */
.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.btn-primary {
    background: #FFD700;
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 14px;
    font-weight: 700;
    flex: 2;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-secondary {
    background: #1e2126;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 14px;
    flex: 1;
    cursor: pointer;
    font-size: 14px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


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

.dash-container {
    padding: 90px 20px 120px;
    max-width: 500px;
    margin: auto;
    animation: fadeIn .5s ease;
}

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

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.user-info p {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

.user-info h2 {
    font-size: 22px;
    font-weight: 800;
    margin-top: 4px;
    color: #fff;
}

/* ===== STATUS CHIP ===== */

.status-chip {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.status-chip.verified {
    background: rgba(0, 200, 81, 0.1);
    color: #00C851;
    border: 1px solid rgba(0, 200, 81, 0.2);
}

.status-chip.pending {
    background: rgba(255, 187, 51, 0.1);
    color: #ffbb33;
    border: 1px solid rgba(255, 187, 51, 0.2);
}

/* ===== SAVINGS CARD ===== */

.savings-card {
    background: var(--gold-gradient);
    padding: 25px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    color: #000;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(184, 134, 11, 0.3);
}

.card-glow {
    position: absolute;
    top: -40%;
    right: -40%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.4);
    filter: blur(60px);
    border-radius: 50%;
}

.savings-card h1 {
    font-size: 36px;
    font-weight: 900;
    margin: 10px 0;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 12px;
    font-size: 12px;
    font-weight: 700;
}

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

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-title h3 {
    font-size: 16px;
    font-weight: 700;
}

.badge-live {
    background: #ef4444;
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 800;
    animation: pulseRed 2s infinite;
}

/* ===== ROTATION CARD ===== */

.rotation-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
}

.winner-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.winner-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 22px;
}

.winner-text p {
    font-size: 11px;
    color: #64748b;
    margin: 0;
}

.winner-text h4 {
    font-size: 16px;
    margin: 2px 0 0;
}

.pool-tag {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 10px;
    border-radius: 12px;
    font-weight: 700;
    color: var(--primary-gold);
}

/* ===== DOT TRACKER ===== */

.rotation-tracker {
    margin-top: 8px;
}

.dots-label {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 8px;
    text-align: right;
}

.dots-container {
    display: flex;
    gap: 6px;
}

.dot {
    flex: 1;
    height: 6px;
    background: #1e293b;
    border-radius: 12px;
}

.dot.active {
    background: var(--primary-gold);
    box-shadow: 0 0 8px var(--gold-glow);
}

/* ===== PAY BUTTON ===== */

.pool-action-box {
    margin-top: 18px;
}

.pay-kameti-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: var(--gold-gradient);
    font-weight: 800;
    cursor: pointer;
}

.hint-text {
    font-size: 11px;
    text-align: center;
    color: #94a3b8;
    margin-top: 6px;
}

/* ===== ACTION GRID ===== */

.actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.action-btn {
    padding: 18px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    cursor: pointer;
}

.action-btn.gold-gradient {
    background: var(--gold-gradient);
    color: #000;
}

.action-btn.outline {
    background: var(--gold-gradient);
    border: 1px solid var(--border-light);
}

.action-btn i {
    font-size: 26px;
}

/* ===== TRANSACTIONS ===== */

/* --- Notification Badge & Icon Fix --- */
.notification-dot {
    position: relative;
    cursor: pointer;
}

.count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #05070a; /* Match background */
    z-index: 10;
}

/* --- Bottom Sheet Main Container --- */
.bottom-sheet {
    position: fixed;
    inset: 0;
    z-index: 999999 !important; /* Screen ke sab se upar */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    visibility: hidden; /* Click blocking se bachne ke liye */
    transition: visibility 0.4s;
}

.bottom-sheet:not(.hidden) {
    visibility: visible;
}

.sheet-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px); /* Premium background blur */
}

/* --- The Slide-up Container --- */
.sheet-content {
    position: relative;
    background: #05070a; /* Aapka original dark background */
    border-top: 2px solid rgba(255, 215, 0, 0.4); /* Gold border */
    border-radius: 25px 25px 0 0;
    height: 80vh; /* Screen ka 80% hissa */
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
    display: flex;
    flex-direction: column;
}

.bottom-sheet:not(.hidden) .sheet-content {
    transform: translateY(0);
}

.drag-handle {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 12px auto 5px;
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 15px;
}

.sheet-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--primary-gold, #FFD700);
}

.close-btn {
    background: rgba(255,255,255,0.05);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
}

/* --- List Styling (Wahi Purani Jo Aap Ne Di) --- */
.sheet-body {
    flex-grow: 1;
    overflow-y: auto !important;
    padding: 10px 15px 100px; /* Neeche extra space taake last card saaf dikhe */
}

/* Scrollbar Customization */
.sheet-body::-webkit-scrollbar { width: 4px; }
.sheet-body::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); }
.sheet-body::-webkit-scrollbar-thumb { 
    background: var(--primary-gold, #FFD700); 
    border-radius: 10px; 
}

/* --- EXACTLY YOUR ORIGINAL CARD DESIGN --- */
.h-card {
    background: #0f1216; /* Wahi original card color */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
}

.h-body {
    display: flex;
    align-items: center;
    gap: 12px;
}

.h-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.h-icon.pos { background: rgba(0, 200, 81, 0.1); color: #00C851; }
.h-icon.neg { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.h-icon.warning { background: rgba(255, 153, 0, 0.1); color: #ff9800; }

.h-content { flex: 1; }

.h-top-row, .h-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.h-label { font-weight: 600; font-size: 15px; color: #ffffff; }
.h-amt { font-weight: 700; font-size: 15px; }
.h-amt.pos { color: #00C851; }
.h-amt.neg { color: #ef4444; }
.h-amt.warning { color: #ff9800; }
.h-date { font-size: 11px; color: #64748b; font-weight: 500; }

.h-status-text { font-size: 10px; font-weight: 800; letter-spacing: 0.5px; }
.status-approved { color: #00C851; }
.status-pending { color: #f59e0b; }
.status-rejected { color: #ef4444; }

.h-footer {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.h-delete-icon {
    margin-left: auto;
    color: #334155;
    cursor: pointer;
    font-size: 14px;
}

.empty-state {
    text-align: center;
    font-size: 13px;
    color: #64748b;
    padding: 40px 20px;
}


/* ===== MODAL ===== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-content {
    width: 100%;
    max-width: 400px;
    animation: fadeIn .4s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
}

.modal-header i {
    cursor: pointer;
    font-size: 20px;
    color: #94a3b8;
}


/* ==========================================
   --- UPDATED DEPOSIT & WITHDRAW SELECTOR ---
   ========================================== */

/* 1. Premium Select Field */
.premium-select {
    background: transparent;
    border: none;
    color: var(--text-light);
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    appearance: none;
    /* Default arrow hide */
    font-family: var(--body-font);
    padding: 2px 0;
}

/* Options styling for mobile/browser */
.premium-select option {
    background: #111827;
    color: #fff;
    padding: 10px;
}

/* 2. Input Group Wrapper */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gold glow effect on focus */
.input-group:focus-within {
    border-color: var(--primary-gold);
    box-shadow: 0 0 12px var(--gold-glow);
    background: rgba(255, 255, 255, 0.06);
}

.input-group i {
    color: var(--primary-gold);
    margin-right: 12px;
    font-size: 1.1rem;
}

/* Custom Dropdown Arrow using Bootstrap Icon */
.input-group:has(.premium-select)::after {
    content: "\F282";
    font-family: "bootstrap-icons";
    position: absolute;
    right: 18px;
    color: var(--primary-gold);
    pointer-events: none;
    font-size: 12px;
}

/* ==========================================
   --- DEPOSIT DETAILS BOX (Auto-Show) ---
   ========================================== */

#deposit-details-area {
    margin-top: 20px;
    padding-top: 5px;
    animation: slideUpFade 0.4s ease-out;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bank Details Display Card */
.bank-details-box.premium {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 24px 15px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

/* Bank Logo Container - Full Fixed */
.bank-icon-sm {
    width: 80px;
    height: 50px;
    margin: 0 auto 15px;
    padding: 6px;
    background-color: transparent !important;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

    /* Strict Background Control */
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
    background-image: none;
}

/* Bank Specific Images */
.bank-icon-sm.easypaisa {
    background-image: url('https://cdn.aptoide.com/imgs/5/a/d/5ad0bd9f9704075be3dd8efdbca6313b_icon.jpg') !important;
}

.bank-icon-sm.jazzcash {
    background-image: url('https://vectorseek.com/wp-content/uploads/2024/12/JazzCash-New-Logo-App-Icon-PNG-Vector-300x300.png') !important;
}

.bank-icon-sm.sadapay {
    background-image: url('https://play-lh.googleusercontent.com/jLxWI86qzbYgHs7KvooLG9dYRFwmOXhWYwuSMD0KHRgzNrjR6mnSdcJQ2-ZjZICKig') !important;
}

.bank-icon-sm.raast {
    background-image: url('https://crystalpng.com/wp-content/uploads/2025/09/Raast-Logo-300x300.png') !important;
}


/* Copy Field Styling */
.copy-field {
    background: rgba(255, 215, 0, 0.08);
    border: 1px dashed rgba(255, 215, 0, 0.4);
    border-radius: 12px;
    padding: 12px;
    margin: 12px 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: 0.2s;
}

.copy-field:active {
    transform: scale(0.97);
    background: rgba(255, 215, 0, 0.15);
}

.acc-title {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* --- Fee Box for Withdraw --- */
.fee-info-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
}

.fee-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.fee-row.total {
    border-top: 1px solid var(--border-light);
    padding-top: 10px;
    margin-top: 10px;
    color: var(--text-light);
    font-weight: 700;
    font-size: 15px;
}

/* Hidden Utility */
.hidden {
    display: none !important;
}




/* ===== INPUTS ===== */

.input-group {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.input-group input {
    background: none;
    border: none;
    outline: none;
    color: #fff;
    width: 100%;
}

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

.btn-primary {
    width: 100%;
    padding: 16px;
    background: var(--gold-gradient);
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
}

.btn-text {
    background: none;
    border: none;
    color: #94a3b8;
    margin-top: 10px;
    width: 100%;
    cursor: pointer;
}

/* ===== UPLOAD ===== */

.premium-upload {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    margin-bottom: 15px;
}

.premium-upload label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.premium-upload i {
    font-size: 30px;
    color: var(--primary-gold);
}

/* ===== BOTTOM NAV ===== */

.bottom-nav {
    position: fixed;
    bottom: 25px;
    left: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    display: flex;
    justify-content: space-around;
    padding: 14px;
    border: 1px solid var(--border-light);
}

.nav-item {
    text-decoration: none;
    color: #64748b;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
}

.nav-item i {
    font-size: 22px;
}

.nav-item.active {
    color: var(--primary-gold);
}

/* ===== ANIMATIONS ===== */

@keyframes pulseRed {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .5
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.hidden {
    display: none !important;
}


.countdown-container {
    margin: 50px 0 !important;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    position: relative;
    z-index: 10;
}

#timer-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-gold);
    margin-bottom: 8px;
    font-weight: 800;
}

.timer-digits {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.t-unit {
    display: flex;
    flex-direction: column;
}

.t-unit span {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
}

.t-unit small {
    font-size: 9px;
    color: #94a3b8;
    text-transform: uppercase;
}

/* ===== GLASS CARD (MODAL BODY) ===== */

.glass-card {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ===== STEP LABEL ===== */

.step-label {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 10px;
}

/* ===== BANK DETAILS BOX ===== */

.bank-details-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 15px;
    text-align: center;
}

.bank-details-box.premium {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* ===== SMALL BANK ICON ===== */

.bank-icon-sm {
    width: 42px;
    height: 42px;
    margin: 0 auto 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-gold);
}

/* ===== COPY FIELD ===== */

.copy-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #020617;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 10px 12px;
    margin-top: 6px;
    cursor: pointer;
    font-weight: 700;
}

.copy-field i {
    color: #94a3b8;
}

.acc-title {
    font-size: 12px;
    margin-top: 6px;
    color: #94a3b8;
}

/* ===== BANK LOGO SIZES ===== */

.bank-logo-main {
    width: 70px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 6px;
}

.bank-logo-mini {
    width: 55px;
    height: 35px;
    object-fit: contain;
}

/* ===== FEE BOX ===== */

.fee-info-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
    color: #94a3b8;
}

.fee-row.total {
    font-weight: 800;
    color: #fff;
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 6px;
}


/* Custom Styling for the Bank Select Dropdown */
.premium-select {
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    font-size: 15px;
    outline: none;
    cursor: pointer;
    appearance: none;
    /* Default arrow hata di */
    padding-right: 20px;
}

/* Dropdown ke andar ke options (Dark mode friendly) */
.premium-select option {
    background: #1e293b;
    color: #fff;
}

/* Dropdown arrow fix */
.input-group:has(.premium-select) {
    position: relative;
}

.input-group:has(.premium-select)::after {
    content: "\F282";
    /* Bootstrap icon code for chevron-down */
    font-family: "bootstrap-icons";
    position: absolute;
    right: 15px;
    color: var(--primary-gold);
    pointer-events: none;
}

/* ===== SECTIONS ===== */

.pool-section {
    margin-top: 10px;
}

.history-section {
    margin-top: 10px;
}

/* ===== TIMER BOX ===== */

.timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== MODAL MOBILE FIX ===== */

@media(max-width:480px) {

    .modal-content {
        max-width: 100%;
    }

    .savings-card h1 {
        font-size: 30px;
    }

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

}

/* ===== HOVER EFFECTS ===== */

.pay-kameti-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.action-btn:hover {
    transform: translateY(-3px);
}


/* Custom Dropdown Styling */
.custom-dropdown {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.dropdown-selected {
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.dropdown-selected:hover {
    border-color: var(--primary-gold);
}

.selected-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gold-icon {
    color: var(--primary-gold);
    font-size: 1.1rem;
}

.dropdown-content {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #111827;
    /* Dark background */
    border: 1px solid var(--primary-gold);
    border-radius: 14px;
    z-index: 1000;
    max-height: 280px;
    overflow-y: auto;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.search-box {
    position: sticky;
    top: 0;
    background: #1f2937;
    padding: 12px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
}

.search-box input {
    background: transparent;
    border: none;
    color: white;
    margin-left: 10px;
    width: 100%;
    outline: none;
    font-size: 14px;
}

.option-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.option-item:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-gold);
}

.option-group-label {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 15px;
    font-size: 11px;
    color: #94a3b8;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hidden {
    display: none !important;
}


.dash-footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-light);
    padding: 40px 20px 100px;
    /* 100px bottom padding taake bottom-nav se na takraye */
    margin-top: 10px;
    text-align: center;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.footer-brand span span {
    color: var(--primary-gold);
}

.footer-tagline {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 25px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    transition: 0.3s;
}

.footer-social a:hover {
    background: var(--primary-gold);
    color: black;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 5px;
}

.dev-credit i {
    color: #ff4d4d;
    font-size: 0.7rem;
}


.quick-nav-row {
    margin-top: -10px; /* Countdown ke kareeb rakhnay ke liye */
    margin-bottom: 20px;
}

.quick-nav-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.1);
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 15px;
}

.quick-nav-card:active {
    transform: scale(0.98);
    background: rgba(255, 215, 0, 0.05);
}

.turns-card .q-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #FFD700 0%, #b8860b 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.q-text {
    flex-grow: 1;
}

.q-text h4 {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.q-text p {
    margin: 2px 0 0;
    color: #94a3b8;
    font-size: 11px;
}

.arrow-icon {
    color: #4b5563;
    font-size: 18px;
}

/* Gold glow effect for the card */
.turns-card {
    position: relative;
    overflow: hidden;
}

.turns-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.05), transparent);
    transition: 0.5s;
}

.turns-card:hover::after {
    left: 100%;
}
