/**
 *  Este es el block_bloque_recursos.php
 * @package    Bloque_Recursos
 * @copyright  Luis Castillo(Uniminuto)-2025
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

#activities-table {
    margin-right: 4rem;
    margin-left: 4rem;
    /* border-radius: 10px; */
    width: 88%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

#activities-table th,
#activities-table td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    text-align: left;
}

#activities-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

#activities-table tbody tr {
    background-color: #ffffff;
}

#activities-table tbody tr:hover {
    background-color: #f1f1f1;
}

.activity-name {
    cursor: grab;
    background-color: white;
    padding: 0.75rem;
    border-radius: 4px;
}

.activity-name:hover{

background-color: #f1f1f1;

}

.activityiconcontainer {
    width: 30px;
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: .7rem;
}

.card{
margin-bottom: 0.25rem !important;

}

.p-2b {
    padding: 0.1rem !important;
}

#sortable-activities tr.ui-sortable-helper {
    background-color: #e9ecef;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Estilos para el placeholder de jQuery UI Sortable */
#sortable-activities tr.ui-sortable-placeholder {
    background-color: #f8f9fa; 
    border: 2px dashed #dee2e6;
    visibility: visible !important;
}

/* Estilos para el menú desplegable de secciones */
.section-item {
    margin-bottom: 0.6rem;
}

.section-header {
    margin-right: 4rem;
    margin-left: 4rem;
    background-color: #f8f9fa;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 9px;
    cursor: pointer;
    font-weight: bold;
}

.section-header:hover {
    background-color: #e9ecef;
}

.section-activities {
    margin-right: 4rem;
    margin-left: 4rem;
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    background-color: #f8f9fa;
    display: none; /* Ocultar por defecto */
    margin-top: 10px;
}

#section-activities-menu .activity-item {
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    background-color: #f8f9fa;
}

.activity-item:hover {
    background-color: #e9ecef;
}

.row{
    font-size: larger;
}

.section-activities .form-group {
    margin: 15px;
    padding: 4px;
    background-color: white;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.05);
}

.col-form-label{
    display: none;
}
