/* ================================
   1. ESTILOS GENERALES
   ================================ */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    background: #f6f6f6;
    color: #222;
    line-height: 1.5;
}

.center {
    text-align: center;
}

a {
    text-decoration: none;
}
/*================================
 3. TABLAS RESPONSIVAS 
================================ */

.tabla-responsive {
    width: 100% !important;
    max-width: 1000px;   /* ancho máximo recomendado */
    margin-left: auto;
    margin-right: auto;  /* <-- CENTRA LA TABLA */
    
    border-collapse: collapse;
    overflow-x: auto;
    display: block;
}


.tabla-responsive td,
.tabla-responsive th {
    padding: 8px;
}
.mensajeFechas {
	font-family: "Open Sans","Inter", sans-serif;
	color: #000;
	font-size: 18px;
	line-height: 1.4; /*subir a 1.6, 1.8 o 2*/
}
.contacto {
	font-family: "Open Sans","Inter", sans-serif;
	color: #000;
	font-size: 16px;
	line-height: 1.4; /*subir a 1.6, 1.8 o 2*/
}
/*.seccionEncabezado{
	height: 40px;
}*/
.site-subtitle { margin:4px 0 0; font-size:18px; opacity:0.95; color: #fff; }
.seccionEncabezado {
    padding: 12px;
    font-size: 1.3rem;
    color: #003366;
    font-weight: 600;
    background: #DBA535;
}
.avisoFechas {
    font-family: "Inter", "Open Sans", sans-serif;
    color: #FF0000;
    font-size: 18px;
    line-height: 1.4; /*subir a 1.6, 1.8 o 2*/
 }
/* Contenedor general */
.header-wrapper {
    width: 100%;
    background: #002B55; /* azul institucional UNAM */
    padding: 20px 0;
}

/* Contenido del encabezado */
.header {
    max-width: 1100px;
    margin: auto;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 10px;
}

/* Área de logos */
.header-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* Tamaños responsivos de los logos */
.logo.pequeño {
    width: 100px;
    height: auto;
}
.logo.unam {
    width: 110px;
    height: auto;
}

.logo.grande {
    width: 300px;
    height: auto;
}

/* Título centrado */
.titulo-encabezado {
    color: white;
    font-size: 36px;
    font-family: Arial, Helvetica, sans-serif;
    margin: 5px 0 0;
    font-weight: bold;
}

/* Contenedor en una sola línea centrado */
.enlaces-linea {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px; /* Separación entre enlaces */
    flex-wrap: wrap; /* Para que en pantallas pequeñas no se rompa */
    margin: 30px 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}
/* Línea vertical entre los elementos */
.enlaces-linea > * {
    position: relative;
    padding: 0 10px; /* espacio a los lados para que no peguen con la línea */
}

.enlaces-linea > *:not(:first-child)::before {
    content: "";
    position: absolute;
    left: -12px;      /* mueve la línea entre elementos */
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #cccccc; /* color de la línea */
    opacity: 0.7;
}
/* Estilo de enlaces simples */
.enlace-normal {
    color: #003366;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: 0.25s;
}

.enlace-normal:hover {
    color: #001e40;
    text-decoration: underline;
}

/* Enlace destacado */
.enlace-destacado {
    background: linear-gradient(to right, #003a74, #002d57);
    color: white !important;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.enlace-destacado:hover {
    background: linear-gradient(to right, #002e5d, #001c38);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}
/* Enlace destacado elegante */
.enlace-destacado.elegancia {
    /*display: inline-block; */
    background: linear-gradient(to right, #003a74, #002d57);
    color: white !important;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    margin: 25px 0;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.20);
    transition: 0.3s ease;
}

.enlace-destacado.elegancia:hover {
    background: linear-gradient(to right, #002e5d, #001c38);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.30);
}
.enlace-destacado-verde {
    display: inline-block;
    background: linear-gradient(to right, #1b5e20, #0d3d14); /* Verde profundo elegante */
    color: white !important;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.4px;
    transition: 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.20);
}

.enlace-destacado-verde:hover {
    background: linear-gradient(to right, #144a19, #07280d); /* Más oscuro al hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.28);
}
/* Botón */
.btn-actualizar {
    background-color: #b79d33;
    color: #1f1f1f;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: 0.25s;
}

.btn-actualizar:hover {
    background-color: #9a842b;
    transform: translateY(-2px);
}
/* Contenedor centrado y responsivo */
.botonera {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin: 30px 0;
}

/* Botones estilo UNAM elegante */
.btn-opcion {
    background-color: #002B55;      /* Azul UNAM sobrio */
    color: white;
    padding: 12px 22px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    min-width: 180px;
    transition: 0.35s ease;
    letter-spacing: 0.4px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}

/* Hover en dorado elegante */
.btn-opcion:hover {
    background-color: #C6A338;      /* Dorado UNAM */
    color: #1f1f1f;                 /* Texto oscuro para mejor contraste */
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.23);
}

/* Pantallas pequeñas */
@media (max-width: 600px) {
    .btn-opcion {
        min-width: 100%;
    }

    .titulo-encabezado {
        font-size: 1.6rem;
    }

    .seccionEncabezado {
        font-size: 1.1rem;
    }
    .logo.pequeño {
        width: 60px;
    }
    .logo.unam {
        width: 70px;
    }
    .logo.grande {
        width: 220px;
    }
    .mensajeFechas {
        font-size: 0.95rem;
    }

    .enlaces-linea a {
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 768px) {
    .titulo-encabezado {
        flex: 0 1 auto;
        margin: 0;
        font-size: 2.2rem;
    }
}



