.sm-contact-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sm-simple-form {
  min-width: 0;
}

.sm-simple-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-column: 1 / -1;
  gap: 18px;
  width: 100%;
}

.sm-simple-field {
  min-width: 0;
}

.sm-simple-field-wide {
  grid-column: 1 / -1;
}

.sm-simple-field label {
  display: block;
}

.sm-simple-field input,
.sm-simple-field textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.sm-simple-field input {
  height: 46px;
  min-height: 46px !important;
  padding-top: 10px;
  padding-bottom: 10px;
}

.sm-simple-field textarea {
  min-height: 132px;
  resize: vertical;
}

.sm-simple-form-actions {
  display: flex;
  align-items: center;
  grid-column: 1 / -1;
  margin-top: 22px;
  width: 100%;
}

.sm-simple-form-actions button {
  max-width: 100%;
  white-space: nowrap;
}

.sm-field-error {
  display: block;
  margin-top: 7px;
  color: #ff766d;
  font-size: 13px;
  line-height: 1.4;
}

[data-sm-contact-form] [aria-invalid="true"] {
  border-color: #e2554d !important;
}

[data-sm-contact-form] button[aria-busy="true"] {
  cursor: wait;
  opacity: .7;
}

.sm-form-status {
  grid-column: 1 / -1;
  min-height: 1.5em;
  margin-top: 14px;
  max-width: 100%;
  overflow-wrap: break-word;
}

.sm-form-status[data-state="success"] {
  color: #82d8a8;
}

.sm-form-status[data-state="error"] {
  color: #ff766d;
}

@media (max-width: 720px) {
  .sm-simple-form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .sm-simple-field-wide {
    grid-column: auto;
  }

  .sm-simple-form-actions {
    margin-top: 18px;
  }
}
