/* reuniones.css */

/* --- RESET Y ESTILOS GLOBALES --- */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f7f9fa;
    color: #333333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

#container {
    max-width: 600px;
    margin: 30px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

h1 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.8rem;
    color: #005a87;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: normal;
}

h4 {
    font-size: 1rem;
    color: #5c6b73;
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: normal;
}

/* --- TARJETA DE REUNIÓN PREMIUM --- */
.meeting-box {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.meeting-box strong.group-name {
    display: block;
    font-size: 1.3rem;
    color: #005a87;
    margin-bottom: 15px;
    border-bottom: 2px solid #f1f6f9;
    padding-bottom: 10px;
}

/* Filas organizadas de información */
.info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: #444444;
}

.info-row:last-of-type {
    margin-bottom: 0;
}

.info-row i {
    color: #005a87;
    margin-top: 3px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.info-row span strong {
    color: #111111;
}

/* --- BOTONES DE ACCIÓN OPTIMIZADOS PARA CELULARES --- */
.meeting-links {
    display: flex;
    flex-direction: column; /* Apilados por defecto en celulares */
    gap: 12px;
    margin-top: 24px;
}

/* Distribución horizontal automática en pantallas medianas/grandes */
@media(min-width: 480px) {
    .meeting-links {
        flex-direction: row;
    }
    .meeting-links a {
        flex: 1;
    }
}

.meeting-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px; /* Tap target óptimo para dedos */
    color: white !important;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.2s ease, transform 0.1s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.meeting-links a:active {
    transform: scale(0.98);
}

.btn-maps {
    background-color: #005a87;
}
.btn-maps:hover { background-color: #003b5c; }

.btn-whatsapp {
    background-color: #2e8540;
}
.btn-whatsapp:hover { background-color: #226330; }

/* --- CAROUSEL INFERIOR DE NAVEGACIÓN --- */
.navigation-container {
    background-color: #ffffff;
    border-top: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
    padding: 25px 0;
    margin-top: 50px;
}

.navigation-container h4 {
    text-align: center;
    color: #005a87;
    margin-top: 0;
    margin-bottom: 15px;
    font-family: Georgia, serif;
    font-weight: normal;
    font-size: 1.1rem;
    text-transform: none;
    letter-spacing: normal;
}

.scrolling-navigation {
    overflow-x: auto;
    white-space: nowrap;
    padding: 5px 15px;
    -webkit-overflow-scrolling: touch;
}

.scrolling-navigation::-webkit-scrollbar {
    height: 5px;
}

.scrolling-navigation::-webkit-scrollbar-thumb {
    background-color: #dddddd;
    border-radius: 4px;
}

.scrolling-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 12px;
}

.scrolling-navigation ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f1f6f9;
    color: #005a87;
    padding: 10px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    border: 1px solid #dcdcdc;
    transition: all 0.2s;
}

.scrolling-navigation ul li a:hover {
    background-color: #005a87;
    color: #ffffff;
}