*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#eef2f7;
    color:#111827;
}



/* LOGIN */

.contenedor-login{
    width:100%;
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#dbeafe;
}

.login-box{
    background:white;
    width:350px;
    padding:30px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
}

.login-box h1{
    text-align:center;
    margin-bottom:25px;
    color:#1e3a8a;
}

.login-box input{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border:1px solid #cbd5e1;
    border-radius:8px;
    font-size:15px;
}

.login-box button{
    width:100%;
    padding:12px;
    border:none;
    background:#2563eb;
    color:white;
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
    font-weight:bold;
}

.login-box button:hover{
    background:#1d4ed8;
}



/* MENU */

.menu{
    width:250px;
    height:100vh;
    background:#111827;
    position:fixed;
    left:0;
    top:0;
    padding:20px;
}

.menu h2{
    color:#f9fafb;
    margin-bottom:25px;
    text-align:center;
}

.menu a{
    display:block;
    background:#1f2937;
    color:#f9fafb;
    text-decoration:none;
    padding:12px;
    border-radius:10px;
    margin-bottom:12px;
    transition:.3s;
    font-weight:bold;
}

.menu a:hover{
    background:#2563eb;
}



/* CONTENIDO */

.contenido{
    margin-left:270px;
    padding:20px;
}

.contenido h1{
    margin-bottom:20px;
    color:#111827;
}



/* CARDS */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.card{
    background:white;
    padding:25px;
    border-radius:15px;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    border-left:6px solid #2563eb;
}

.card h3{
    margin-bottom:10px;
    color:#374151;
}

.card p{
    font-size:28px;
    font-weight:bold;
    color:#111827;
}



/* TABLAS */

table{
    width:100%;
    border-collapse:collapse;
    background:white;
    margin-top:20px;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

th{
    background:#2563eb;
    color:white;
    padding:14px;
    font-size:15px;
}

td{
    border-bottom:1px solid #e5e7eb;
    padding:12px;
    text-align:center;
    color:#111827;
}

tr:hover{
    background:#f3f4f6;
}



/* BOTONES */

button{
    cursor:pointer;
}

.btn{
    padding:10px 15px;
    border:none;
    border-radius:8px;
    font-weight:bold;
    color:white;
}

.btn-exportar{
    background:#16a34a;
}

.btn-exportar:hover{
    background:#15803d;
}

.btn-imprimir{
    background:#2563eb;
}

.btn-imprimir:hover{
    background:#1d4ed8;
}

.btn-eliminar{
    background:#dc2626;
}

.btn-eliminar:hover{
    background:#b91c1c;
}

.btn-presente{
    background:#16a34a;
    color:white;
    border:none;
    padding:8px 12px;
    border-radius:6px;
    font-weight:bold;
}

.btn-presente:hover{
    background:#15803d;
}

.btn-ausente{
    background:#dc2626;
    color:white;
    border:none;
    padding:8px 12px;
    border-radius:6px;
    font-weight:bold;
}

.btn-ausente:hover{
    background:#b91c1c;
}



/* FILTROS */

.filtros{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:20px;
}

.filtros input,
.filtros select{
    padding:10px;
    border:1px solid #cbd5e1;
    border-radius:8px;
    background:white;
    color:#111827;
}



/* ESTADOS */

.estado-presente{
    color:#15803d;
    font-weight:bold;
}

.estado-ausente{
    color:#dc2626;
    font-weight:bold;
}



/* RESPONSIVE */

@media(max-width:768px){

    .menu{
        width:100%;
        height:auto;
        position:relative;
    }

    .contenido{
        margin-left:0;
    }

    .cards{
        grid-template-columns:1fr;
    }

    .filtros{
        flex-direction:column;
    }

    table{
        font-size:12px;
    }

}



/* IMPRESION */

@media print{

    .menu,
    .filtros,
    .acciones{
        display:none;
    }

    .contenido{
        margin-left:0;
    }

}

/* =========================================
CHECKLIST ESTADOS
========================================= */

.check-estados{
    display:flex;
    flex-direction:column;
    gap:6px;
    align-items:flex-start;
}

.check-estados label{
    font-size:13px;
    font-weight:bold;
    color:#111827;
    display:flex;
    align-items:center;
    gap:5px;
}

.check-estados input{
    width:16px;
    height:16px;
    cursor:pointer;
}

/* =========================================
ASISTENCIA MULTIPLE
========================================= */

.acciones-asistencia{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.botones-estado{
    display:flex;
    gap:8px;
    justify-content:center;
}

.check-estados{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:5px;
}

.check-estados label{
    display:flex;
    align-items:center;
    gap:5px;
    font-size:13px;
    font-weight:bold;
}

.check-estados input{
    width:16px;
    height:16px;
}