/* Estilos para funcionalidad de selección múltiple */

/* Checkbox styling */
.content-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
}

#selectAllCheckbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
}

/* Bulk actions container */
#bulkActionsContainer {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Modal styling improvements */
.mdc-dialog__surface {
    max-height: 90vh;
    overflow-y: auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Table row hover effect when checkbox is checked */
.content-checkbox:checked {
    accent-color: #007bff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #bulkActionsContainer {
        flex-direction: column;
        gap: 4px;
    }
    
    #bulkActionsContainer .mdc-button {
        width: 100%;
        margin: 2px 0;
    }
}

/* Indeterminate checkbox styling */
#selectAllCheckbox:indeterminate {
    opacity: 0.7;
}

/* Ocultar flechas de ordenación en la columna de checkbox */
#petiscosTable thead th:first-child::after,
#petiscosTable thead th:first-child::before {
    display: none !important;
}

#petiscosTable thead th:first-child {
    cursor: default !important;
}

/* Ocultar iconos de ordenación de DataTables en la primera columna */
#petiscosTable thead th:first-child .sorting,
#petiscosTable thead th:first-child .sorting_asc,
#petiscosTable thead th:first-child .sorting_desc {
    background-image: none !important;
    cursor: default !important;
}

/* Success/Error toast styling improvements */
.toast-success {
    background-color: #28a745;
}

.toast-warning {
    background-color: #ffc107;
    color: #212529;
}

.toast-error {
    background-color: #dc3545;
}
