/**
 * horizontes-components.css - Estilos específicos para los componentes de la página Horizontes
 * 
 * Este archivo contiene los estilos para los componentes interactivos de la página Horizontes,
 * como modales, retroalimentación de reservas y otros elementos visuales específicos.
 */

/* Estilos para los efectos de resaltado de botones */
.highlight-button {
    animation: pulse 1s 3;
    box-shadow: 0 0 15px 5px rgba(255, 105, 180, 0.7);
}

@keyframes pulse {
    0% { box-shadow: 0 0 5px 2px rgba(255, 105, 180, 0.7); }
    50% { box-shadow: 0 0 20px 10px rgba(255, 105, 180, 0.9); }
    100% { box-shadow: 0 0 5px 2px rgba(255, 105, 180, 0.7); }
}

/* Animación de spinner para carga */
.loading-spinner {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

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

/* Modal de retroalimentación para reservas */
.reservation-feedback-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
}

.reservation-feedback-content {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.8), rgba(255, 20, 147, 0.8));
    border-radius: 15px;
    padding: 25px;
    max-width: 90%;
    width: 400px;
    text-align: center;
    color: white;
    box-shadow: 0 0 30px rgba(255, 105, 180, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.success-icon {
    font-size: 40px;
    height: 70px;
    width: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #fff;
}

.reservation-feedback-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.reservation-feedback-content p {
    margin-bottom: 15px;
}

.reservation-info {
    font-size: 14px;
    opacity: 0.8;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin: 15px 0;
}

.close-feedback {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-feedback:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Estilo para botones en proceso */
.processing {
    opacity: 0.8;
    pointer-events: none;
}

/* Mejoras para los modales existentes */
#image-modal, #pricing-modal {
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #f1f1f1;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    background: rgba(255,255,255,0.2);
}
