/* DodoPayments Client Styles */

/* Payment Container */
.dodopayments-payment-container {
    max-width: 400px;
    margin: 20px auto;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

/* Gateway Logo */
.gateway-logo {
    text-align: center;
    margin-bottom: 15px;
}

.gateway-logo img {
    max-width: 150px;
    height: auto;
}

/* Gateway Description */
.gateway-description {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Payment Amount Display */
.payment-amount-display {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid #e9ecef;
}

.payment-amount-display label {
    font-weight: 500;
    color: #495057;
    margin: 0;
}

.payment-amount-display .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

/* Pay Now Button */
.pay-now-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    width: 100%;
    color: #fff;
}

.pay-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #5a72e0 0%, #6a4190 100%);
    color: #fff;
}

.pay-now-btn:active {
    transform: translateY(0);
}

.pay-now-btn i {
    margin-right: 8px;
}

/* Secure Payment Notice */
.secure-payment-notice {
    text-align: center;
    margin-top: 15px;
    color: #27ae60;
}

.secure-payment-notice i {
    margin-right: 5px;
}

.secure-payment-notice small {
    font-size: 12px;
}

/* Success Page */
.success-container {
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: pulse 2s infinite;
}

.success-icon i {
    font-size: 50px;
    color: #fff;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(39, 174, 96, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
    }
}

/* Cancel Page */
.cancel-container {
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cancel-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.cancel-icon i {
    font-size: 50px;
    color: #fff;
}

/* Payment Info Box */
.payment-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.payment-info p {
    margin: 0;
    color: #555;
}

.payment-info code {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #7f8c8d;
}

/* Action Buttons */
.btn-success-custom {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border: none;
    color: #fff;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-success-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.4);
    color: #fff;
    text-decoration: none;
}

.btn-back {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    color: #fff;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin: 5px;
}

.btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.4);
    color: #fff;
    text-decoration: none;
}

.btn-retry {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border: none;
    color: #fff;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin: 5px;
}

.btn-retry:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.4);
    color: #fff;
    text-decoration: none;
}

/* Help Text */
.help-text {
    margin-top: 30px;
    color: #bdc3c7;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 576px) {
    .dodopayments-payment-container {
        padding: 20px;
        margin: 10px;
    }

    .payment-amount-display {
        flex-direction: column;
        text-align: center;
    }

    .payment-amount-display label {
        margin-bottom: 10px;
    }

    .success-container,
    .cancel-container {
        padding: 30px 20px;
    }
}