/* Estilos para el shortcode Contratar Reserveo */

.contratar-reserveo-container {
    max-width: 1280px;
    margin: 49px auto 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.contratar-reserveo-box {
    background: #ffffff;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.contratar-reserveo-box:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.contratar-reserveo-header {
    text-align: center;
    margin-bottom: 30px;
}

.contratar-reserveo-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.contratar-reserveo-header p {
    font-size: 16px;
    color: #7f8c8d;
    margin: 0;
}

.contratar-reserveo-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.contratar-reserveo-button-container {
    flex: 1;
}

.contratar-reserveo-separator {
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #e1e5e9, transparent);
    position: relative;
}

.contratar-reserveo-separator::before {
    content: 'O';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    color: #95a5a6;
    font-weight: bold;
    font-size: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e1e5e9;
}

.contratar-reserveo-btn {
    width: 100%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 20px 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-height: 80px;
}

.contratar-reserveo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
}

.contratar-reserveo-btn-phone {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.contratar-reserveo-btn-phone:hover {
    background: linear-gradient(135deg, #229954, #1e7e34);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
}

.btn-icon {
    font-size: 24px;
    display: block;
}

.btn-text {
    font-size: 14px;
    text-align: center;
    line-height: 1.2;
}

/* Modal */
.contratar-reserveo-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.contratar-reserveo-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

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

.contratar-reserveo-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.contratar-reserveo-close:hover {
    color: #000;
}

.contratar-reserveo-modal-content h3 {
    color: #2c3e50;
    margin-top: 0;
    font-size: 22px;
    font-weight: 600;
}

.contratar-reserveo-modal-content p {
    color: #7f8c8d;
    margin-bottom: 25px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn-enviar,
.btn-cancelar {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-enviar {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
}

.btn-enviar:hover {
    background: linear-gradient(135deg, #229954, #1e7e34);
    transform: translateY(-1px);
}

.btn-cancelar {
    background: #95a5a6;
    color: white;
}

.btn-cancelar:hover {
    background: #7f8c8d;
    transform: translateY(-1px);
}

.mensaje-respuesta {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    font-weight: 500;
}

.mensaje-respuesta.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mensaje-respuesta.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .contratar-reserveo-btn {
        transition: none !important;
    }
    .contratar-reserveo-btn:hover,
    .contratar-reserveo-btn:active {
        box-shadow: none !important;
        background: linear-gradient(135deg, #3498db, #2980b9) !important;
        transform: none !important;
    }
    .btn-icon {
        font-size: 28px !important;
        display: block !important;
            color: #fff !important;
        opacity: 1 !important;
            visibility: visible !important;
            position: static !important;
            z-index: 1 !important;
            margin: 0 auto 8px auto !important;
    }
        .contratar-reserveo-btn {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
        }
        .contratar-reserveo-btn:active .btn-icon {
            color: #fff !important;
        }
    .contratar-reserveo-container {
        margin: 49px 2px 20px 2px;
    }
    
    .contratar-reserveo-box {
        padding: 20px;
    }
    
    .contratar-reserveo-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .contratar-reserveo-separator {
        width: 80px;
        height: 2px;
        background: linear-gradient(to right, transparent, #e1e5e9, transparent);
        align-self: center;
    }
    
    .contratar-reserveo-separator::before {
        left: 50%;
        top: 50%;
    }
    
    .contratar-reserveo-modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .form-buttons {
        flex-direction: column;
    }
}
