/* Contenedor general de cada nivel */
.nivel-container {
    background-color: black;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Encabezado del nivel con botón */
.nivel-header {
    color: #F1F5F9;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nivel-header button {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    background-color: #EC253F;
    border-radius: 6px;
    color: #F1F5F9;
    border: none;
    font-weight: 500;
    cursor: pointer;
}

/* Contenedor de checkboxes horizontal (10° y 11°) */
.checks-horizontal {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 0.5rem;
}

.checks-horizontal .check-item {
    flex: 0 0 auto;
    width: 90px;
    margin-right: 10px;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 10px 5px;
    background-color: white;
    cursor: pointer;
}

/* Contenedor de checkboxes en grid (otros grados) */
.checks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 5px;
}

.checks-grid .check-item {
    display: flex;
    align-items: center;
    padding: 8px;
    background-color: #FFDF20;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    cursor: pointer;
}

/* Estilo para los inputs checkbox */
.check-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-bottom: 8px;
    margin-right: 10px;
    border-radius: 5px;
    border: 2px solid #ccc;
    cursor: pointer;
}

/* Etiquetas de los checkboxes */
.check-item label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #444;
    display: block;
    cursor: pointer;
}

/* Contador y total de secciones */
.contador-secciones {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.contador-secciones small {
    color: #F1F5F9;
}

.contador-secciones small span {
    color: #F1F5F9;
    font-weight: bold;
}

/* SweetAlert contenido principal */
.sweetalert-secciones {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.sweetalert-secciones h1,
.sweetalert-secciones h4 {
    color: white;
}
