#popupFormSection #popupForm {
  height: 100dvh;
  overflow-y: auto;
}

#popupFormSection #popupForm #popupFormWrapper .slide:first-child {
  height: auto;
  min-height: 100dvh;
  padding-block: 1.5rem;
  box-sizing: border-box;
}

#popupFormWrapper {
  position: relative;
  z-index: 2;
  margin-block: auto;
}

#popupFormSection #consultation-heading {
  line-height: 1.1;
}

#popupForm .inputDiv {
  text-align: left;
}

#popupForm label {
  position: static;
  padding: 0;
  margin-bottom: .35rem;
  color: inherit;
  background: transparent;
  white-space: normal;
}

.consultation-phone {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: .75rem;
}

#popupForm input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.consultation-consent {
  margin: .75rem 0 0;
}

.consultation-consent a,
#consultation-success a {
  color: #036e66;
  text-decoration: underline;
}

#consultation-error {
  color: #9b2626;
  margin: .5rem 0;
}

#consultation-error:empty {
  margin: 0;
}

#popupFormSection [hidden] {
  display: none !important;
}
