/* MudDataGrid Header with Gradient and Contrast Color */

/* Style per l'intestazione della MudDataGrid */
.mud-datagrid-header {
    background: linear-gradient(90deg, rgb(var(--primary-rgb)), rgb(var(--secondary-rgb))) !important;
    color: rgb(var(--contrast-rgb)) !important;
}

/* Style per le celle header */
.mud-datagrid-header-cell {
    background: linear-gradient(90deg, rgb(var(--primary-rgb)), rgb(var(--secondary-rgb))) !important;
    color: rgb(var(--contrast-rgb)) !important;
    font-weight: 600 !important;
    padding: 0.75rem 1rem !important;
    border: none !important;
}

/* Style per le icone di ordinamento nell'header */
.mud-datagrid-header-cell .mud-icon-button {
    color: rgb(var(--contrast-rgb)) !important;
}

.mud-datagrid-header-cell .mud-icon-button:hover {
    background-color: rgba(var(--contrast-rgb), 0.15) !important;
}

/* Style per il testo nell'header */
.mud-datagrid-header-cell-content {
    color: rgb(var(--contrast-rgb)) !important;
}

/* Hover effect per le celle header */
.mud-datagrid-header-cell:hover {
    background: linear-gradient(90deg, 
        rgba(var(--secondary-rgb), 0.95), 
        rgba(var(--primary-rgb), 0.95)) !important;
}

/* Selettore più specifico per l'elemento thead di MudDataGrid */
.mud-table-head {
    background: linear-gradient(90deg, rgb(var(--primary-rgb)), rgb(var(--secondary-rgb))) !important;
}

.mud-table-head th {
    background: transparent !important;
    color: rgb(var(--contrast-rgb)) !important;
    font-weight: 600 !important;
    border: none !important;
}
