.dinf-sort-button {
    padding-inline: 6px;
    padding: 0 3px 0 4px;
    vertical-align: 0;
    color: #018841;
}

.dinf-filter-button {
    padding-inline: 0;
    padding: 0 3px 0 4px;
    vertical-align: 0;
    color: #018841;
}

.dinf-filter-button:focus, .dinf-sort-button:focus {
    border-radius: 0.2rem;
    border: 2px solid black;
    outline: none; /* Style pour le focus clavier */
    box-shadow: none;
}

.dinf-filter-button:hover, .dinf-sort-button:hover {
    cursor: pointer;
    color: #018841;
}

table.dinf-table-sortable th span.dinf-filter-button button.dropdown-toggle {
    padding: 0;
    border: none;
    background-color: transparent;
    color: #018841;
}

table.dinf-table-sortable th span.dinf-filter-button button.dropdown-toggle::after {
    border: 0;
    vertical-align: 0;
    margin: 0;
}

table.dinf-table-sortable th span.dinf-filter-button div.dropdown-menu {
    padding: 0;
    box-shadow: rgba(50, 50, 93, 0.25) 0 13px 27px -5px, rgba(0, 0, 0, 0.3) 0 8px 16px -8px;
}

table.dinf-table-sortable.dinf-table-striped tbody tr:nth-child(odd of :not([hidden])) > * {
    --bs-table-color-type: var(--bs-table-striped-color);
    --bs-table-bg-type: var(--bs-table-striped-bg);
}

table.dinf-table-sortable.dinf-table-striped tbody tr:nth-child(even of :not([hidden])) > * {
    --bs-table-color-type: var(--bs-table-color);
    --bs-table-bg-type: var(--bs-table-bg);
}

table[data-row-group="2"].dinf-table-sortable.dinf-table-striped tbody tr:nth-child(4n+1 of :not([hidden])) > *,
table[data-row-group="2"].dinf-table-sortable.dinf-table-striped tbody tr:nth-child(4n+2 of :not([hidden])) > * {
    --bs-table-color-type: var(--bs-table-striped-color);
    --bs-table-bg-type: var(--bs-table-striped-bg);
}

table[data-row-group="2"].dinf-table-sortable.dinf-table-striped tbody tr:nth-child(4n+3 of :not([hidden])) > *,
table[data-row-group="2"].dinf-table-sortable.dinf-table-striped tbody tr:nth-child(4n+4 of :not([hidden])) > * {
    --bs-table-color-type: var(--bs-table-color);
    --bs-table-bg-type: var(--bs-table-bg);
}

