/*
 * Migration-only replacement for Duda's runtime contact-form layout CSS.
 * Keeps the original form markup, field order, sizing intent, and button styling.
 */
[id="4062473975"],
[id="4062473975"] .dmform-wrapper,
[id="4062473975"] form {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

[id="4062473975"] [hide="true"] {
  display: none !important;
}

[id="4062473975"] .spacing-container {
  display: flex;
  flex-wrap: wrap;
  margin-left: -8px;
  margin-right: -8px;
}

[id="4062473975"] .dmRespDesignCol {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 0 8px 16px;
}

[id="4062473975"] input:not([type="hidden"]):not([type="submit"]),
[id="4062473975"] textarea,
[id="4062473975"] select {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  border-radius: 0;
  background: #fff;
  color: var(--color_6);
  font-family: "Work Sans", "Work Sans Fallback", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  padding: 12px 14px;
  appearance: none;
  -webkit-appearance: none;
}

[id="4062473975"] input:not([type="hidden"]):not([type="submit"]) {
  min-height: 50px;
}

[id="4062473975"] textarea {
  min-height: 130px;
  resize: vertical;
}

[id="4062473975"] input::placeholder,
[id="4062473975"] textarea::placeholder {
  color: #777;
  opacity: 1;
}

[id="4062473975"] .dmformsubmit {
  overflow: hidden;
  box-sizing: border-box;
}

[id="4062473975"] .dmformsubmit input[type="submit"] {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--btn-text-color);
  font-family: Poppins, "Poppins Fallback", Arial, sans-serif;
  font-size: var(--btn-text-font-size);
  font-weight: var(--btn-text-font-weight);
  text-align: center;
  cursor: pointer;
}

[id="4062473975"] .dmform-success,
[id="4062473975"] .dmform-error {
  font-family: "Work Sans", "Work Sans Fallback", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  [id="4062473975"] .medium-6 {
    width: 50%;
  }

  [id="4062473975"] .medium-12 {
    width: 100%;
  }
}

@media (min-width: 1025px) {
  [id="4062473975"] .large-6 {
    width: 50%;
  }

  [id="4062473975"] .large-12 {
    width: 100%;
  }
}

@media (max-width: 767px) {
  [id="4062473975"] .small-12 {
    width: 100%;
  }

  [id="4062473975"] .spacing-container {
    margin-left: 0;
    margin-right: 0;
  }

  [id="4062473975"] .dmRespDesignCol {
    padding-left: 0;
    padding-right: 0;
  }

  [id="4062473975"] .dmformsubmit {
    width: 100% !important;
    max-width: 250px;
  }
}
