/* Estilos para la Planilla de Consolidado (Style Excel-Quantum) */
.contenedor-planilla {
    background: white;
    color: #1e293b;
    padding: 2rem;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-planilla {
    border: 2px solid #334155;
    margin-bottom: -2px;
}

.planilla-title {
    background: #475569;
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.planilla-sub {
    background: #0ea5e9;
    color: white;
    text-align: center;
    padding: 5px;
    font-weight: 700;
    font-size: 1.1rem;
}

.info-docente-area {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    border: 2px solid #334155;
    min-height: 100px;
}

.info-box {
    border-right: 2px solid #334155;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.info-box:last-child {
    border-right: none;
}

.tabla-planilla {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #334155;
}

.tabla-planilla th,
.tabla-planilla td {
    border: 1px solid #94a3b8;
    padding: 5px;
    font-size: 0.85rem;
    text-align: center;
}

.tabla-planilla th {
    background: #f1f5f9;
    font-weight: 800;
    text-transform: uppercase;
}

.col-nombre {
    text-align: left !important;
    padding-left: 10px !important;
    min-width: 250px;
}

.col-nota {
    width: 35px;
    font-weight: 700;
}

.col-final {
    background: #dcfce7;
    font-weight: 900;
    color: #166534;
    width: 50px;
}

.col-inassist {
    width: 60px;
}

.col-obs {
    text-align: left !important;
    min-width: 200px;
    font-size: 0.75rem !important;
    color: #475569;
}

.row-estudiante:nth-child(even) {
    background: #f8fafc;
}

.row-estudiante:hover {
    background: #e2e8f0;
}

/* Bordes punteados estilo Excel imagen */
.border-dotted {
    border-style: dotted !important;
}

.sub-header-row th {
    font-size: 0.7rem;
    background: #e2e8f0;
}

.vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 10px 5px !important;
    font-size: 0.7rem !important;
}

/* Responsive adjustments */
@media print {

    .quantum-sidebar,
    .quantum-header {
        display: none !important;
    }

    .quantum-main {
        padding: 0 !important;
        margin: 0 !important;
    }

    .contenedor-planilla {
        box-shadow: none;
        padding: 0;
    }
}