#main {
  width: 50%;
  margin: auto;
}

input:not(
    .checkbox input,
    .radio-group input[type="radio"],
    .checkbox-group input
  ) {
  display: block;
  width: 50%;
  margin-top: 5px;
  margin-bottom: 5px;
  border: 1px solid lightgrey;
  border-radius: 5px;
}

.page {
  display: none;
}

header {
  display: flex;
  justify-content: space-between;
}

.page-num {
  border: 6px solid #ffdf4c;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  text-align: center;
  padding: 10px;
  font-size: 2.3vh;
}

.active {
  color: white;
  background-color: #afda84;
}

.next {
  min-width: 200px;
  min-height: 10px;
  font-family: "Nunito", sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-weight: 700;
  color: #ffffff;
  background: #87c846;
  border: none;
  border-radius: 1000px;
  box-shadow: 12px 12px 24px rgb(46 127 192);
  transition: all 0.3s ease-in-out 0s;
  cursor: pointer;
  outline: none;
  position: relative;
  padding: 10px;
}

.prev {
  min-width: 200px;
  min-height: 10px;
  font-family: "Nunito", sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-weight: 700;
  color: #ffffff;
  background: #87c846;
  border: none;
  border-radius: 1000px;
  box-shadow: 12px 12px 24px rgb(46 127 192);
  transition: all 0.3s ease-in-out 0s;
  cursor: pointer;
  outline: none;
  position: relative;
  padding: 10px;
}

.submit {
  min-width: 200px;
  min-height: 10px;
  font-family: "Nunito", sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-weight: 700;
  color: #ffffff;
  background: #ffdf4c;
  border: none;
  border-radius: 1000px;
  box-shadow: 12px 12px 24px rgb(46 127 192);
  transition: all 0.3s ease-in-out 0s;
  cursor: pointer;
  outline: none;
  position: relative;
  padding: 10px;
}
input:not(.checkbox input):invalid {
  border: red solid 3px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.checkbox input {
  display: block;
  width: 5%;
  margin-top: 5px;
  margin-bottom: 5px;
  border: 1px solid lightgrey;
  border-radius: 5px;
}
.checkbox input[type="checkbox"] {
  margin-top: 4px; /* Alignement vertical de la checkbox avec le contenu */
}

.text-container {
  display: flex;
  flex-direction: column; /* Aligne le label et le paragraphe en colonne */
}

.checkbox label {
  margin: 0; /* Supprime les marges par défaut */
}

.checkbox p {
  margin: 5px 0 0; /* Ajoute un léger espace au-dessus du paragraphe */
  font-size: 0.9rem; /* Réduit légèrement la taille du paragraphe */
}

.checkbox a {
  color: #007bff; /* Couleur bleue pour le lien */
  text-decoration: none;
}

.checkbox a:hover {
  text-decoration: underline; /* Soulignement au survol */
}
/* style doform */
.form-section {
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
}

.form-section .checkbox-group,
.form-section .radio-group,
.form-section .input-group,
.form-section .textarea-group {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.form-section input[type="text"],
.form-section textarea {
  margin-left: 10px;
  padding: 5px;
  width: 300px;
}

.form-section textarea {
  height: 60px;
}
.form-section label {
  margin-top: 10px;
}
.form-section .date-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section .date-group label {
  margin-left: 0;
}
.line {
  border: 1px solid lightgrey;
}
.text_footer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  text-align: center;
}
.page_dmg .bg-dark {
  font-family: inherit !important; /* Réinitialise le font-family à celui du parent */
}
.page_dmg .navbar p {
  margin: 0 !important;
}
   