.cda-rgpd-form {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  color: #161837;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 15px;
}

.cda-rgpd-form__form {
  position: relative;
}

.cda-rgpd-form__row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  column-gap: 20px;
  align-items: center;
  margin-bottom: 14px;
}

.cda-rgpd-form__row--textarea {
  align-items: start;
}

.cda-rgpd-form__label {
  margin: 0;
  color: inherit;
  font-weight: 600;
  line-height: 1.35;
  text-align: right;
}

.cda-rgpd-form__control {
  display: block;
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 8px 12px;
  border: 1px solid #161837;
  border-radius: 0;
  outline: none;
  background: #fff;
  box-shadow: none;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.cda-rgpd-form__control:focus {
  border-color: #e7502a;
  box-shadow: 0 0 0 2px rgb(231 80 42 / 18%);
}

.cda-rgpd-form__textarea {
  min-height: 310px;
  resize: vertical;
}

.cda-rgpd-form__row--captcha {
  align-items: center;
  margin-top: 18px;
  margin-bottom: 18px;
}

.cda-rgpd-form__captcha {
  min-height: 78px;
}

.cda-rgpd-form__captcha-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  width: 304px;
  height: 78px;
  padding: 12px 54px 12px 12px;
  border: 1px solid #d5d5d5;
  border-radius: 3px;
  background: #fafafa;
  color: #222;
  font: 14px Arial, sans-serif;
}

.cda-rgpd-form__captcha-placeholder span {
  width: 28px;
  height: 28px;
  margin-right: 12px;
  border: 2px solid #555;
  background: #fff;
}

.cda-rgpd-form__captcha-placeholder strong {
  position: absolute;
  right: 8px;
  bottom: 7px;
  color: #555;
  font-size: 9px;
  font-weight: 400;
}

.cda-rgpd-form__actions {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  column-gap: 20px;
}

.cda-rgpd-form__submit {
  grid-column: 2;
  justify-self: end;
  min-width: 226px;
  min-height: 50px;
  padding: 13px 30px;
  border: 0;
  border-radius: 0;
  background: #e7502a;
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter .2s ease;
}

.cda-rgpd-form__submit:hover,
.cda-rgpd-form__submit:focus-visible {
  color: #fff;
  filter: brightness(.92);
}

.cda-rgpd-form__submit:disabled {
  cursor: default;
  opacity: .65;
}

.cda-rgpd-form__notice {
  margin: 0 0 24px 160px;
  padding: 13px 16px;
  border: 1px solid currentcolor;
  line-height: 1.5;
}

.cda-rgpd-form__notice--success {
  color: #287a42;
  background: #f0faf3;
}

.cda-rgpd-form__notice--error {
  color: #a82828;
  background: #fff4f4;
}

.cda-rgpd-form__notice--warning {
  color: #7b5910;
  background: #fff9e8;
}

.cda-rgpd-form__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (min-width: 768px) {
  .cda-rgpd-form__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 30px;
  }

  .cda-rgpd-form__row {
    display: block;
    margin-bottom: 0;
  }

  .cda-rgpd-form__label {
    display: block;
    margin-bottom: 7px;
    text-align: left;
  }

  .cda-rgpd-form__row--textarea,
  .cda-rgpd-form__row--captcha,
  .cda-rgpd-form__actions {
    grid-column: 1 / -1;
  }

  .cda-rgpd-form__actions {
    display: flex;
    justify-content: flex-end;
  }

  .cda-rgpd-form__submit {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .cda-rgpd-form__row,
  .cda-rgpd-form__actions {
    display: block;
  }

  .cda-rgpd-form__row {
    margin-bottom: 18px;
  }

  .cda-rgpd-form__label {
    display: block;
    margin-bottom: 7px;
    text-align: left;
  }

  .cda-rgpd-form__textarea {
    min-height: 220px;
  }

  .cda-rgpd-form__submit {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .cda-rgpd-form__notice {
    margin-left: 0;
  }

  .cda-rgpd-form__captcha,
  .cda-rgpd-form__captcha-placeholder {
    max-width: 100%;
  }
}
