﻿/*Estilos de pantallas de entradas de estudiante, tutor, y coordinador*/
/*pantalla-entrada header, banner, cuerpo, footer*/
.ent-pantalla-entrada {
    display: grid;
    height: 100%;
    grid-template-rows: 4.5vh auto 4.5vh;
}

.ent-cuerpo-entrada {
    display: grid;
    grid-template-rows: auto auto;
    margin-top: 4.5vh;
    min-height: 90vh;
    padding: 15px 0px;
}

/* === RESPONSIVE: Tablet y móvil === */
@media (max-width: 1024px) {
    .ent-cuerpo-entrada {
        grid-template-rows: auto auto;
        height: auto;
        min-height: unset;
        padding-bottom: 60px; /* espacio para el footer fijo */
    }

    .ent-banner {
        grid-template-columns: 1fr !important;
        height: auto;
        padding-bottom: 20px;
        border-radius: 10px;
    }

    .ent-logo-banner {
        display: none !important;
    }

    .ent-texto-bienvenida {
        margin-left: 5%;
        padding: 10px;
        align-self: start;
    }

    /* En móvil: notificaciones ARRIBA, video ABAJO */
    .ent-cuerpo-interno {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: unset !important;
        grid-template-areas: unset !important;
        gap: 16px;
        padding: 12px;
        height: auto;
    }

    /* Notificaciones: orden 1 = primero */
    .ent-cuerpo-right {
        order: 1 !important;
        justify-content: stretch !important;
        align-items: stretch !important;
        width: 100% !important;
        margin-right: 0;
    }

    /* Notificaciones: altura limitada en móvil para no empujar el footer */
    .ent-cuadro-dentro-de-franja-contenido-entrada {
        height: auto !important;
        max-height: 38vh;
        overflow: auto;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 0;
    }

    /* Video: orden 2 = segundo (debajo) */
    .ent-video-intro {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0;
        margin-bottom: 0;
        grid-area: unset !important;
    }

        .ent-video-intro video {
            width: 100%;
            height: auto;
        }
}

@media (max-width: 600px) {
    .ent-nombre-estudiante {
        font-size: clamp(18px, 5vw, 24px);
    }

    .ent-area-estudiante {
        font-size: clamp(14px, 4vw, 18px);
        font-weight: 400;
    }
}


/*header-entrada*/
.ent-header-entrada {
    height: 4.5vh;
    display: grid;
    grid-template-areas: "izq der";
    background-color: #50007d;
    color: white;
    font-weight: bold;
    font-size: 15px;
    border-radius: 0px 0px 4px 4px;
    position: fixed;
    top: 0;
    width: 100%;
    border-radius: 0px 0px 10px 10px;
}

/*headerLeft-entrada*/
.ent-header-left-entrada {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10px;
}

/*.headerRight-entrada*/
.ent-header-right-entrada {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
}

/*bannerAnalista*/
.ent-banner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, auto);
    font-size: clamp(20px, 2vw, 26px);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100%;
    border-radius: 10px;
    box-sizing: border-box;
}




/*botonAtras*/
.ent-boton-atras {
    cursor: pointer;
}

    .ent-boton-atras:hover {
        color: lightgray;
    }



/*TextoBienvenida*/
.ent-texto-bienvenida {
    margin-top: 15px;
    padding: 10px;
    color: white;
    font-size: clamp(20px, 2.8vh, 32px);
    font-weight: bold;
    height: 100%;
    margin-left: 5%;
    align-self: start;
}

/*AreaAnalista*/
.ent-area-analista {
    min-width: 300px;
    */
}

/*botonPE*/
.ent-boton-pe {
    display: flex;
    grid-gap: 8px;
    flex-wrap: wrap;
    /*min-width: 200px;*/
}
/*cuerpo*/
.ent-cuerpo {
    height: 100%;
    margin: 10px 0px;
}


/*cuerpoEntraAnalista*/
.ent-cuerpo-entra-analista {
    border-radius: 15px;
    margin-bottom: 2px;
    margin: 0px 4%;
}

/*custom-tab *************/
/*banner-estudiante*/


.ent-titulo-tabs {
    font-size: 1.8em; /* Este valor depende del navegador, pero este es típico */
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 1em;
    text-align: center;
    margin-top: 10px;
    height: auto;
}


/* Estilo para el logo */
.ent-logo-banner {
    justify-self: end;
    height: 35vh; /* Ajusta el tamaño del logo */
    width: auto;
    max-width: 40vw;
    padding-bottom: 15px;
}


/*AreaEstudiante*/
.ent-nombre-estudiante {
    font-size: clamp(22px, 3vh, 34px);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    letter-spacing: -0.3px;
}

.ent-area-estudiante {
    font-size: clamp(16px, 2.2vh, 20px);
    margin-top: 0.8vh;
    color: rgba(255,255,255,0.92);
    font-weight: 600;
    line-height: 1.6;
}

/*cuerpoInterno*/
.ent-cuerpo-interno {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 3fr);
    grid-template-areas: "izq der";
    column-gap: 24px;
    height: 100%;
    padding: 16px 20px;
    box-sizing: border-box;
}

/*VideoIntro*/
.ent-video-intro {
    grid-area: izq;
    display: flex;
    align-items: start;
    justify-self: center;
    width: 100%;
    max-width: 85vh;
}

    .ent-video-intro video {
        width: 100%;
        height: auto;
        display: block;
    }

/*cuerpoRight*/
.ent-cuerpo-right {
    grid-area: der;
    display: flex;
    align-items: flex-start;
    justify-content: stretch;
    margin-right: 0;
}

/*cuadroDentroDefranjaContenidoEntrada*/
.ent-cuadro-dentro-de-franja-contenido-entrada {
    display: block;
    border-radius: 10px;
    padding: 15px;
    background-color: #FFC9AD;
    margin-right: 0px;
    height: 48vh;
    overflow: auto;
    width: 100%;
    box-sizing: border-box;
}

/*banner
bannerCoordinador*/

/* Pie de Página] */
.pie {
    min-height: 4.5vh;
    height: 4.5vh;
    max-height: 4.5vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "izq der";
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    background-color: #50007d;
    align-items: center;
    /*font-size: clamp(16px,2vw,20px);*/
    font-size: 15px;
    border-radius: 10px 10px 0px 0px;
    z-index: 1000;
}


.pieLeft {
    font-weight: bold;
    display: grid;
    align-items: center;
    padding-left: 10px;
    grid-area: izq;
    justify-content: left;
}

.imagenPieLeft {
    height: 4vh;
    margin-right: 10px;
    margin-top: 2px;
}

.pieRight {
    grid-area: der;
    display: flex;
    align-content: center;
    justify-content: flex-end;
    padding-right: 10px;
    font-weight: bold;
    /*background-color:yellow*/
}

.e-btn {
    padding: 5px 15px;
}

@media (max-width: 1200px) {
    .ent-logo-banner {
        max-width: 30vw;
    }
}
