/* Custom Recharge Dialog Styles */
.custom-recharge-popup {
    border-radius: 16px !important;
    overflow: visible !important;
}

.custom-recharge-popup .van-dialog__header {
    display: none !important;
}

.custom-recharge-popup .van-dialog__content {
    padding: 30px 20px !important;
    position: relative;
}

.custom-recharge-dialog {
    position: relative;
    text-align: center;
    padding: 20px 10px;
}

.dialog-close {
    position: absolute;
    top: -45px;
    right: -10px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: all 0.3s ease;
}

.dialog-close:hover {
    background: rgba(255, 255, 255, 1);
    color: #333;
    transform: scale(1.1);
}

.dialog-close:active {
    transform: scale(0.95);
}

.dialog-message {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 10px;
}

.custom-recharge-popup .van-dialog__footer {
    padding: 0 20px 20px !important;
}

.custom-recharge-popup .van-dialog__confirm {
    background: linear-gradient(90deg, #ff6b6b 0%, #ff5252 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    width: 100% !important;
    height: 44px !important;
    transition: all 0.3s ease;
}

.custom-recharge-popup .van-dialog__confirm:hover {
    background: linear-gradient(90deg, #ff5252 0%, #ff3838 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 82, 82, 0.4);
}

.custom-recharge-popup .van-dialog__confirm:active {
    transform: translateY(0);
}

.custom-recharge-popup .van-dialog__cancel {
    display: none !important;
}

/* Make sure overlay can be clicked to close */
.custom-recharge-popup + .van-overlay {
    cursor: pointer;
}

/* Animation */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.custom-recharge-popup {
    animation: slideInDown 0.3s ease-out;
}
