/* Personnalisation du select */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' fill-opacity='0.8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 0.75rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

.fa-scrol {
    scrollbar-width: thin;
    scrollbar-color: #8d8f92 white;
}

.fa-scrol::-webkit-scrollbar {
    width: 6px;
}

.fa-scrol::-webkit-scrollbar-thumb {
    background-color: white;
    border-radius: 9999px;
}



/* Custom Checkbox */


.custom-checkbox {
  padding-left: 30px;
}

/* La case personnalisée */
.custom-checkbox .checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 18px;
  width: 18px;
  background-color: none;
  border: 2px solid #8b5cf6;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Le "tick" qui apparaît quand la checkbox est cochée */
.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Quand la checkbox est cochée, change la couleur de fond */
.custom-checkbox input[type="checkbox"]:checked~.checkmark {
  background-color: #8b5cf6;
}

/* Affiche le "tick" */
.custom-checkbox input[type="checkbox"]:checked~.checkmark:after {
  display: block;
}