.wm-form {
  --wm-form-border: #d9dcdf;
  background: #fff;
  border: 1px solid var(--wm-form-border);
  border-radius: 1.5rem;
  box-shadow: 0 1.25rem 4rem rgb(19 22 24 / 8%);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.wm-form__grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wm-form__field {
  display: grid;
  gap: .45rem;
}

.wm-form__field--wide {
  grid-column: 1 / -1;
}

.wm-form label {
  color: #17191b;
  font-size: .94rem;
  font-weight: 700;
}

.wm-form input,
.wm-form select,
.wm-form textarea {
  background: #fbfbfb;
  border: 1px solid var(--wm-form-border);
  border-radius: .75rem;
  color: #17191b;
  font: inherit;
  min-height: 3.25rem;
  padding: .8rem .95rem;
  width: 100%;
}

.wm-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.wm-form input:focus,
.wm-form select:focus,
.wm-form textarea:focus {
  border-color: #c81010;
  box-shadow: 0 0 0 3px rgb(243 21 21 / 16%);
  outline: 0;
}

.wm-form__consent,
.wm-form__check {
  align-items: flex-start;
  display: flex !important;
  gap: .75rem;
  margin: 1.25rem 0;
}

.wm-form__consent input,
.wm-form__check input {
  flex: 0 0 auto;
  margin-top: .2rem;
  min-height: 1.15rem;
  width: 1.15rem;
}

.wm-form__notice {
  border-radius: .75rem;
  margin-bottom: 1rem;
  padding: .9rem 1rem;
}

.wm-form__notice--error {
  background: #fff0f0;
  border: 1px solid #f3a5a5;
  color: #8c0e0e;
}

.wm-form__trap {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.wm-form__required {
  color: #5b6065;
  font-size: .82rem;
  margin: .85rem 0 0;
}

@media (max-width: 720px) {
  .wm-form__grid {
    grid-template-columns: 1fr;
  }

  .wm-form__field--wide {
    grid-column: auto;
  }
}
