.popover-body {
  max-height: calc(100vh - 450px);
  overflow-y: auto;
}

 .modal-body {
  max-height: 700px;
  overflow-y: auto;
}

textarea.auto-resize {
  resize: none;
  overflow-y: hidden;
}

.form-step {
  transition: opacity 0.2s ease;
}

.cursor-pointer {
  cursor: pointer;
}


/* Désactive le vert sur la case uniquement si la checkbox n'est PAS cochée */
.was-validated .custom-control-input:valid:not(:checked) ~ .custom-control-label::before,
.custom-control-input.is-valid:not(:checked) ~ .custom-control-label::before {
  border-color: #ced4da !important;   /* bordure neutre */
  background-color: #fff !important;  /* fond neutre */
}

/* Désactive le vert sur le texte uniquement si la checkbox n'est PAS cochée */
.was-validated .custom-control-input:valid:not(:checked) ~ .custom-control-label,
.custom-control-input.is-valid:not(:checked) ~ .custom-control-label {
  color: #02438f!important; /* couleur normale */
}

/* Navigation */
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  color: #00368c !important;
  background-color: #d4e4fd !important;
  color: #154475;
  text-decoration: none;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  border-color: #e9ecef #e9ecef #dee2e6;
  background: #f5f5f5 !important;
  color: #204f0b;
}

#table_valide.table td {
   padding: 0.1rem !important;
}

