﻿/* ==========================================================
   INICIO DOCENTE
========================================================== */

.inicio-docente {
    width: 100%;
    padding: 20px 0;
}

/* ---------- ENCABEZADO (HERO) ---------- */
.inicio-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 30px 34px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: linear-gradient(120deg, #68091b 0%, #4a0712 55%, #3b0808 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(60, 8, 8, 0.25);
}

    /* Arcos decorativos naranjas (reemplazan al logo) */
    .inicio-hero::before {
        content: "";
        position: absolute;
        top: -150px;
        right: -110px;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        border: 30px solid rgba(228, 154, 32, 0.30);
    }

    .inicio-hero::after {
        content: "";
        position: absolute;
        right: 40px;
        bottom: -200px;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(228, 154, 32, 0.22), transparent 70%);
    }

/* El contenido va por encima de los arcos */
.hero-texto,
.hero-periodo {
    position: relative;
    z-index: 1;
}

.hero-texto {
    flex: 1;
    min-width: 0;
}

.hero-saludo {
    display: block;
    margin-bottom: 8px;
    color: #f5c16c;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.inicio-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.2;
}

/* Manito que saluda una vez al cargar */
.hero-mano {
    display: inline-block;
    transform-origin: 70% 70%;
    animation: saludar 2.2s ease-in-out 1;
}

@keyframes saludar {
    0%, 60%, 100% {
        transform: rotate(0deg);
    }

    10%, 30% {
        transform: rotate(14deg);
    }

    20%, 40% {
        transform: rotate(-8deg);
    }
}

.inicio-hero p {
    margin: 8px 0 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.98rem;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
}

    .hero-chip i {
        color: #f5c16c;
    }

/* ---------- TARJETA DEL PERIODO ---------- */
.hero-periodo {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 250px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(4px);
}

.hero-periodo-label {
    color: #f5c16c;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-periodo strong {
    font-size: 1.25rem;
    font-weight: 800;
}

.hero-progreso {
    height: 8px;
    margin: 4px 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.hero-progreso-barra {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #e49a20, #f5c16c);
    transition: width 0.8s ease;
}

.hero-periodo small {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
}

.hero-periodo-fechas {
    opacity: 0.7;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .inicio-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-periodo {
        min-width: 0;
    }
}

@media (max-width: 576px) {
    .inicio-hero {
        padding: 22px 20px;
    }

        .inicio-hero h1 {
            font-size: 1.45rem;
        }
}
/* ---------- TARJETAS DE RESUMEN ---------- */
.resumen-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.tarjeta-resumen {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 110px;
    padding: 18px 20px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    /* Colores del mockup */
    .tarjeta-resumen.vino {
        background: #fbeff0;
        border-color: #f1d6d9;
    }

    .tarjeta-resumen.naranja {
        background: #fff6e6;
        border-color: #f6e0b8;
    }

/* Si es enlace: se levanta al pasar el mouse */
.tarjeta-resumen-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(60, 20, 20, 0.12);
    color: inherit;
}

/* Tarjetas todavía sin datos */
.tarjeta-resumen.deshabilitada {
    opacity: 0.65;
}

.tarjeta-resumen-icono {
    width: 58px;
    height: 58px;
    min-width: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #ffffff;
    font-size: 1.6rem;
    box-shadow: 0 3px 8px rgba(60, 20, 20, 0.08);
}

.tarjeta-resumen.vino .tarjeta-resumen-icono {
    color: #7a0715;
}

.tarjeta-resumen.naranja .tarjeta-resumen-icono {
    color: #df8c12;
}

.tarjeta-resumen-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tarjeta-resumen-titulo {
    color: #5f1018;
    font-size: 0.88rem;
    font-weight: 700;
}

.tarjeta-resumen-info strong {
    color: #5f1018;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
}

.tarjeta-resumen-info small {
    color: #64748b;
    font-size: 0.76rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .resumen-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .resumen-grid {
        grid-template-columns: 1fr;
    }
}
/* ---------- TARJETAS DEL PANEL (secciones) ---------- */
.panel-card {
    margin-bottom: 22px;
    padding: 20px;
    border: 1px solid #eadfd5;
    border-radius: 14px;
    background: #fffdfb;
    box-shadow: 0 2px 8px rgba(60, 20, 20, 0.05);
}

.panel-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

    .panel-card-header h2 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
        color: #5f1018;
        font-size: 1.2rem;
        font-weight: 800;
    }

        .panel-card-header h2 i {
            color: #7a0715;
        }

.panel-card-link {
    color: #7a0715;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

    .panel-card-link:hover {
        color: #df8c12;
    }

/* Mensaje cuando no hay datos o está cargando */
.panel-vacio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px 10px;
    color: #64748b;
    font-size: 0.9rem;
}

    .panel-vacio i {
        color: #159447;
        font-size: 1.2rem;
    }

/* ---------- TABLA DEL PANEL ---------- */
.tabla-panel {
    width: 100%;
    min-width: 760px; /* [CAMBIO 5] antes 640px: ahora hay una columna más */
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.86rem;
}

    .tabla-panel thead th {
        padding: 11px 12px;
        background: #7c0616;
        color: #ffffff;
        font-weight: 700;
        white-space: nowrap;
    }

        .tabla-panel thead th:first-child {
            border-radius: 8px 0 0 0;
        }

        .tabla-panel thead th:last-child {
            border-radius: 0 8px 0 0;
        }

    .tabla-panel tbody td {
        padding: 11px 12px;
        border-bottom: 1px solid #eee4db;
        color: #334155;
        vertical-align: middle;
    }

    .tabla-panel tbody tr:hover {
        background: #fff8f3;
    }


    /* Indica que hay más información al pasar el mouse */
    .tabla-panel td[title] {
        cursor: help;
    }
/* Todo encerrado en .inicio-docente: no afecta a otras páginas */
.inicio-docente .ini-col-ud {
    color: #5f1018;
    font-weight: 700;
}

.inicio-docente .ini-col-fechas {
    white-space: nowrap;
}

/* Chip + nombre en la misma línea, centrados */
.inicio-docente .ini-indicador {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.inicio-docente .ini-ind-numero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    border-radius: 6px;
    background: #fff0d5;
    color: #b86a00;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.inicio-docente .ini-ind-nombre {
    color: #334155;
    font-weight: 600;
}
/* Plazo debajo del indicador */
.inicio-docente .ini-ind-plazo {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 0.76rem;
}

.inicio-docente .ini-sin-dato {
    color: #94a3b8;
}

/* Barra de avance */
.inicio-docente .ini-avance {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 150px;
}

.inicio-docente .ini-avance-barra {
    height: 8px;
    border-radius: 10px;
    background: #efe6df;
    overflow: hidden;
}

.inicio-docente .ini-avance-relleno {
    height: 100%;
    border-radius: 10px;
    transition: width 0.8s ease;
}

.inicio-docente .ini-avance-texto {
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
}

/* Badge de estado */
.inicio-docente .ini-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: 20px;
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
}

    /* Colores: se aplican al badge Y al relleno de la barra */
    .inicio-docente .ini-badge.ini-badge-retrasado {
        background: #ffe0e0;
        color: #c62828;
        border: 1px solid #f2aaaa;
    }

.inicio-docente .ini-avance-relleno.ini-badge-retrasado {
    background: #e05252;
}

.inicio-docente .ini-badge.ini-badge-aldia {
    background: #e3efff;
    color: #1d5fbf;
    border: 1px solid #b6d0f5;
}

.inicio-docente .ini-avance-relleno.ini-badge-aldia {
    background: #e49a20;
}

.inicio-docente .ini-badge.ini-badge-completo {
    background: #dff5e3;
    color: #16833b;
    border: 1px solid #a8dfb3;
}

.inicio-docente .ini-avance-relleno.ini-badge-completo {
    background: #159447;
}

.inicio-docente .ini-badge.ini-badge-neutro {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.inicio-docente .ini-ud-codigo {
    display: inline-block;
    margin-bottom: 3px;
    padding: 2px 7px;
    border-radius: 5px;
    background: #f5e3df;
    color: #7a0715;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.inicio-docente .ini-ud-nombre {
    display: block;
}
/* ---------- AGENDA DE HOY ---------- */
.inicio-docente .ini-agenda-fecha {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
}

.inicio-docente .ini-agenda {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inicio-docente .ini-sesion {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 14px 16px;
    border: 1px solid #eadfd5;
    border-left: 4px solid #e49a20;
    border-radius: 10px;
    background: #ffffff;
}

    /* La clase que está ocurriendo ahora se resalta */
    .inicio-docente .ini-sesion.en-curso {
        border-left-color: #7a0715;
        background: #fff8f3;
        box-shadow: 0 4px 12px rgba(122, 7, 21, 0.10);
    }

    .inicio-docente .ini-sesion.feriado {
        border-left-color: #b0b8c4;
        opacity: 0.75;
    }

.inicio-docente .ini-sesion-hora {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: #5f1018;
    font-weight: 800;
    white-space: nowrap;
}

    .inicio-docente .ini-sesion-hora i {
        color: #df8c12;
    }

.inicio-docente .ini-sesion-ahora {
    padding: 2px 8px;
    border-radius: 10px;
    background: #7a0715;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
}

.inicio-docente .ini-sesion-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: 0;
}

.inicio-docente .ini-sesion-curso {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #334155;
}

.inicio-docente .ini-sesion-actividad {
    color: #64748b;
    font-size: 0.82rem;
}

/* Botones */
.inicio-docente .ini-sesion-acciones {
    display: flex;
    gap: 8px;
}

.inicio-docente .ini-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: 8px;
    background: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.inicio-docente .ini-btn-actividad {
    border: 1px solid #e49a20;
    color: #b86a00;
}

    .inicio-docente .ini-btn-actividad:hover:not(:disabled) {
        background: #fff5e9;
    }

.inicio-docente .ini-btn-asistencia {
    border: 1px solid #7a0715;
    color: #7a0715;
}

    .inicio-docente .ini-btn-asistencia:hover:not(:disabled) {
        background: #fbeff0;
    }

.inicio-docente .ini-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Estado parcial (naranja) */
.inicio-docente .ini-badge.ini-badge-parcial {
    background: #fff0d5;
    color: #b86a00;
    border: 1px solid #f2c779;
}

/* Sin clases hoy */
.inicio-docente .ini-agenda-vacia {
    justify-content: flex-start;
    padding: 20px 10px;
}

    .inicio-docente .ini-agenda-vacia div {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .inicio-docente .ini-agenda-vacia i {
        color: #df8c12;
        font-size: 1.6rem;
    }

    .inicio-docente .ini-agenda-vacia span {
        text-transform: capitalize;
    }

/* Responsive: en pantallas pequeñas, todo en columna */
@media (max-width: 768px) {
    .inicio-docente .ini-sesion {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .inicio-docente .ini-sesion-acciones {
        justify-content: stretch;
    }

        .inicio-docente .ini-sesion-acciones .ini-btn {
            flex: 1;
            justify-content: center;
        }
}
/* ---------- PENDIENTES ---------- */
.inicio-docente .ini-pend-total {
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #c62828;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
}

.inicio-docente .ini-pendientes {
    list-style: none;
    margin: 0;
    padding: 0;
}


.inicio-docente .ini-pend-icono {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.05rem;
}

    .inicio-docente .ini-pend-icono.ini-pend-rojo {
        background: #ffe0e0;
        color: #c62828;
    }

    .inicio-docente .ini-pend-icono.ini-pend-vino {
        background: #fbeff0;
        color: #7a0715;
    }

    .inicio-docente .ini-pend-icono.ini-pend-naranja {
        background: #fff0d5;
        color: #b86a00;
    }

.inicio-docente .ini-pend-texto {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .inicio-docente .ini-pend-texto strong {
        color: #334155;
        font-size: 0.9rem;
    }

    .inicio-docente .ini-pend-texto small {
        color: #64748b;
        font-size: 0.78rem;
    }

/* ==========================================================
   [CAMBIO 2] PENDIENTES: ALTO FIJO + SCROLL, FILAS COMPACTAS
========================================================== */

/* La lista tiene un alto máximo; si no cabe, aparece el scroll
   SOLO dentro de la caja (la cabecera "Pendientes" queda fija) */
.inicio-docente .ini-pendientes {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #d9b9be transparent; /* Firefox: barra vino suave */
}

    /* Chrome / Edge: barra delgada color vino */
    .inicio-docente .ini-pendientes::-webkit-scrollbar {
        width: 6px;
    }

    .inicio-docente .ini-pendientes::-webkit-scrollbar-thumb {
        border-radius: 6px;
        background: #d9b9be;
    }

        .inicio-docente .ini-pendientes::-webkit-scrollbar-thumb:hover {
            background: #7a0715;
        }

/* Separación entre grupos */
.inicio-docente .ini-pend-grupo + .ini-pend-grupo {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1e7df;
}

/* Cabecera del grupo: ícono pequeño + título + total */
.inicio-docente .ini-pend-cabecera {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

    .inicio-docente .ini-pend-cabecera .ini-pend-icono {
        width: 28px;
        height: 28px;
        min-width: 28px;
        border-radius: 8px;
        font-size: 0.8rem;
    }

    .inicio-docente .ini-pend-cabecera strong {
        flex: 1;
        color: #334155;
        font-size: 0.86rem;
    }

/* Pastilla con el total del grupo */
.inicio-docente .ini-pend-resumen {
    padding: 2px 9px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

    .inicio-docente .ini-pend-resumen.ini-pend-rojo {
        background: #ffe0e0;
        color: #c62828;
    }

    .inicio-docente .ini-pend-resumen.ini-pend-vino {
        background: #fbeff0;
        color: #7a0715;
    }

    .inicio-docente .ini-pend-resumen.ini-pend-naranja {
        background: #fff0d5;
        color: #b86a00;
    }

/* Una fila por curso: toda la fila es un botón */
.inicio-docente .ini-pend-fila {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    padding: 7px 10px;
    border: none;
    border-left: 3px solid #e49a20;
    border-radius: 0 8px 8px 0;
    background: #ffffff;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

    .inicio-docente .ini-pend-fila:hover {
        background: #fff8f3;
    }

    .inicio-docente .ini-pend-fila.ini-pend-rojo {
        border-left-color: #e05252;
    }

    .inicio-docente .ini-pend-fila.ini-pend-vino {
        border-left-color: #7a0715;
    }

    .inicio-docente .ini-pend-fila.ini-pend-naranja {
        border-left-color: #e49a20;
    }

.inicio-docente .ini-pend-fila-texto {
    flex: 1;
    min-width: 0; /* permite cortar el nombre largo con "..." */
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .inicio-docente .ini-pend-fila-texto small {
        color: #64748b;
        font-size: 0.75rem;
    }

/* Código + nombre en una sola línea; si es largo, termina en "..." */
.inicio-docente .ini-pend-curso {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

    .inicio-docente .ini-pend-curso .ini-ud-codigo {
        margin-bottom: 0;
        flex-shrink: 0;
    }

.inicio-docente .ini-pend-nombre {
    overflow: hidden;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Flecha: gris, y vino al pasar el mouse */
.inicio-docente .ini-pend-flecha {
    color: #b0b8c4;
    font-size: 0.7rem;
}

.inicio-docente .ini-pend-fila:hover .ini-pend-flecha {
    color: #7a0715;
}

/* ---------- DOS COLUMNAS ---------- */
.inicio-docente .ini-columnas {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    gap: 22px;
    align-items: start;
}

/* Las columnas no deben agrandarse por contenido largo (tablas) */
.inicio-docente .ini-col-principal,
.inicio-docente .ini-col-lateral {
    min-width: 0;
}


/* Pantallas medianas y celular: una sola columna */
@media (max-width: 1280px) {
    .inicio-docente .ini-columnas {
        grid-template-columns: 1fr;
    }
}

/* ---------- CALENDARIO ACADÉMICO ---------- */
.inicio-docente .ini-calendario .panel-card-header {
    margin-bottom: 10px;
}

.inicio-docente .cal-btn-hoy {
    padding: 4px 12px;
    border: 1px solid #e5d9ce;
    border-radius: 6px;
    background: #ffffff;
    color: #7a0715;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

    .inicio-docente .cal-btn-hoy:hover {
        background: #fbeff0;
    }

/* Mes y flechas */
.inicio-docente .cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

    .inicio-docente .cal-nav strong {
        color: #334155;
        font-size: 1rem;
    }

.inicio-docente .cal-btn-flecha {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #7a0715;
    cursor: pointer;
}

    .inicio-docente .cal-btn-flecha:hover {
        background: #fbeff0;
    }

/* Cuadrícula de 7 columnas */
.inicio-docente .cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.inicio-docente .cal-cabecera {
    padding: 4px 0;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
}

.inicio-docente .cal-dia {
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #334155;
    font-size: 0.82rem;
    cursor: pointer;
}

    .inicio-docente .cal-dia:hover {
        background: #fff5e9;
    }

    .inicio-docente .cal-dia.otro-mes {
        color: #cbd5e1;
    }

    .inicio-docente .cal-dia.hoy {
        border-color: #7a0715;
        font-weight: 800;
    }

    .inicio-docente .cal-dia.seleccionado {
        background: #7a0715;
        color: #ffffff;
    }

/* Puntos de eventos */
.inicio-docente .cal-puntos {
    display: flex;
    gap: 2px;
    height: 5px;
}

.inicio-docente .cal-punto {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

    .inicio-docente .cal-punto.sesion {
        background: #7a0715;
    }

    .inicio-docente .cal-punto.cierre {
        background: #e49a20;
    }

    .inicio-docente .cal-punto.feriado {
        background: #94a3b8;
    }

/* En el día seleccionado (fondo vino), el punto de sesión se ve blanco */
.inicio-docente .cal-dia.seleccionado .cal-punto.sesion {
    background: #ffffff;
}

/* Leyenda */
.inicio-docente .cal-leyenda {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 10px;
    color: #64748b;
    font-size: 0.74rem;
}

    .inicio-docente .cal-leyenda > span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .inicio-docente .cal-leyenda .cal-punto {
        width: 8px;
        height: 8px;
    }

/* Detalle del día */
.inicio-docente .cal-detalle {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f1e7df;
}

.inicio-docente .cal-detalle-titulo {
    margin-bottom: 8px;
    color: #5f1018;
    font-size: 0.85rem;
    font-weight: 800;
}

.inicio-docente .cal-detalle-vacio {
    margin: 0;
    color: #94a3b8;
    font-size: 0.8rem;
}

.inicio-docente .cal-detalle-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.inicio-docente .cal-evento {
    display: flex;
    flex-direction: column;
    padding: 6px 10px;
    border-left: 3px solid #7a0715;
    border-radius: 6px;
    background: #fdf7f5;
}

    .inicio-docente .cal-evento strong {
        color: #334155;
        font-size: 0.8rem;
    }

    .inicio-docente .cal-evento small {
        color: #64748b;
        font-size: 0.74rem;
    }

    .inicio-docente .cal-evento.cierre {
        border-left-color: #e49a20;
        background: #fff8ec;
    }

    .inicio-docente .cal-evento.feriado {
        border-left-color: #94a3b8;
        background: #f8fafc;
    }
/* Pendientes vacíos: franja verde compacta */
.inicio-docente .ini-pend-ok {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #a8dfb3;
    border-radius: 10px;
    background: #effaf1;
}

    .inicio-docente .ini-pend-ok i {
        color: #159447;
        font-size: 1.5rem;
    }

    .inicio-docente .ini-pend-ok div {
        display: flex;
        flex-direction: column;
    }

    .inicio-docente .ini-pend-ok strong {
        color: #16833b;
        font-size: 0.92rem;
    }

    .inicio-docente .ini-pend-ok small {
        color: #4b6b55;
        font-size: 0.76rem;
    }

.inicio-docente .ini-col-lateral .panel-card-header {
    margin-bottom: 12px;
}

/* [CAMBIO 5] Columna Asistencia: aviso de sesiones sin completar */
.inicio-docente .ini-asis-pend {
    color: #c62828;
    font-size: 0.72rem;
    font-weight: 600;
}
/* ---------- RESUMEN DEL PERIODO (quesos) ---------- */
.inicio-docente .ini-quesos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.inicio-docente .ini-queso {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px;
    border: 1px solid #f1e7df;
    border-radius: 12px;
    background: #ffffff;
}

/* El círculo de colores */
.inicio-docente .ini-queso-grafico {
    width: 120px;
    height: 120px;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* El hueco blanco del centro (lo que lo vuelve "dona") */
.inicio-docente .ini-queso-centro {
    width: 78px;
    height: 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
}

    .inicio-docente .ini-queso-centro strong {
        color: #5f1018;
        font-size: 1.25rem;
        font-weight: 800;
        line-height: 1;
    }

    .inicio-docente .ini-queso-centro small {
        color: #64748b;
        font-size: 0.68rem;
    }

/* Título y leyenda */
.inicio-docente .ini-queso-info {
    flex: 1;
    min-width: 0;
}

    .inicio-docente .ini-queso-info h3 {
        margin: 0 0 8px;
        color: #5f1018;
        font-size: 0.92rem;
        font-weight: 800;
    }

.inicio-docente .ini-queso-leyenda {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #334155;
    font-size: 0.78rem;
}

    .inicio-docente .ini-queso-leyenda li {
        display: flex;
        align-items: center;
        gap: 7px;
    }

        /* El número se va a la derecha */
        .inicio-docente .ini-queso-leyenda li strong {
            margin-left: auto;
        }

.inicio-docente .ini-queso-punto {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 3px;
}

/* Pantallas angostas: un queso debajo del otro */
@media (max-width: 768px) {
    .inicio-docente .ini-quesos {
        grid-template-columns: 1fr;
    }
}