/* ===== DEPOSIT MODAL STYLES ===== */
/* Deposit/Withdraw Tab Buttons */
.wallet-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 10px;
}

.wallet-modal__tab-group {
    display: flex;
    gap: 10px;
    flex: 1;
    width: 100%;
}

.wallet-modal__tab {
    flex: 1;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.08) 0%, rgba(128, 128, 128, 0.04) 100%);
    border: 1px solid rgba(128, 128, 128, 0.2);
    outline: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wallet-modal__tab:hover:not(.wallet-modal__tab--active) {
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.12) 0%, rgba(128, 128, 128, 0.06) 100%);
    border-color: rgba(128, 128, 128, 0.35);
    color: rgba(255, 255, 255, 0.85);
}

.wallet-modal__tab--active {
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.25) 0%, rgba(128, 128, 128, 0.12) 100%);
    color: #a0a0a0;
    border-color: rgba(128, 128, 128, 0.5);
    box-shadow: 0 4px 16px rgba(128, 128, 128, 0.2);
}

.wallet-modal__tab--active:hover {
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.3) 0%, rgba(128, 128, 128, 0.15) 100%);
    border-color: rgba(128, 128, 128, 0.65);
}

.wallet-modal__tab svg {
    display: inline;
    width: 16px;
    height: 16px;
}

/* Deposit Modal Close Button */
.wallet-modal__close {
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.08) 0%, rgba(128, 128, 128, 0.04) 100%);
    border: 1px solid rgba(128, 128, 128, 0.2);
    color: rgba(255, 255, 255, 0.75);
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    flex-shrink: 0;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wallet-modal__close:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.95);
}

.wallet-modal__close:active {
    transform: none;
}

/* Deposit/Withdraw Action Buttons */
.wallet-modal__button {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(74, 222, 128, 0.08) 100%);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 12px;
    color: #4ade80;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.08);
}

.wallet-modal__button:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.25) 0%, rgba(74, 222, 128, 0.15) 100%);
    border-color: rgba(74, 222, 128, 0.5);
    transform: none;
    box-shadow: 0 8px 20px rgba(74, 222, 128, 0.15);
}

.wallet-modal__button:active:not(:disabled) {
    transform: none;
    box-shadow: 0 2px 8px rgba(74, 222, 128, 0.1);
}

.wallet-modal__button--withdraw {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(251, 191, 36, 0.08) 100%);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.08);
}

.wallet-modal__button--withdraw:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.25) 0%, rgba(251, 191, 36, 0.15) 100%);
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.15);
}

.wallet-modal__button:disabled {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.25);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Balance Display in Deposit Modal */
.wallet-modal__balance-display {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(74, 222, 128, 0.08) 100%);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(74, 222, 128, 0.1);
}

.wallet-modal__balance-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wallet-modal__balance-value {
    font-size: 22px;
    font-weight: 800;
    color: #4ade80;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.02em;
}

/* Info Box in Deposit Modal */
.wallet-modal__info-box {
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.08) 0%, rgba(128, 128, 128, 0.03) 100%);
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    display: flex;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.6;
}

.wallet-modal__info-box svg {
    color: rgba(128, 128, 128, 0.75);
    min-width: 16px;
    margin-top: 2px;
}

/* Method Cards for Deposit and Giftcard */
.wallet-modal__method-card {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(74, 222, 128, 0.05) 100%);
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.wallet-modal__method-card:hover {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(74, 222, 128, 0.08) 100%);
    border-color: rgba(74, 222, 128, 0.4);
    box-shadow: 0 8px 24px rgba(74, 222, 128, 0.1);
}

.wallet-modal__method-card--secondary {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
    border-color: rgba(168, 85, 247, 0.25);
}

.wallet-modal__method-card--secondary:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(168, 85, 247, 0.08) 100%);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.1);
}

.wallet-modal__method-card--withdraw {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(74, 222, 128, 0.05) 100%);
    border-color: rgba(74, 222, 128, 0.25);
}

.wallet-modal__method-card--withdraw:hover {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(74, 222, 128, 0.08) 100%);
    border-color: rgba(74, 222, 128, 0.4);
    box-shadow: 0 8px 24px rgba(74, 222, 128, 0.1);
}

/* Method Header with Icon and Title */
.wallet-modal__method-header {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.wallet-modal__method-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.wallet-modal__method-icon--deposit {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.2) 0%, rgba(74, 222, 128, 0.1) 100%);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.wallet-modal__method-icon--giftcard {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(168, 85, 247, 0.1) 100%);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.wallet-modal__method-icon--withdraw {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.2) 0%, rgba(74, 222, 128, 0.1) 100%);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.wallet-modal__method-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
    letter-spacing: 0.02em;
}

.wallet-modal__method-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* Input Label and Hint */
.wallet-modal__input-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.wallet-modal__label-text {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.wallet-modal__label-hint {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

/* Enhanced Input Styling */
.wallet-modal__input--primary {
    background: rgba(74, 222, 128, 0.08) !important;
    border: 1px solid rgba(74, 222, 128, 0.3) !important;
}

.wallet-modal__input--primary:focus {
    border-color: rgba(74, 222, 128, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1) !important;
}

.wallet-modal__input--secondary {
    background: rgba(168, 85, 247, 0.08) !important;
    border: 1px solid rgba(168, 85, 247, 0.3) !important;
}

.wallet-modal__input--secondary:focus {
    border-color: rgba(168, 85, 247, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1) !important;
}

.wallet-modal__input--withdraw {
    background: rgba(251, 191, 36, 0.08) !important;
    border: 1px solid rgba(251, 191, 36, 0.3) !important;
}

.wallet-modal__input--withdraw:focus {
    border-color: rgba(251, 191, 36, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1) !important;
}


/* Mobile responsive for deposit modal */
@media (max-width: 600px) {
    .wallet-modal__header {
        gap: 8px;
        margin-bottom: 12px;
    }

    .wallet-modal__tab {
        padding: 12px 14px;
        font-size: 12px;
        border-radius: 8px;
    }

    .wallet-modal__close {
        width: 36px;
        height: 36px;
        font-size: 18px;
        border-radius: 8px;
    }

    .wallet-modal__balance-display {
        padding: 14px 16px;
        margin-bottom: 20px;
    }

    .wallet-modal__balance-value {
        font-size: 19px;
    }
}

@media (max-width: 480px) {
    .wallet-modal__header {
        gap: 6px;
        margin-bottom: 20px;
    }

    .wallet-modal__tab {
        padding: 10px 12px;
        font-size: 11px;
        border-radius: 6px;
        gap: 4px;
    }

    .wallet-modal__tab svg {
        width: 14px;
        height: 14px;
    }

    .wallet-modal__close {
        width: 32px;
        height: 32px;
        font-size: 16px;
        border-radius: 6px;
    }

    .wallet-modal__balance-display {
        padding: 12px 14px;
        margin-bottom: 18px;
    }

    .wallet-modal__balance-value {
        font-size: 18px;
    }

    .wallet-modal__button {
        padding: 14px 20px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .wallet-modal__tab {
        padding: 8px 8px;
        font-size: 10px;
        min-width: 0;
    }

    .wallet-modal__close {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }
}

/* ===== TOP BAR DEPOSIT/WITHDRAW BUTTONS ===== */
/* Top bar Deposit/Withdraw buttons next to balance */
#topLeftCorner .wallet-action-btn {
    height: 40px;
    padding: 0 14px;
    font-size: 13px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

.wallet-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: center;
}

.wallet-action-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(26, 26, 46, 0.95);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wallet-action-btn.deposit-btn {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(74, 222, 128, 0.08) 100%);
    border-color: rgba(74, 222, 128, 0.4);
    color: #4ade80;
    font-weight: 700;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.wallet-action-btn.deposit-btn:hover {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.25) 0%, rgba(74, 222, 128, 0.15) 100%);
    border-color: rgba(74, 222, 128, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(74, 222, 128, 0.2);
}

.wallet-action-btn.withdraw-btn {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(251, 191, 36, 0.08) 100%);
    border-color: rgba(251, 191, 36, 0.4);
    color: #fbbf24;
    font-weight: 700;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.wallet-action-btn.withdraw-btn:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.25) 0%, rgba(251, 191, 36, 0.15) 100%);
    border-color: rgba(251, 191, 36, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(251, 191, 36, 0.2);
}

/* Deposit icon/button styles (top-bar +) */
.deposit-icon {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(74, 222, 128, 0.08) 100%);
    border: 1px solid rgba(74, 222, 128, 0.4);
    backdrop-filter: blur(10px);
    color: #4ade80;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.08);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.deposit-icon:hover {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.25) 0%, rgba(74, 222, 128, 0.15) 100%);
    border-color: rgba(74, 222, 128, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 222, 128, 0.15);
}

.deposit-icon svg {
    display: block;
    width: 16px;
    height: 16px;
    margin: 0 auto;
}

/* Ensure the '+' inside the top-bar deposit button matches the green variant */
.wallet-action-btn.deposit-icon,
#depositButtonTopBar {
    color: #4ade80; /* green */
}

/* Giftcard Styles */
.wallet-modal__divider {
    border: none;
}

.wallet-modal__giftcard-section {
    margin-top: 16px;
}

.wallet-modal__button--secondary {
    background: linear-gradient(135deg, rgba(100, 100, 255, 0.15) 0%, rgba(100, 100, 255, 0.08) 100%);
    border: 1px solid rgba(100, 100, 255, 0.3);
    color: #6366f1;
    padding: 12px 20px;
    font-size: 14px;
    width: auto;
}

.wallet-modal__button--secondary:hover {
    background: linear-gradient(135deg, rgba(100, 100, 255, 0.25) 0%, rgba(100, 100, 255, 0.12) 100%);
    border-color: rgba(100, 100, 255, 0.5);
}

.wallet-modal__success {
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.08) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    color: #4ade80;
    font-size: 14px;
    margin-top: 12px;
}

.wallet-modal__success.is-hidden {
    display: none;
}


