/* Top-Up Modal Styles */
.topup-modal {
    z-index: 500;
}

.topup-content {
    max-width: 420px;
    margin: 0 auto;
    background: linear-gradient(180deg, #1a1a24 0%, #12121a 100%);
    border-radius: 24px 24px 0 0;
}

/* Payment Method Tabs */
.topup-tabs {
    display: flex;
    gap: 8px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 32px;
}

.topup-tab {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: #888;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.topup-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.topup-tab.active {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.topup-tab i {
    font-size: 16px;
}

/* Amount Display */
.topup-amount-display {
    text-align: center;
    padding: 40px 0;
}

.amount-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
}

#topup-amount {
    font-size: 72px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.amount-currency {
    font-size: 24px;
    color: #666;
    font-weight: 600;
}

.amount-conversion {
    margin-top: 12px;
    font-size: 14px;
    color: #888;
}

.amount-conversion .highlight {
    color: #3b82f6;
    font-weight: 600;
}

/* Quick Amount Buttons */
.topup-quick-amounts {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.quick-amount-btn {
    flex: 1;
    padding: 14px 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-amount-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.quick-amount-btn:active {
    transform: scale(0.98);
}

.quick-amount-btn.selected {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Custom Amount Input */
.topup-custom-input {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.topup-custom-input input {
    flex: 1;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    outline: none;
    transition: all 0.2s ease;
}

.topup-custom-input input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.topup-custom-input input::placeholder {
    color: #666;
}

.custom-apply-btn {
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-apply-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Submit Button */
.topup-submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.topup-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.topup-submit-btn:active {
    transform: scale(0.98);
}

/* Header Add Button Styling */
.add-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: 8px;
}

.add-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.add-btn:active {
    transform: scale(0.95);
}