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

.cf7-repeater .-long {
  max-height: 340px;
}

.cf7-repeater-row {
  margin-bottom: 10px;
}

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

.cf7-repeater-row .lineItem {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.cf7-repeater-row .lineItem span {
  width: 100%;
}

.cf7-repeater-row .lineItem.flex span {
  width: 50%;
}

.cf7-repeater-row .lineItem span input {
  width: 100%;
  border: none;
  background-color: #eee;
  width: calc(100% - 20px);
  padding: 5px 10px;
  outline: none;
}

.cf7-repeater-row .lineItem span input[type="file"] {
  display: none;
}

.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;
}

.cf7-repeater-add::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;
}

.cf7-repeater-remove::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;
}
