.cf7-repeater {
  margin-bottom: 1rem;
  max-height: 350px;
  overflow: scroll;

  &.-long {
    max-height: 340px;
  }

  &::after {
    content: "";
    display: block;
    height: 70px;
    position: absolute;
    width: 100%;
    background: linear-gradient(#f8f8f800 0%, #f8f8f8 100%);
    bottom: 80px;
    left: 0;
  }
}
.cf7-repeater-row {
  margin-bottom: 10px;
}

.cf7-repeater-row + .cf7-repeater-row {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.block-cta {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.block-cta .legende {
  font-size: 0.8rem !important;
  position: relative;
  z-index: 1;
  margin-right: 0 !important;
}

.cf7-repeater-add {
  border: none;
  border: 1px solid #00aae9;
  padding: 5px 15px 5px 40px;
  background: none;
  display: flex;
  border-radius: 30px;
  position: relative;
  z-index: 1;
  height: 33px;
  align-items: center;
  gap: 15px;
  color: #00aae9;
  font-size: 0.9rem;
  margin-top: 20px;

  &::before {
    content: "+";
    width: 25px;
    color: #fff;
    height: 25px;
    border-radius: 20px;
    background-color: #00aae9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: -1;
    left: 8px;
    top: 4px;
  }
}

.cf7-repeater-remove {
  border: none;
  padding: 5px 15px 5px 40px;
  background: #333;
  display: flex;
  border-radius: 30px;
  position: relative;
  z-index: 1;
  height: 33px;
  align-items: center;
  gap: 15px;
  color: #fff;
  font-size: 0.9rem;
  margin-top: 20px;

  &::before {
    content: "-";
    width: 25px;
    height: 25px;
    border-radius: 20px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: -1;
    left: 6px;
    top: 4px;
  }
}

.cf7-repeater-row[data-index="1"] .cf7-repeater-remove {
  display: none;
}

.labelFdP {
  padding: 10px 20px !important;
  border-radius: 25px;
  border: 1px solid #000;
  color: #00a1e2 !important;
  font-size: 0.9rem !important;
  line-height: 1rem;
  width: fit-content !important;
  margin-right: 0;
  margin-left: auto;
}

.labelFdP .input {
  display: none;
}

/* N’affiche que la première ligne du repeater dans l’étape 3 */
.content-form[data-step="3"] .cf7-repeater-row:not(:first-of-type) {
  display: none;
}
