body {
  margin: 0;
  font-family: "Ridley";
  color: #333;
  background-color: #f8f5f0;
  text-align: center;
}

@media (min-width: 769px) {
  .langue {
    width: 600px;
  }
}

.langue {
  margin: auto;
  text-align: left;
  display: flex;
  gap: 10px;
  margin-bottom: 5px;
  cursor: pointer;
}

@media (min-width: 769px) {
  .mobile {
    display: none;
  }
}

@media (max-width: 768px) {
  .desktop {
    display: none;
  }
  .langue {
    margin-left: 25px;
  }
}

.container {
  padding: 1rem 1rem 2rem 1rem;
  background: #f5c66c;
  margin: auto;
  border-radius: 0px 0px 30px 30px;
  min-height: 400px;
  text-align: left;
}

@media (min-width: 769px) {
  .container {
    display: flex;
    justify-content: center;
    width: 600px;
  }
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
}

.step {
  display: none;
  flex-direction: column;
  gap: 1.3rem;
  animation: fade 0.5s ease forwards;
}

.step.active {
  display: flex;
}

button {
  width: 70%;
  margin: auto;
}
input,
textarea,
button {
  padding: 0.7rem 0.8rem 0.7rem 0.8rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  max-width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
}

input {
  height: 20px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
}

input::placeholder,
textarea::placeholder,
input[type="date"] {
  color: rgba(255, 255, 255, 0.7);
  font-family: "Ridley";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

select {
  padding: 0.7rem 1rem 0.7rem 0.8rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  max-width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  color: #6d6d6d !important;
  font-family: "Ridley";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  appearance: none; /* Chrome/Edge */
  -webkit-appearance: none; /* Safari */
  -moz-appearance: none; /* Firefox */
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20fill%3D%22white%22%20viewBox%3D%220%200%2020%2020%22%20xmlns%3D%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M7%207l5%205%205-5H7z%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.3rem center;
  background-size: 1rem;
  cursor: pointer;
}

select option {
  background-color: white;
  color: #333;
  font-weight: normal;
}

input.filled,
textarea.filled,
input[type="date"] {
  font-family: "Ridley";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  color: #6d6d6d !important;
}

.col_prenom input,
.col_emp input {
  height: 42.38px;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 600;
  font-family: "Ridley";
}

/* input[type="date"].has-value {
  color: rgb(27, 27, 27) !important;
} */

.button_submit {
  background: #0f265c;
  color: white;
  cursor: pointer;
  /* margin-top: 1rem; */
  font-family: "Montserrat";
}

.success {
  text-align: center;
}

.form_2col {
  display: flex;
  gap: 3%; /* espace horizontal */
  width: 100%;
}

/* @media (min-width:769px){
  .bloc_naissance_age{
      display: flex;
    gap: 3%; 
    width: 100%;
  }
} */

.cell_col_2 {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.col_prenom {
  flex-basis: 70%;
  flex-grow: 0;
  flex-shrink: 0;
}

.col_emp {
  flex-basis: 27%;
  flex-grow: 0;
  flex-shrink: 0;
}

.col_date1 {
  flex-basis: 48.5%;
  flex-grow: 0;
  flex-shrink: 0;
}

.col_date2 {
  flex-basis: 48.5%;
  flex-grow: 0;
  flex-shrink: 0;
}

.col_age {
  flex-basis: 63%;
  flex-grow: 0;
  flex-shrink: 0;
}

.col_date_naissance {
  flex-basis: 34%;
  flex-grow: 0;
  flex-shrink: 0;
  max-width: 34%;
}

@media (max-width: 768px) {
  .col_age {
    flex-basis: 73%;
  }

  .col_date_naissance {
    flex-basis: 24%;
    max-width: 24%;
  }
  .jour_naissance {
    flex-basis: 22%;
    flex-grow: 0;
    flex-shrink: 0;
    max-width: 22%;
  }
  .mois_naissance {
    flex-basis: 40%;
    flex-grow: 0;
    flex-shrink: 0;
    max-width: 40%;
  }
  .year_naissance {
    flex-basis: 32%;
    flex-grow: 0;
    flex-shrink: 0;
    max-width: 32%;
  }
}

.col_prenom input,
.col_emp input,
.col_date1 input,
.col_date2 input {
  width: 100%; /* l’input remplit bien sa colonne */
  box-sizing: border-box;
}

.titre_step {
  text-align: center;
  font-family: "Bigola";
  font-size: 26px;
  color: #112b5a;
}

label {
  font-family: "Ridley";
  font-size: 16px;
  color: white;
  /* margin-left: 10px; */
  font-weight: 500;
}

.label_question {
  font-family: "Ridley";
  font-size: 16px;
  margin-bottom: 8px;
}

.back-btn {
  background: none;
  border: none;
  color: #ffffff;
  text-decoration: underline;
  font-size: 0.95rem;
  cursor: pointer;
  align-self: flex-start;
  cursor: pointer;
  font-family: "Montserrat";
}

/* Barre d'étapes */
.progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0.5;
  color: #ffffff80;
  font-size: 1rem;
  font-weight: bold;
}

.step-indicator.active {
  color: #ffffff;
}

.step-indicator .circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #0f265c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.step-indicator:not(.active) .circle {
  background: transparent;
  border: 2px solid #ffffff80;
  color: #ffffff80;
}

.line {
  height: 2px;
  background: #fff;
  flex: 0.5;
  margin: 0 0.25rem;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/*  ETAPE INSCRIPTION / DROIT A L'IMAGE */

.etape {
  display: flex;
  justify-content: space-around;
  height: 53px;
}

.etape_option {
  font-family: "Bigola";
  color: white;
  background-color: #f5c66c;
  border-radius: 30px 30px 0px 0px;
  width: 51.5%;
  text-align: center;
}

@media (max-width: 768px) {
  .etape {
    height: 60px;
  }
  .etape1 {
    left: 0;
    position: absolute;
    height: 61px;
  }
  .etape2 {
    right: 0;
    position: absolute;
    height: 61px;
  }
}
@media (min-width: 769px) {
  .etape {
    width: 632px;
    margin: auto;
  }
}

.etape_pas_actif {
  z-index: -1;
  background: #e0b461;
}

.condition_signature {
  font-family: "Ridley";
  font-weight: 400;
  font-size: 13px;
}

.pdf_texte {
  margin: 0 0 0 5px;
  font-family: "Ridley";
  font-weight: 400;
  font-size: 13px;
  color: white;
}

.imageOverlay {
  position: fixed;
  top: 0;
  left: 0;
  background-color: #0000002f;
  width: 100%;
  height: 100%;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pdf_bloc {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .img_autorisation {
    width: 100%;
  }
}

@media (min-width: 769px) {
  .img_autorisation {
    width: 700px;
  }
}

@media (min-width: 1200px) {
  .img_autorisation {
    width: 800px;
  }
}

.button_pdf {
  margin-top: 1rem;
  padding: 10px 20px;
  margin: 10px 0;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  background-color: #112b5a;
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
}

@media (max-width: 768px) {
  .desktop {
    display: none;
  }
}

input.error,
textarea.error,
select.error {
  border: 1px solid rgba(255, 0, 0, 0.493);
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-5px);
  }
  40% {
    transform: translateX(5px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
  100% {
    transform: translateX(0);
  }
}

input.error {
  animation: shake 0.4s;
}

.img_belito_mobile {
  width: 200px;
  margin: 15px auto 15px auto;
}

.error-text {
  color: rgba(255, 0, 0, 0.733);
  font-size: 14px;
  margin-top: 5px;
  font-weight: 500;
}

.lien-pdf {
  color: blue;
  text-decoration: underline;
}

/* input[type="checkbox"].error {
  outline: 1px solid rgba(255, 0, 0, 0.493);
  box-shadow: 0 0 3px red;
} */

#progress-bar-wrapper {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  overflow: hidden;
  margin: 1rem auto;
}

#progress-bar {
  height: 6px;
  width: 0%;
  background-color: white;
  transition: width 0.4s ease;
}
