/* Estilos para el selector de sede - Primera visita */

/* Overlay principal */
.sede-selector-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sede-selector-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal principal */
.sede-selector-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    background: #fff;
    border-radius: 20px;
    padding: 0;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

.sede-selector-overlay.active .sede-selector-modal {
    transform: translate(-50%, -50%) scale(1);
}

/* Header del modal */
.sede-selector-header {
    background: #2b4eff;
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.sede-selector-header h2 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

.sede-selector-header p {
    margin: 15px 0 0 0;
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 400;
}

/* Nota informativa */
.visit-note {
    background: #ffffff;
    border-radius: 8px;
    padding: 12px 20px;
    margin: 20px auto 0;
    display: inline-flex;
    align-items: center;
    border: none;
    max-width: 350px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.visit-note i {
    margin-right: 10px;
    font-size: 1rem;
    color: #2b4eff;
}

.visit-note span {
    color: #333333;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Botón de cierre */
.sede-selector-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.sede-selector-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Contenedor de opciones */
.sede-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 0;
    padding: 0;
}

/* Opciones de sede */
.sede-option {
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid #f0f0f0;
    background: #fff;
    margin: 10px;
    border-radius: 12px;
}

.sede-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #2b4eff;
}

.sede-option.medellin:hover {
    background: #2b4eff;
    color: white;
    border-color: #2b4eff;
}

.sede-option.medellin:hover .sede-name,
.sede-option.medellin:hover .sede-description,
.sede-option.medellin:hover .sede-features li {
    color: white;
}

.sede-option.medellin:hover .sede-features li i {
    color: white;
}

.sede-option.rionegro:hover {
    background: #30a820;
    color: white;
    border-color: #30a820;
}

.sede-option.rionegro:hover .sede-name,
.sede-option.rionegro:hover .sede-description,
.sede-option.rionegro:hover .sede-features li {
    color: white;
}

.sede-option.rionegro:hover .sede-features li i {
    color: white;
}

/* Iconos de sede */
.sede-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.sede-option.medellin .sede-icon {
    background: #2b4eff;
    color: white;
    box-shadow: 0 4px 15px rgba(43, 78, 255, 0.3);
}

.sede-option.rionegro .sede-icon {
    background: #30a820;
    color: white;
    box-shadow: 0 4px 15px rgba(48, 168, 32, 0.3);
}

.sede-option:hover .sede-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Títulos de sede */
.sede-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333333;
    transition: all 0.3s ease;
}

/* Descripciones */
.sede-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #666666;
    transition: all 0.3s ease;
}

/* Lista de características */
.sede-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.sede-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #555555;
    transition: all 0.3s ease;
}

.sede-features li i {
    margin-right: 10px;
    color: #30a820;
    font-size: 1rem;
}

/* Botones de selección */
.sede-select-btn {
    margin-top: 20px;
    padding: 14px 35px;
    border: 2px solid #2b4eff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    background: transparent;
    color: #2b4eff;
}

.sede-option.medellin .sede-select-btn {
    border-color: #2b4eff;
    color: #2b4eff;
}

.sede-option.rionegro .sede-select-btn {
    border-color: #30a820;
    color: #30a820;
}

.sede-option:hover .sede-select-btn {
    background: white;
    color: #333;
    transform: scale(1.02);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Responsive para tablets */
@media (max-width: 1024px) {
    .sede-selector-modal {
        width: 95%;
        max-width: 700px;
    }
    
    .sede-selector-header h2 {
        font-size: 2.2rem;
    }
    
    .sede-options {
        grid-template-columns: 1fr;
    }
    
    .sede-option {
        padding: 35px 25px;
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .sede-selector-modal {
        width: 95%;
        max-width: none;
        margin: 10px;
        border-radius: 15px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .sede-selector-header {
        padding: 25px 20px;
    }
    
    .sede-selector-header h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .sede-selector-header p {
        font-size: 1rem;
        margin: 8px 0 0 0;
    }
    
    .visit-note {
        margin: 12px auto 0;
        padding: 10px 15px;
        max-width: 300px;
    }
    
    .visit-note span {
        font-size: 0.85rem;
    }
    
    .sede-selector-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .sede-options {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .sede-option {
        padding: 25px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .sede-option:last-child {
        border-bottom: none;
    }
    
    .sede-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 15px;
        font-size: 2rem;
    }
    
    .sede-name {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .sede-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .sede-features {
        margin-bottom: 15px;
    }
    
    .sede-features li {
        padding: 6px 0;
        font-size: 0.85rem;
    }
    
    .sede-features li i {
        margin-right: 8px;
        font-size: 0.9rem;
    }
    
    .sede-select-btn {
        margin-top: 15px;
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Responsive para móviles pequeños */
@media (max-width: 480px) {
    .sede-selector-modal {
        width: 98%;
        margin: 5px;
        border-radius: 12px;
        max-height: 95vh;
    }
    
    .sede-selector-header {
        padding: 20px 15px;
    }
    
    .sede-selector-header h2 {
        font-size: 1.6rem;
    }
    
    .sede-selector-header p {
        font-size: 0.9rem;
    }
    
    .visit-note {
        padding: 8px 12px;
        max-width: 280px;
    }
    
    .visit-note span {
        font-size: 0.8rem;
    }
    
    .sede-selector-close {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .sede-option {
        padding: 20px 15px;
    }
    
    .sede-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 12px;
        font-size: 1.8rem;
    }
    
    .sede-name {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .sede-description {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .sede-features li {
        padding: 5px 0;
        font-size: 0.8rem;
    }
    
    .sede-features li i {
        margin-right: 6px;
        font-size: 0.85rem;
    }
    
    .sede-select-btn {
        margin-top: 12px;
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

/* Responsive para móviles muy pequeños */
@media (max-width: 360px) {
    .sede-selector-modal {
        width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .sede-selector-header {
        padding: 18px 12px;
    }
    
    .sede-selector-header h2 {
        font-size: 1.4rem;
    }
    
    .sede-selector-header p {
        font-size: 0.85rem;
    }
    
    .visit-note {
        padding: 6px 10px;
        max-width: 250px;
    }
    
    .visit-note span {
        font-size: 0.75rem;
    }
    
    .sede-option {
        padding: 18px 12px;
    }
    
    .sede-icon {
        width: 45px;
        height: 45px;
        margin: 0 auto 10px;
        font-size: 1.6rem;
    }
    
    .sede-name {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .sede-description {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .sede-features li {
        padding: 4px 0;
        font-size: 0.75rem;
    }
    
    .sede-select-btn {
        margin-top: 10px;
        padding: 7px 18px;
        font-size: 0.8rem;
    }
}
