:root {
    --umt-marca: #405189;
}

body {
    background: #f3f6f9;
}

.marca-texto {
    color: #fff;
    font-weight: 600;
    letter-spacing: .02em;
    font-size: 15px;
}

.topbar-curso {
    font-weight: 600;
    color: #495057;
}

.tarjeta-leccion {
    transition: transform .15s ease, box-shadow .15s ease;
}

.tarjeta-leccion.abierta {
    cursor: pointer;
}

.tarjeta-leccion.abierta:hover {
    transform: translateY(-2px);
}

.video-marco {
    background: #0b1220;
    border-radius: .5rem;
    overflow: hidden;
}

.video-marco video {
    width: 100%;
    max-height: 68vh;
    display: block;
    background: #0b1220;
}

.opcion-quiz {
    text-align: left;
    white-space: normal;
}

.opcion-quiz.seleccionada {
    border-color: #405189;
    background: rgba(64, 81, 137, .08);
}

.opcion-quiz.acertada {
    border-color: #0ab39c;
    background: rgba(10, 179, 156, .08);
}

.opcion-quiz.fallida {
    border-color: #f06548;
    background: rgba(240, 101, 72, .08);
}

.aula {
    margin: -1.25rem -0.75rem 0;
    background: #fff;
}

.aula-barra {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    background: #1c1d1f;
    color: #fff;
    padding: .85rem 1.25rem;
}

.aula-curso {
    color: #d1d7dc;
    font-size: 12px;
}

.aula-progreso {
    height: 4px;
    background: #3e4143;
}

.aula-progreso > span {
    display: block;
    height: 100%;
    background: #0ab39c;
}

.aula-escena {
    display: flex;
    background: #1c1d1f;
    min-height: 420px;
}

.aula-video {
    flex: 1;
    min-width: 0;
}

.aula-video video {
    width: 100%;
    max-height: 68vh;
    display: block;
    background: #000;
}

.aula-contenido {
    width: 360px;
    background: #fff;
    color: #1c1d1f;
    overflow: auto;
    max-height: 68vh;
}

.aula-contenido-titulo {
    font-weight: 700;
    padding: 1rem 1rem .75rem;
    border-bottom: 1px solid #d1d7dc;
}

.seccion-titulo {
    display: flex;
    align-items: flex-start;
    gap: .35rem;
    width: 100%;
    text-align: left;
    border: 0;
    border-bottom: 1px solid #d1d7dc;
    background: #fff;
    padding: .85rem 1rem;
    font-weight: 700;
}

.seccion-titulo i {
    font-size: 22px;
    line-height: 1;
}

.seccion.cerrada .seccion-titulo i {
    transform: rotate(-90deg);
}

.seccion.cerrada .seccion-cuerpo {
    display: none;
}

.seccion-meta {
    display: block;
    margin-top: .15rem;
    color: #6a6f73;
    font-size: 12px;
    font-weight: 400;
}

.tema {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    width: 100%;
    text-align: left;
    border: 0;
    border-bottom: 1px solid #edeff0;
    background: #fff;
    padding: .75rem 1rem .75rem 1.35rem;
}

.tema-sub {
    padding-left: 2.75rem;
    background: #f7f9fa;
}

.tema-cuerpo {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tema.actual {
    background: #f7f9fa;
}

.tema.bloqueada {
    color: #6a6f73;
}

.tema-titulo {
    font-size: 14px;
}

.tema-min {
    color: #6a6f73;
    font-size: 12px;
    margin-top: .15rem;
}

.tema-ok {
    color: #0ab39c;
}

.aula-pestanas {
    display: flex;
    gap: .25rem;
    overflow: auto;
    border-bottom: 1px solid #d1d7dc;
    background: #fff;
    padding: 0 .75rem;
}

.aula-pestanas button {
    border: 0;
    background: transparent;
    padding: .9rem .7rem;
    font-weight: 700;
    color: #6a6f73;
    white-space: nowrap;
}

.aula-pestanas button.activa {
    color: #1c1d1f;
    box-shadow: inset 0 -2px 0 #405189;
}

.aula-pestanas button.pestana-cerrada,
.aula-pestanas button:disabled {
    color: #b0b4b8;
    cursor: not-allowed;
}

.aula-panel {
    background: #fff;
    padding: 1.25rem 1.5rem 2rem;
}

.aula-panel h5 {
    font-weight: 700;
}

.pregunta-aula,
.anuncio-aula {
    border-bottom: 1px solid #edeff0;
    padding: 0.9rem 0;
}

.pregunta-aula:last-child,
.anuncio-aula:last-child {
    border-bottom: 0;
}

.continuar {
    display: flex;
    gap: 1rem;
    align-items: center;
    cursor: pointer;
}

.continuar-play {
    position: relative;
    width: 148px;
    height: 84px;
    border-radius: .4rem;
    background: #1c1d1f center / cover no-repeat;
    color: #fff;
    flex-shrink: 0;
}

.continuar-play i,
.mini-clase .mini-play i {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(28, 29, 31, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.fila-aprender {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: .5rem;
}

.mini-clase {
    width: 220px;
    flex: 0 0 220px;
    border: 1px solid #d1d7dc;
    border-radius: .4rem;
    background: #fff;
    text-align: left;
    padding: 0;
    overflow: hidden;
}

.mini-clase .mini-play {
    position: relative;
    height: 110px;
    background: #1c1d1f center / cover no-repeat;
    color: #fff;
}

.mini-clase .mini-cuerpo {
    padding: .75rem;
}

.mini-clase.bloqueada {
    opacity: .65;
    cursor: default;
}

.acciones-curso {
    display: flex;
    gap: .35rem;
    flex-wrap: wrap;
}

.sugerencias-persona {
    position: relative;
}

.sugerencias-persona .list-group {
    position: absolute;
    z-index: 30;
    width: 100%;
    max-height: 220px;
    overflow: auto;
}

.grafica-reporte {
    min-height: 320px;
}

.lista-inscritos {
    max-height: 420px;
    overflow: auto;
}

#menu-lateral .nav-link {
    align-items: flex-start;
}

#menu-lateral .nav-link span {
    white-space: normal;
    line-height: 1.35;
}

.app-menu.navbar-menu {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 0;
}

.app-menu .navbar-brand-box {
    flex: 0 0 auto;
}

#scrollbar {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 1.25rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .35) transparent;
}

.rejilla-cursos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.tarjeta-curso {
    text-align: left;
    border: 1px solid #d1d7dc;
    background: #fff;
    border-radius: .4rem;
    padding: 1rem;
}

.tarjeta-curso-icono {
    width: 42px;
    height: 42px;
    border-radius: .4rem;
    background: rgba(64, 81, 137, .1);
    color: #405189;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: .75rem;
}

html:has(.pantalla-carga:not([hidden])),
body:has(.pantalla-carga:not([hidden])) {
    overflow: hidden;
}

.pantalla-carga {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f6f9;
}

.pantalla-carga[hidden] {
    display: none !important;
}

.pantalla-carga-caja {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .85rem;
    color: #405189;
    font-weight: 600;
}

.pantalla-carga .spinner-border {
    width: 2.75rem;
    height: 2.75rem;
    border-width: .22rem;
}

@media (max-width: 991.98px) {
    .page-title-box {
        padding-top: .25rem;
    }

    .auth-page-content {
        padding-left: .75rem;
        padding-right: .75rem;
    }

    .main-content {
        margin-left: 0 !important;
    }

    .aula-escena {
        flex-direction: column;
    }

    .aula-contenido {
        width: 100%;
        max-height: none;
    }
}
