@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/*Fuente*/
* {
    font-family: 'Roboto', sans-serif;
    outline: none;
    margin: 0;
    padding: 0;
}

/**/
/* Estilo para el botón OK (Confirmación) */
.swal2-confirm {
    background-color: #09457b !important;
    border-color: #09457b !important;
    color: white !important;
}

.swal2-confirm:hover {
    background-color: #09457b !important;
    border-color: #09457b !important;
    color: white !important;
}

.swal2-cancel {
    background-color: #d9534f !important;
    border-color: #d9534f !important;
    color: white !important;
}

.swal2-cancel:hover {
    background-color: #c9302c !important;
    border-color: #c9302c !important;
    color: white !important;
}

#enviarRechazo {
    transition: 0.3s ease;
}

#enviarRechazo:hover {
    transform: scale(1.1);
}

#cancelarRechazo {
    transition: 0.3s ease;
}

#cancelarRechazo:hover {
    transform: scale(1.1);
}

/*General*/
.centrar-fila {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/*Fondo*/
.body-csgabrielimg {
    position: relative;
    background-image: url("../img/colegiosangabriel.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    z-index: -2;
}

.body-csgabrielimg::before {
    content: "";
    position: absolute;
    background-color: rgba(20, 36, 58, 0.75);
    width: 100%;
    height: 100vh;
    z-index: -1;
}


/*Titulo Login*/
.titulocsg-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -5%;
    flex-wrap: nowrap;
}

.logo {
    width: 9%;
}

.escudo {
    width: 15%;
}

.titulo {
    width: 25%;
}

/*Footer Login*/
.footer-login {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-jesuita {
    width: 12%;
    height: auto;
    margin: 0 10px;
}

.logo-ruei {
    width: 10%;
    height: auto;
    margin: 0 10px;
}

/*Inicio de sesión*/
.contedor-fila {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2%;
}

.contedor-fila button {
    background-color: #09457b;
    color: white;
    font-weight: bold;
    width: 44%;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 2%;
    cursor: pointer;
    transition: 0.3s;
}

.contedor-fila button:hover {
    background-color: #f8ae27;
    color: black;
    font-weight: bold;
}

.contedor-login {
    position: relative;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: clamp(250px, 30%, 400px);
    max-width: 20vw;
    box-sizing: border-box;
    z-index: 5;
}

.contedor-login img {
    width: 35%;
}

.contedor-login h2 {
    margin-top: 10px;
    color: #09457b;
    text-align: center;
}

.form_login {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contedor-login .form_login label {
    display: block;
    color: #09457b;
    font-weight: bold;
    margin-bottom: 5px;
}

.contedor-login .form_login input {
    display: block;
    width: 95%;
    background-color: #ededed;
    border: 2px solid #09457b;
    border-radius: 5px;
    padding: 1%;
    height: 20px;
}

.carrousel-ruei {
    display: flex;
    align-items: center;
    width: 50%;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.85);
    position: relative;
    justify-content: space-between;
    margin-bottom: 1%;
}

.carrousel-ruei img {
    width: 10%;
    height: auto;
}

.carrousel-ruei img:hover {
    transform: scale(1.1);
}

/*Menú Modulos*/
.header_menu {
    display: flex;
    color: #09457b;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    padding: 0 2%;
}

.subrayado {
    text-decoration: underline;
    text-decoration-color: #f8ae27;
    text-decoration-thickness: 3px;
}

.menu_modulos {
    display: flex;
    flex-wrap: wrap;
    width: 70%;
    gap: 40px;
    padding: 0;
    margin-top: 2%;
    margin-bottom: 2%;
    justify-content: center;
}

.modulo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 0;
    margin: 0;
    border-radius: 5px;
    transition: 0.3s;
    min-width: 265px;
}

.modulo:hover {
    transform: scale(1.1);
}

.modulo-icono {
    height: 150px;
    max-width: 100%;
    display: block;
    padding: 10%;
}

.modulo-enlace {
    text-decoration: none;
    color: white;
    font-weight: bold;
    background-color: #09457b;
    font-size: 16px;
    word-wrap: break-word;
    margin: 0;
    padding: 5px 10px;
    border-radius: 5px;
    transition: 0.3s;
}

.modulo-enlace:hover {
    background-color: #f8ae27;
    color: black;
}

.recuperar_contrasena {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: #09457b;
    margin-bottom: 1.5%;
}

.boton-salir {
    background-color: transparent;
    border: none;
    width: 4%;
    transition: 0.3s;
}

.boton-salir img {
    width: 40px;
    height: 40px;
}

.boton-salir:hover {
    cursor: pointer;
    transform: scale(1.1);
}

/*Menú Modulos Cabeceras*/
.titulo_archivos {
    position: relative;
    background-image: url("../img/colegiosangabriel.jpg");
    background-size: 100% auto;
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0;
    z-index: 0;
}

.titulo_archivos::before {
    content: "";
    position: absolute;
    background-color: rgba(20, 36, 58, 0.75);
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: -1;
}

.menu-container {
    --bg1: #09457b;
    --bg2: #0f5a9e;
    display: flex;
    align-items: center;
    gap: .75rem;
    position: relative;
    padding: 0 1rem;
    margin-bottom: 1%;
    padding-bottom: 1rem;
    color: #fff;
    background:
        radial-gradient(120% 70% at 50% -40%, rgba(255, 255, 255, .16) 0, rgba(255, 255, 255, 0) 60%),
        linear-gradient(180deg, rgba(255, 255, 255, .06) 0, rgba(255, 255, 255, 0) 40%),
        linear-gradient(135deg, var(--bg1), var(--bg2));
    height: 6vh;
    overflow: hidden;
    box-shadow: 0 18px 26px -18px rgba(0, 0, 0, .55), 0 10px 16px -14px rgba(0, 0, 0, .45);
}

@media (max-width: 768px) {
    .menu-container {
        flex-direction: column;
        padding-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .menu-container {
        height: auto;
        padding-bottom: 1rem;
        gap: 1rem;
    }
}

.centrar-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50px
}

.inicio-menu {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    text-decoration: none;
    color: white;
    background-color: #09457b;
    font-weight: bold;
    padding: 10px 15px;
}

.inicio-menu:hover {
    background-color: #f8ae27;
    color: black;
}

/*
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.menu-item {
    position: relative;
}

.menu-link {
    display: block;
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    background-color: #09457b;
}

.menu-link:hover {
    background-color: #f8ae27;
    color: black;
}

.submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid black;
    border-top: none;
    background-color: #fff;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 10;
    width: 200px;
}

.hidden {
    display: none;
}

.visible {
    display: block;
    border: 1px solid #f8ae27;
}

.submenu .menu-item {
    width: 100%;
}

.submenu .menu-link {
    padding: 8px 12px;
    border: 1px solid #f8ae27;
}

.menu-link.active {
    background-color: #f8ae27;
    color: black;
}
*/

/*Menu Búsqueda*/
.menu_busqueda {
    display: flex;
    gap: 10px;
    margin: 1%;
    align-items: center;
}

.menu_busqueda p {
    color: #09457b;
    font-weight: bold;
}

.menu_busqueda button {
    background-color: #09457b;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.menu_busqueda button:hover {
    background-color: #f8ae27;
    color: black;
    font-weight: bold;
}

.menu_busqueda select,
.menu_busqueda input {
    color: #667;
    background-color: #ededed;
    border: 2px solid #09457b;
    border-radius: 5px;
    padding: 10px;
    min-width: 210px;
    cursor: pointer;
}

.menu_busqueda select:hover,
.menu_busqueda input:hover {
    border: 2px solid #f8ae27;
}

.menu_busqueda select option {
    color: black;
}

.menu_busqueda select option:disabled {
    color: #667;
}



/*Grid y menú inferior*/
/*Grid*/
/*
.grid-wrapper {
    width: calc(100% - 20px);
    max-height: 65vh;
    overflow-x: auto;
    overflow-y: auto;
    scrollbar-color: #09457b #f1f1f1;
    scrollbar-width: inherit;
    margin-bottom: 70px;
}

.grid-container {
    display: grid;
    padding: 10px;
    border-radius: 5px;
}

.grid-row {
    display: contents;
    grid-template-columns: inherit;
}

.grid-header {
    font-weight: bold;
    background-color: #09457b !important;
    color: white;
    text-align: center;
    padding: 10px;
    border: 1px solid #ddd;
    user-select: none;
    font-size: 12px !important;
    transition: background-color 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 4;
}



.grid-row div {
    padding: 10px;
    border: 1px solid white;
    text-align: left;
    background-color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: visible;
    white-space: normal;
    font-size: 10px;
}

.grid-row .grid-header{
    text-align: center ;
}


.grid-row:nth-child(even) div {
    background-color: #f2f2f2;
}

.grid-row div:hover {
    background-color: #e7f3fe;
    cursor: pointer;
}

.grid-row.no-data {
    font-style: italic;
    text-align: center;
    color: #777;
}

.grid-row div:first-child {
    text-align: center;
    font-weight: bold;
    background-color: #f1f1f1;
}

.grid-cell-verde {
    background-color: green !important;
    color: white;
}

.grid-cell-amarillo {
    background-color: yellow !important;
}

.grid-cell-rojo {
    background-color: red !important;
}*/
/**/
.grid-table-container {
    margin: 10px;
    display: block;
    overflow-x: scroll;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.grid-table {
    width: auto;
    table-layout: fixed;
    border-collapse: collapse;
}

.grid-table th,
.grid-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.grid-table th {
    background-color: #09457b;
    color: white;
    cursor: pointer;
}

.grid-table tr:hover {
    background-color: #f1f1f1;
}

.grid-statusbar {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
    margin-top: 8px;
    margin-bottom: 100px;
}

.grid-statusbar b {
    color: #09457b;
}

.grid-progress-bar {
    width: 100%;
    background-color: #f3f3f3;
    border-radius: 5px;
    overflow: hidden;
}

.grid-progress-bar>div {
    height: 20px;
    width: 0;
    text-align: center;
    color: white;
    line-height: 20px;
    border-radius: 5px;
}

.grid-pagination-controls {
    text-align: center;
    margin-top: 15px;
}

.grid-pagination-controls button {
    padding: 6px 12px;
    margin: 0 10px;
    cursor: pointer;
}

.grid-table-header {
    position: -webkit-sticky;
    /* por si Safari */
    position: sticky !important;
    top: 0 !important;
    z-index: 2 !important;
    border-collapse: separate !important;
}


/*Menu Inferior*/
.grid-menu {
    width: 100vw;
    background-color: #09457b;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 10px;
    box-sizing: border-box;
    gap: 10px;
    z-index: 2;
}

.menu-button-icon {
    width: 40px;
    height: 40px;
}

.menu-button {
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    background-color: white;
    color: black;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.menu-button:hover {
    background-color: #f8ae27;
    transform: scale(1.1);
}


.progress-wrapper {
    width: 80%;
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
    background-color: #eee;
    border-radius: 5px;
    overflow: hidden;
    background-color: transparent !important;
    border: none !important;
}

.progress-bar {
    height: 100%;
    border-radius: 5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    /* Asegura que el texto sea legible */
}

.progress-text {
    font-size: 12px;
    font-weight: bold;
}

/*Menu Click Derecho*/
.context-menu {
    position: absolute;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

.context-menu-header {
    display: flex;
    justify-content: space-between;
    /* Espacia el título y la X */
    align-items: center;
    width: 100%;
    /* Asegura que ocupe todo el ancho del menú */
    margin-bottom: 10px;
}

.context-menu-title {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    flex-grow: 1;
    /* Permite que el título ocupe espacio sobrante */
    margin: 0;
    /* Asegura que no haya margen adicional */
}

.context-menu-close {
    font-size: 14px;
    font-weight: bold;
    color: red;
    cursor: pointer;
    padding: 0;
    margin: 0;
    width: fit-content;
    height: fit-content;
    line-height: 1;
}

.context-menu-close:hover {
    background-color: red;
    color: white;
}

.context-menu-item {
    padding: 5px 10px;
    cursor: pointer;
}

.context-menu-item:hover {
    background-color: #f0f0f0;
}

/*Context Menu 2*/
.new-context-menu {
    position: fixed;
    background: #fff;
    border: 1px solid #dcdcdc;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    width: 260px;
    overflow: hidden;
    z-index: 9999;
    animation: new-cm-pop 80ms ease-out;
}

@keyframes new-cm-pop {
    from {
        transform: scale(0.98);
        opacity: .85;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.new-context-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    background: #f7f7f8;
    border-bottom: 1px solid #eee;
    user-select: none;
}

.new-context-menu-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.new-context-menu-close {
    cursor: pointer;
}

.new-context-menu-item {
    padding: 10px 12px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.new-context-menu-item:hover {
    background: #f0f0f0;
}


/*Gráfico*/
/*
.chart-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(239, 237, 237);
    padding: 20px;
}
.chart-box {
    width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}
.chart-container {
    width: 700px;
    display: flex;
}
.small-column {
    width: 40px;
}
.large-column {
    max-width: 700px;
    overflow-x: scroll;
    white-space: nowrap;
}
.container {
    height: 400px;
    min-width: 100%;
}*/
/*
.charts {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;

}

.chart-wrapper {
    max-width: 97.4vw;
    min-height: 72.5vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(239, 237, 237);
    padding: 20px;
}

.chart-box {
    min-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.chart-container {
    width: 450px;
    display: flex;
}

.large-column {
    max-width: 450px;
    overflow-x: scroll;
    white-space: nowrap;
}

.container {
    height: 200px;
    min-width: 100%;
}

.user-box {
    min-width: 450px;
}
*/

.charts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.chart-wrapper {
    margin-top: 5px;
    width: 100%;
    max-width: 97.4vw;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    background-color: rgb(239, 237, 237);
    padding: 20px;
}

.chart-box {
    flex: 1 1 calc(33.33% - 20px);
    width: 100%;
    min-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

/* Ajusta el tamaño de los gráficos */
.chart-container {
    width: 100%;
    min-width: 450px;
    display: flex;
}

.large-column {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

.container {
    height: 200px;
    min-width: 100%;
}

.user-box {
    min-width: 450px;
}

/* Si solo hay un gráfico, ocupa todo el ancho */
@media (max-width: 900px) {
    .chart-box {
        flex: 1 1 100%;
    }
}

/* Si hay dos gráficos, ocupan la mitad del ancho */
@media (min-width: 901px) and (max-width: 1400px) {
    .chart-box {
        flex: 1 1 calc(50% - 20px);
    }
}

/* Si hay más de tres gráficos, se organizan en filas de 3 */
@media (min-width: 1401px) {
    .chart-box {
        flex: 1 1 calc(33.33% - 20px);
    }
}

/*Boton*/
.contenedor-derecha {
    display: flex;
    align-items: center;
    justify-content: end;
}

.button {
    background-color: #09457b;
    color: white;
    font-weight: bold;
    width: fit-content;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 2%;
    cursor: pointer;
    transition: 0.3s;
}

.button:hover {
    background-color: #f8ae27;
    color: black;
    font-weight: bold;
}

.img_busqueda {
    width: 78px;
    height: auto;
    display: flex;
    position: absolute;
    right: 20px;
    top: 85px;
    transition: width 0.3s ease-in-out, top 0.3s ease-in-out;
}

/* Ajuste para tablets */
@media (max-width: 1024px) {
    .img_busqueda {
        width: 65px;
        top: 75px;
        right: 15px;
    }
}

@media (max-width: 768px) {
    .img_busqueda {
        margin-top: 15px;
        margin-bottom: 10px;
        display: block;
        top: 80px;
    }

    .menu_busqueda {
        flex-direction: column;
        align-items: stretch;
        margin-top: 35px;
    }

    .menu_busqueda select,
    .menu_busqueda input,
    .menu_busqueda button {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .img_busqueda {
        width: 45px;
        top: 80px;
        right: 5px;
    }
}

/*Cambio Contraseña*/
.body_change_password {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

.change_password-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    width: 350px;
    text-align: center;
}

.change_password-container h2 {
    margin-bottom: 20px;
}

.change_password-input-container {
    position: relative;
    margin-top: 10px;
}

.change_password-label {
    display: block;
    text-align: left;
    font-weight: bold;
    margin-top: 10px;
}

.change_password-input {
    width: calc(100% - 30px);
    /* Espacio para el botón del ojo */
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding-right: 35px;
    /* Espacio para el icono del ojo */
}

.change_password-eye-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.change_password-button {
    margin-top: 15px;
    padding: 10px;
    width: 100%;
    background: #09457b;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.change_password-button:hover {
    background: #0056b3;
}

.derecha {
    display: flex;
    justify-content: flex-end;
    /* Alinea el botón a la derecha */
    padding: 20px;
    width: 100%;
    max-width: 97.4vw;
}

.button-back {
    background-color: #ffffff00;
    color: black;
    width: 8.5em;
    height: 2.9em;
    border: #09457b 0.2em solid;
    border-radius: 11px;
    text-align: right;
    transition: all 0.6s ease;
}

.button-back:hover {
    background-color: #09457b;
    cursor: pointer;
    color: white;
}

svg {
    width: 50px;
    height: auto;
}

.button-back svg {
    width: 1.6em;
    margin: -0.2em 0.8em 1em;
    position: absolute;
    display: flex;
    transition: all 0.6s ease;
}

.button-back:hover svg {
    transform: translateX(-5px);
}

.text-back {
    margin: 0 1.5em;
}

.button-back2 {
    background-color: #ffffff00;
    color: black;
    width: 8.5em;
    height: 2.9em;
    border: #09457b 0.2em solid;
    border-radius: 11px;
    text-align: right;
    transition: all 0.6s ease;
    margin-right: 95px;
}

.button-back2:hover {
    background-color: #09457b;
    cursor: pointer;
    color: white;
}

.button-back2 svg {
    width: 1.6em;
    margin: -0.2em 0.8em 1em;
    position: absolute;
    display: flex;
    transition: all 0.6s ease;
}

.button-back2:hover svg {
    transform: translateX(-5px);
}

/*Problemas*/
.tablaproblemas {
    width: 100%;
    border-collapse: collapse;
}

.tablaproblemas th {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
    vertical-align: top;
    box-sizing: border-box;
}

.tablaproblemas td {
    border: 1px solid #ccc;
    padding: 8px;
    font-size: 10px;
    text-align: left;
    vertical-align: top;
    box-sizing: border-box;
    min-height: 100px;
}

.tablaproblemas th {
    background-color: #f4f4f4;
}

.radio-buttons {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    /* Asegura que los botones de radio ocupen toda la altura de la celda */
}

.tablaproblemas td textarea {
    width: 100%;
    min-height: 100px;
    height: 100%;
    box-sizing: border-box;
    resize: none;
    padding: 0;
    margin: 0;
}

.tooltip-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    color: #0056b3;
    font-size: 12px;
    font-weight: bold;
    border: none;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    margin: 0 auto;
}

.tooltip-btn:hover {
    background-color: #09457b;
}

.tooltip-problemas {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-width: 500px;
    font-size: 12px;
    overflow: auto;
    white-space: nowrap;
    box-sizing: border-box;
    max-height: 400px;
    overflow-y: auto;
}

.tooltip-problemas table {
    width: 100%;
    border-collapse: collapse;
}

.tooltip-problemas th,
.tooltip-problemas td {
    padding: 5px;
    border: 1px solid #ddd;
}

.tooltip-problemas th {
    background-color: #f4f4f4;
    text-align: left;
}

.tooltip-problemas td {
    text-align: left;
}

.btn-problemas {
    background-color: #09457b;
    color: white;
    width: 100px;
    border-radius: 5px;
    padding: 5px;
    margin: auto;
    margin-top: 5px;
    cursor: pointer;
}

.btn-problemas:hover {
    transform: scale(1.1);
}

/*Menú*/
/* Botón hamburguesa */
.hamburger {
    cursor: pointer;
    color: white;
    font-size: 28px;
    margin-top: 1rem;
    border-radius: 4px;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: #09457b;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 1000;
}

/* Cuando está activo */
.sidebar.active {
    transform: translateX(0);
}

/* Header del sidebar */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 18px;
    font-weight: bold;
}

/* Botón de cerrar (X) */
.close-btn {
    cursor: pointer;
    font-size: 22px;
}


/* Estilos de menú */
.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Submenús */
.submenu {
    display: none;
    list-style: none;
    padding-left: 30px;
    background-color: rgba(0, 0, 0, 0.2);
}

.submenu li a {
    padding: 10px 20px;
    font-size: 14px;
}

/* Flecha del submenú */
.submenu-toggle.active .arrow {
    transform: rotate(180deg);
}

.arrow {
    transition: transform 0.3s;
}


@media (max-width: 768px) {
    .tooltip-problemas {
        max-width: 350px;
    }

    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        padding: 5px;
        overflow: auto;
    }

    .escudo {
        width: 24%;
    }

    .titulo {
        width: 40%;
    }

    .logo {
        width: 15%;
    }

    .contedor-login {
        max-width: 60vw;
    }

    .logo-jesuita {
        width: 40%;
    }

    .logo-ruei {
        width: 30%;
    }

    .tablaproblemas td textarea {
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
        /* Para pantallas muy pequeñas, solo una columna */
        padding: 5px;
        overflow: auto;
    }

    .tooltip-problemas {
        max-width: 350px;
    }

    .escudo {
        width: 24%;
    }

    .titulo {
        width: 40%;
    }

    .logo {
        width: 15%;
    }

    .contedor-login {
        max-width: 60vw;
    }

    .logo-jesuita {
        width: 40%;
    }

    .logo-ruei {
        width: 30%;
    }

    .tablaproblemas td textarea {
        min-height: 200px;
    }
}