.hs-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute !important;
  top: auto;
  width: 1px;
}

.hs-form .hs-error-msgs {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

.hs-form .hs-error-msgs label,
.hs-form .hs_error_rollup label {
  color: #f2545b;
  font-size: 14px;
}

.hs-form .hs_error_rollup {
  margin: 0 0 12px;
}

.hs-form .hs-input.invalid.error {
  border-color: #f2545b;
}

.hs-form input[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.7;
}

.submitted-message {
  background-color: #e5f5ff;
  border-radius: 25px;
  font-size: 18px;
  line-height: 1.5;
  padding: 45px;
  scroll-margin-top: 120px;
}

.kennismaking-form {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 61, 102, 0.12);
  color: #222222;
  margin: 0 auto;
  max-width: 640px;
  padding: 32px;
  text-align: left;
}

.dl-consent {
  bottom: 16px;
  left: 16px;
  position: fixed;
  right: 16px;
  z-index: 99990;
}

.dl-consent[hidden],
.dl-popup[hidden] {
  display: none;
}

.dl-consent__inner {
  align-items: center;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin: 0 auto;
  max-width: 960px;
  padding: 20px 24px;
}

.dl-consent__text {
  color: #222222;
  flex: 1 1 420px;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.dl-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
}

.dl-consent__button {
  background: #0099ff;
  border: 2px solid #0099ff;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 20px;
}

.dl-consent__button:hover,
.dl-consent__button:focus {
  background: #007acc;
  border-color: #007acc;
}

.dl-consent__button--secondary {
  background: #ffffff;
  color: #007acc;
}

.dl-consent__button--secondary:hover,
.dl-consent__button--secondary:focus {
  background: #eef7ff;
  color: #007acc;
}

.dl-popup {
  background: #3d85c6;
  border-radius: 4px;
  bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  color: #ffffff;
  max-width: calc(100vw - 32px);
  opacity: 0;
  padding: 28px 24px 24px;
  position: fixed;
  right: 24px;
  text-align: center;
  transform: translateY(24px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  width: 340px;
  z-index: 99980;
}

.dl-popup.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dl-popup__close {
  background: none;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  padding: 4px 8px;
  position: absolute;
  right: 6px;
  top: 4px;
}

.dl-popup__kicker {
  font-family: Doorless, "Nunito Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.dl-popup__title {
  font-family: Doorless, "Nunito Sans", sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 12px;
}

.dl-popup__text,
.dl-popup__question {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 12px;
}

.dl-popup__button {
  background: #ffffff;
  color: #444f76;
  display: block;
  font-family: Doorless, "Nunito Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-top: 16px;
  padding: 10px 18px;
  text-decoration: none;
}

.dl-popup__button:hover,
.dl-popup__button:focus {
  background: #eef7ff;
  color: #444f76;
  text-decoration: none;
}

.dl-dialog {
  background: #0099ff;
  border: 0;
  border-radius: 16px;
  color: #ffffff;
  max-height: 92vh;
  max-width: calc(100vw - 32px);
  padding: 40px 36px 32px;
  width: 560px;
}

.dl-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.dl-dialog__close {
  background: none;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
  padding: 4px 10px;
  position: absolute;
  right: 8px;
  top: 6px;
}

.dl-dialog__title {
  color: #ffffff;
  margin: 0 0 12px;
}

.dl-dialog__intro {
  margin: 0 0 20px;
}

.dl-dialog .hs-form label,
.dl-dialog .submitted-message {
  color: #ffffff;
}

.dl-dialog .submitted-message {
  background: none;
  padding: 0;
}

.dl-dialog .hs-form .hs-error-msgs label,
.dl-dialog .hs-form .hs_error_rollup label {
  background: #ffffff;
  border-radius: 4px;
  display: inline-block;
  padding: 2px 6px;
}

.dl-dialog .hs-button {
  background: #ffffff;
  border-color: #ffffff;
  color: #0099ff;
}

.dl-demo {
  background: transparent;
  border: 0;
  max-height: none;
  max-width: none;
  overflow: visible;
  padding: 0;
  width: min(94vw, calc((100vh - 120px) * 16 / 9));
}

.dl-demo::backdrop {
  background: rgba(0, 0, 0, 0.75);
}

.dl-demo__frame {
  aspect-ratio: 16 / 9;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
}

.dl-demo__frame iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.dl-demo__close {
  background: none;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  font-size: 36px;
  line-height: 1;
  padding: 4px 8px;
  position: absolute;
  right: -4px;
  top: -48px;
}

.dl-popup__close:hover,
.dl-popup__close:focus,
.dl-popup__close:active,
.dl-dialog__close:hover,
.dl-dialog__close:focus,
.dl-dialog__close:active,
.dl-demo__close:hover,
.dl-demo__close:focus,
.dl-demo__close:active {
  background: none;
  border: 0;
  color: #ffffff;
}

.dl-popup__close:focus-visible,
.dl-dialog__close:focus-visible,
.dl-demo__close:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.error-page {
  padding: 80px 20px 120px;
  text-align: center;
}

.error-page__code {
  color: #0099ff;
  font-size: 9rem;
  font-weight: 300;
  line-height: 1;
  margin: 0 0 20px;
}

@media (max-width: 767px) {
  .dl-consent__actions {
    width: 100%;
  }

  .dl-consent__button {
    flex: 1 1 0;
  }

  .dl-popup {
    bottom: 16px;
    right: 16px;
  }

  .kennismaking-form {
    padding: 24px 20px;
  }

  .submitted-message {
    padding: 28px 24px;
  }

  .dl-dialog {
    padding: 36px 20px 24px;
  }
}

/* Vaste knop "Plan een kennismaking" onderaan op mobiel (ONI-0556 uit het child theme op HubSpot) */
#oni-0556 {
  display: none;
}

@media (max-width: 767px) {
  /* Het element zelf is een spacer onderaan de pagina, zodat de onderkant van de footer boven de balk uit kan scrollen */
  #oni-0556 {
    display: block;
    height: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  #oni-0556,
  #oni-0556 * {
    box-sizing: border-box;
  }

  #oni-0556 .oni-0556--bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px);
    box-shadow: 0 -6px 24px rgba(4, 36, 63, 0.14);
    border-top: 1px solid rgba(10, 111, 216, 0.12);
    transform: translateY(120%);
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.32s;
  }

  #oni-0556 .oni-0556--bar.is-visible {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
  }

  #oni-0556 .oni-0556--btn {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "label arrow" "sub arrow";
    align-items: center;
    align-content: center;
    column-gap: 12px;
    row-gap: 3.5px;
    min-height: 72px;
    padding: 8px 18px 8px 24px;
    border-radius: 999px;
    background: #f08a00;
    color: #fff;
    text-decoration: none;
    font-family: inherit;
    line-height: 1.2;
    box-shadow: 0 4px 12px rgba(240, 138, 0, 0.35);
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.12s ease, background-color 0.12s ease;
  }

  #oni-0556 .oni-0556--btn:hover,
  #oni-0556 .oni-0556--btn:focus {
    color: #fff;
    text-decoration: none;
  }

  #oni-0556 .oni-0556--btn:active {
    transform: scale(0.98);
    background: #d97c00;
  }

  #oni-0556 .oni-0556--btn:focus-visible {
    outline: 3px solid #0a6fd8;
    outline-offset: 3px;
  }

  #oni-0556 .oni-0556--label {
    grid-area: label;
    font-weight: 800;
    font-size: 1.15rem;
  }

  #oni-0556 .oni-0556--sub {
    grid-area: sub;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
  }

  #oni-0556 .oni-0556--arrow {
    grid-area: arrow;
    width: 50px;
    height: 50px;
    padding: 7px;
    margin-block: -7px; /* de pijl duwt de tekstregels niet uit elkaar */
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  #oni-0556 .oni-0556--bar,
  #oni-0556 .oni-0556--bar.is-visible {
    transition: none;
  }
}
