/* Modal */
#src-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.src-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
}

.src-box {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.src-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

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

.src-box h2 {
    margin: 0 0 10px;
    font-size: 24px;
    text-align: center;
    color: #2c3e50;
}

.src-box p {
    margin: 0 0 25px;
    text-align: center;
    color: #7f8c8d;
}

#src-form input[type="email"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

#src-form input[type="email"]:focus {
    outline: none;
    border-color: #667eea;
}

/* Estilo reCAPTCHA */
.src-captcha {
    margin-bottom: 20px;
}

.src-captcha-box {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #d3d9e0;
    border-radius: 6px;
    cursor: pointer;
    background: #f9fafb;
    transition: all 0.3s;
    user-select: none;
}

.src-captcha-box:hover {
    border-color: #667eea;
    background: white;
}

.src-captcha-box input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.src-checkmark {
    position: relative;
    width: 28px;
    height: 28px;
    border: 2px solid #d3d9e0;
    border-radius: 4px;
    background: white;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.src-captcha-box:hover .src-checkmark {
    border-color: #667eea;
}

.src-captcha-box input[type="checkbox"]:checked ~ .src-checkmark {
    background: #667eea;
    border-color: #667eea;
}

.src-captcha-box input[type="checkbox"]:checked ~ .src-checkmark:after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.src-captcha-text {
    font-size: 15px;
    color: #2c3e50;
    font-weight: 500;
}

.src-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.src-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.src-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Botones de reserva */
.src-trigger {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.src-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

/* Estilos adicionales para botones personalizados */
.btn-reserva-verde {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
}

.btn-reserva-rojo {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.btn-reserva-naranja {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%) !important;
}

/* Responsive */
@media (max-width: 600px) {
    .src-box {
        padding: 30px 20px;
        width: 95%;
    }
    
    .src-trigger {
        padding: 12px 30px;
        font-size: 16px;
    }
}

body.src-modal-open {
    overflow: hidden;
}

/* Mensaje de error */
.src-error-msg {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
    border-left: 4px solid #f5c6cb;
    display: none;
    animation: slideDown 0.3s ease;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
