.bulk-edit-switch, .bulk-edit-checkbox {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.bulk-edit-switch input, .bulk-edit-checkbox input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background: linear-gradient(to right, #ff4b2b, #4b88ff);
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.switch-labels {
    display: flex;
    justify-content: space-between;
    width: 60px;
    font-size: 10px;
    position: absolute;
    top: 35px;
}

.off {
    color: red;
    margin-left: 2px;
}

.on {
    color: blue;
    margin-right: 2px;
}

/* Ajoutez ceci pour représenter l'état neutre */
.bulk-edit-switch input[type="checkbox"]:indeterminate + .slider:before,
.bulk-edit-checkbox input[type="checkbox"]:indeterminate + .slider:before {
    -webkit-transform: translateX(13px);
    -ms-transform: translateX(13px);
    transform: translateX(13px);
    background: #808080; /* Couleur grise ou autre pour indiquer l'état neutre */
}

.bulk-edit-switch input[type="checkbox"]:indeterminate + .slider,
.bulk-edit-checkbox input[type="checkbox"]:indeterminate + .slider {
    background: linear-gradient(to right, #ff4b2b, #808080, #4b88ff); /* Gradient ou autre style pour l'état mixte */
}