/* Razorpay Popup Modal Styles */
.raz-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.raz-modal-content {
    background: #ffffff;
    margin: 10% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: razSlideDown 0.4s ease-out;
}

@keyframes razSlideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.raz-close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.raz-close:hover {
    color: #333;
}

.raz-modal-header {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: white;
    padding: 30px 25px;
    text-align: center;
}

.raz-modal-header h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-family: 'Inter', sans-serif;
    color: white;
}

.raz-modal-header p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

#raz-registration-form {
    padding: 25px;
}

.raz-form-group {
    margin-bottom: 20px;
}

.raz-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #444;
}

.raz-form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.raz-form-group input:focus {
    border-color: #0d47a1;
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
    outline: none;
}

.raz-form-footer {
    margin-top: 30px;
}

#raz-submit-btn {
    width: 100%;
    background: #0d47a1;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

#raz-submit-btn:hover {
    background: #1565c0;
    transform: translateY(-1px);
}

#raz-submit-btn:active {
    transform: translateY(0);
}

#raz-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#raz-form-message {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

.raz-error { color: #d32f2f; }
.raz-success { color: #2e7d32; }

/* Trigger Button Default Style */
.raz-button {
    background: #0d47a1;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.raz-button:hover {
    background: #1565c0;
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.3);
}

/* Mobile Tweaks */
@media screen and (max-width: 480px) {
    .raz-modal-content {
        margin: 20% auto;
        width: 95%;
    }
}
