
table.dataTable tbody td {
    vertical-align: middle;
}

div.dataTables_wrapper div.dataTables_processing {

}

table.dataTable tbody td:has(input[type="checkbox"]),
table.dataTable thead th:has(input[name="select_all"]),
table.dataTable tbody input[type="checkbox"],
table.dataTable thead input[name="select_all"] {
    cursor: pointer;
}

table.dataTable.select tbody tr:not(.no-select) td:not(:last-child),
table.dataTable.select tbody tr:not(.no-select) td:last-child:not(.exclude-select),
table.dataTable.select tbody tr:not(.no-select) td:first-child {
    cursor: pointer;
}

table.dataTable.select tbody tr:not(.no-select):hover:not(:has(td.exclude-select)):not(.no-hover),
table.dataTable.select tbody tr:not(.no-select):has(td:not(.exclude-select)):hover:not(.no-hover),
table.dataTable.select tbody tr:not(.no-select):has(td:first-child):hover:not(.no-hover) {
    background-color: var(--haylem-hover-color); /* Couleur de surbrillance au survol */
}

table.dataTable.select tbody tr.highlighted {
    background-color: var(--haylem-active-color); /* Couleur de surbrillance active */
}

table.dataTable.select tbody tr:not(.no-select) td:last-child.exclude-select{
    background-color: white;
}

th.dt-center, td.dt-center { text-align: center; }

.btn-delete{
    color: white;
    background-color: var(--red);
    display:none;
}

.btn-active{
    color: white;
    background-color: var(--green-dark);
    margin-left: 1px !important;
    display:none;
}
