#resultats h2 {
  font-size: 20px;
}

#table-container {
  margin-top: 30px;
}
#dataTable {
  width: 100%; /* Table occupant toute la largeur du conteneur */
  color: black;
}
.dataTables_wrapper .dataTable tbody td:last-child a {
  color: #ed1c24 !important;
  text-decoration: underline !important;
}
.dataTables_wrapper .dataTable tbody td:last-child a:visited {
  color: #811f22 !important;
  text-decoration: underline !important;
}
#resultats fieldset legend {
  margin-bottom: 5px;
}

.dataTables_wrapper {
  margin-top: 15px;
}

.dataTables_wrapper label,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate .paginate_button {
  color: white !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: rgb(50, 50, 50) !important;
  border: none !important;
  background: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
  color: grey !important;
}

#filtres-form fieldset {
  border: none;
}

.other-fieldset input[type="checkbox"],
.categories-fieldset input[type="checkbox"] {
  margin-right: 5px;
}

.categories-fieldset .filter-group label {
  margin-right: 10px;
}

/**/

#filtres-form {
  display: flex; /* Utilisation de flexbox pour aligner les fieldsets */
  margin-top: 10px;
}

.other-fieldset {
  flex: 1; /* Chaque fieldset occupe le même espace disponible */
}

.filter-group {
  display: inline; /* Utilisation de flexbox pour aligner les éléments à l'intérieur des colonnes */
  flex-direction: column; /* Aligner les éléments en colonne */
}

.checkbox-column {
  display: inline-block !important; /* Afficher les colonnes en ligne */
  vertical-align: top; /* Aligner les colonnes en haut */
  margin-right: 20px; /* Espacement entre les colonnes */
}

.filter-group input[type="checkbox"] {
  -webkit-appearance: none; /* Supprime l'apparence par défaut des cases à cocher */
  -moz-appearance: none;
  appearance: none;
  width: 14px; /* Taille de la case à cocher personnalisée */
  height: 14px;
  border: 2px solid #333; /* Bordure personnalisée */
  border-radius: 3px; /* Coins arrondis */
  outline: none; /* Supprime la bordure de focus */
  vertical-align: middle; /* Ajuste l'alignement vertical */
  transition: all 0.3s; /* Transition fluide lors du changement */
}

/* Style de la case à cocher lorsqu'elle est cochée */
.filter-group input[type="checkbox"]:checked {
  background-color: #ed1c24; /* Couleur de fond personnalisée lorsqu'elle est cochée */
  border-color: #ed1c24; /* Couleur de bordure personnalisée lorsqu'elle est cochée */
}
.filter-group input[type="checkbox"]:checked::after {
  content: "✔";
  display: block;
  /*vertical-align: top; /* Centrer verticalement */
  text-align: center;
  line-height: 1; /* Réinitialiser la hauteur de ligne */
  color: white;
  font-size: 10px;
}

.filter-group label {
  vertical-align: middle; /* Ajuste l'alignement vertical pour aligner avec la case à cocher */
}

.dataTables_wrapper .dataTables_length select {
  color: white;
  background-color: #a00309;
}

.dataTables_wrapper .dataTables_filter input:focus-visible {
  border-color: black;
  outline: none; /* Supprime le contour de la bordure */
  color: white;
  background-color: #a00309;
}
