html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.magnum-enquiry-form {
  display: grid;
  gap: 1rem;
}

.magnum-enquiry-form label {
  display: grid;
  gap: 0.35rem;
}

.magnum-enquiry-form input,
.magnum-enquiry-form select,
.magnum-enquiry-form textarea {
  box-sizing: border-box;
  width: 100%;
}

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

.magnum-enquiry-form button[type="submit"] {
  cursor: pointer;
}

.magnum-enquiry-form button[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.magnum-form-status {
  min-height: 1.5em;
  margin: 0;
}

.magnum-form-status[data-state="success"] {
  color: #176b35;
}

.magnum-form-status[data-state="error"] {
  color: #9e241b;
}

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

.magnum-popup {
  position: fixed;
  z-index: 1999999999;
  inset: 0;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgb(0 0 0 / 68%);
}

.magnum-popup[aria-hidden="false"] {
  display: grid;
}

.magnum-popup__dialog {
  position: relative;
  width: min(100%, 32rem);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  box-sizing: border-box;
  padding: 2rem;
  background: #fff;
  color: #111;
  box-shadow: 0 20px 70px rgb(0 0 0 / 35%);
}

.magnum-popup__close {
  position: absolute;
  top: 0.35rem;
  right: 0.45rem;
  border: 0;
  padding: 0.3rem 0.55rem;
  background: transparent;
  color: inherit;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

body.magnum-popup-open {
  overflow: hidden;
}

.magnum-turnstile {
  min-height: 65px;
}

@media (max-width: 480px) {
  .magnum-popup__dialog {
    padding: 1.5rem 1rem 1rem;
  }
}
