body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8fafc;
    display: flex;
    min-height: 100vh;
}

/* MENÚ LATERAL IZQUIERDO FIJO */
.sidebar {
    width: 260px;
    background: #0f172a;
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 4px 0 10px rgba(0,0,0,0.05);
}
.sidebar-header {
    padding: 25px;
    font-size: 19px;
    font-weight: bold;
    color: white;
    border-bottom: 1px solid #1e293b;
    text-align: center;
}
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 25px;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}
.sidebar-menu li a:hover, .sidebar-menu li.active a {
    background: #1e293b;
    color: white;
    border-left: 4px solid #3b82f6;
}

/* ÁREA DE CONTENIDO EN LA DERECHA */
.content-wrapper {
    margin-left: 260px;
    flex: 1;
    padding: 30px;
    box-sizing: border-box;
}

/* DASHBOARD GRID HORIZONTAL */
.dash-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.dash-table th {
    background: #f1f5f9;
    color: #475569;
    padding: 14px;
    font-weight: 600;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}
.dash-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}
.cell-box {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    color: white;
    min-width: 50px;
}
.cell-verde { background-color: #10b981; }  /* Acertada */
.cell-rojo { background-color: #ef4444; }   /* Incorrecta */
.cell-gris { background-color: #94a3b8; }   /* No respondida */
