.back-home {
  position: absolute;
  top: 36px;
  left: 32px;
  color: #e95153;
}

*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

.dropdown {
  width: 100%;
  /* height: 40px; */
  height: 3.5rem;
  background: white;
  border-radius: 9px;
  position: relative;
  /* top: -80px; */
}

.dropdown::before {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
   translate: 0 -50%;
  z-index: 998;
  width: 12px;
  height: 12px;
  border: 2px solid grey;
  border-top: transparent;
  border-right: transparent;
  transform: rotate(-45deg);
  pointer-events: none;
  transition: all 0.2s linear;
}

.dropdown input {
  width: 100%;
  height: 100%;
  padding: 5px 10px;

  cursor: pointer;
  border: none;
  outline: none;
  /* box-shadow: 0 10px 25px rgba(124, 130, 141, 0.2); */

  /* position: absolute; */
  top: 0;
  left: 0;
  user-select: none;
}
.dropdown .options {
  width: 100%;
  padding: 8px;
  cursor: pointer;
  background: white;
  border: none;
  outline: none;
  box-shadow: 0 10px 25px rgba(124, 130, 141, 0.2);
  overflow: hidden;
  position: absolute;
  top: 100%;
  transition: all 0.2s ease;
  max-height: 0;
  opacity: 0;
  z-index: 999;
  transform: translateY(-50px);
  visibility: hidden;
  background: rgba(255, 255, 255, 1);
  /* backdrop-filter: blur(4.5px); */
  /* -webkit-backdrop-filter: blur(4.5px); */
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.dropdown .options .option {
  padding: 16px;
  border-radius: 9px;
  transition: all 0.2s ease;
  color: #292d34;
}
.dropdown .options .option:not(:last-of-type) {
  margin-bottom: 8px;
}
.dropdown .options .option:hover {
  color: white;
  background: #e95153;
  box-shadow: 0 10px 25px rgba(255, 40, 40, 0.4);
}
.dropdown.opened .options {
  opacity: 1;
  visibility: visible;
  max-height: 1000px;
  transform: translateY(0);

}
.dropdown.opened::before {
  transform: rotate(-225deg);
  top: 30px;
}

.wrapper {
  position: relative;
}


.form-step {
    display: flex;
    flex-direction: column;
    gap:2rem;
}


.form__row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.container__form {
    width: 100%;
    background-color: #f7f7f7;
    padding:0px 16px 0px 16px;
    display: flex;
    justify-content:center;
    align-items: center;
    flex-direction: column;
}
  
  .form-step {
    display: none;
  }
  
  .form-step-active {
    display: flex;
  }
  
  h2 {
    margin-bottom: 20px;
  }
  
  label {
    display: block;
    margin-bottom: 5px;
  }

  .btn-group {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin: 48px 0 96px 0;
    height: 64px;
  }

  .stepper {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: relative;
    margin-bottom: 4rem;
  }

  .stepper .filet > div {
      transform:translateY(25px);
  }

  .step__container {
    grid-column: span 1 /span 1;
    display: flex;
    justify-content: center;
  }

  .step-form {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    position: relative;
    z-index: 10;
    width: 30%;
    gap: 0.5rem;
  }

  .step-form[data-active="true"] .step__pellet p {
    color: white;
  }

  .step-form[data-active="true"] p {
    color: #e95153;
  }

  .step-form .step__pellet p {
    margin: 0;
  }

  .step-form[data-active="true"] .step__pellet {
    background-color: #e95153;
  }

  .step__pellet::before {
    content: '';
    height: 72px;
    width: 72px;
    border-radius: 72px;
    position: absolute;
    z-index: -1;
    background-color: white;
  }

  .step__pellet {
    height: 48px;
    width: 48px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e95153;
    font-weight: bold;
  }

  .step-form p {
    color: #f19394;
    font-weight: bold;
    margin: 16px 0 0 0;
  }

  .step {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 32px;
    width: 960px;
    margin: 64px 0 16px 0;
  }

  .step .filet > div {
      transform:translateY(50px);
  }


  #multiStepForm {
    width: 960px;
    margin: 96px 0 96px 0;
}

.load {
    display: flex;
    flex-direction: column;
    width: 960px;
    justify-content: center;
    align-items: center;
    margin: 0px 0 96px 0;
}

.load {
    display:none;
}

.load #img-brand {
    width: 50%;
    height: auto;
}

#loading-bar-container {
    margin: 32px 0 32px 0;
    width:280px;
    height: 32px;
}

#loading-bar {
    width:280px;
    height: 4px;
    background-color: #f19394;
}

#loading-bar-load {
    width:0;
    height: 8px;
    background-color: #e95153;
    transition: width 0.3s ease;
}

.load .cta-div {
    margin-top: 32px;
}

#load-next-btn-back {
    background-color: #d6d6d6 !important;
}

form label {
  font-weight: bold;
}

form input {
  height: 3.5rem;
  outline-color: #e95153;
  width: 100%;
  padding: 8px;
  margin-bottom: 20px;
  border: none;
}

form textarea {
  outline-color: #e95153;
}

.error-message {
  color: #e95153;
  font-size: 0.8rem;
  display: none; /* Masqué par défaut */
}

#error-container {
  display: none;
  flex-direction: column;
  gap:64px;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1020px) {
  .content-success, #multiStepForm {
      width: 720px;
  }

  .header {
    justify-content: center;
  }
}

@media (max-width: 790px) {
    .content-success, #multiStepForm {
        width: 90%;
    }

    .header {
      justify-content: end;
    }
}

@media (max-width: 400px) {
    .step .filet > div {
        width: 50px;
    }

    .step-form .step__pellet p {
      font-size: 18px;
    }

    .step-form p {
        font-size: 12px;
    }

    .back-home {
      top: 24px;
      left: 16px;
    }
}