/* SCT quote form — MetForm replacement */
.elementor-widget-sct-quote {
  display: block !important;
  width: 100%;
}

.sct-quote-form {
  width: 100%;
  max-width: 520px;
  margin-top: 4px;
}

.sct-quote-form__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 3%;
}

.sct-quote-form__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}

.sct-quote-form__field--half {
  width: 48.5%;
}

.sct-quote-form__field--full {
  width: 100%;
}

.sct-quote-form .mf-input-label {
  font-family: Cabin, Sarabun, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #092949;
}

.sct-quote-form .mf-input-required-indicator {
  color: #ef513d;
  margin-left: 2px;
}

.sct-quote-form .mf-input,
.sct-quote-form .mf-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d9e0ea !important;
  border-radius: 4px;
  background: #fff !important;
  padding: 10px 12px !important;
  min-height: 42px !important;
  height: 42px !important;
  font-family: Sarabun, Cabin, sans-serif;
  font-size: 14px !important;
  line-height: 1.35 !important;
  color: #092949;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.sct-quote-form .mf-input:focus,
.sct-quote-form .mf-textarea:focus {
  border-color: #003973;
  box-shadow: 0 0 0 3px rgba(0, 57, 115, 0.12);
}

.sct-quote-form .mf-textarea {
  min-height: 96px !important;
  height: auto !important;
  padding: 10px 12px !important;
  resize: vertical;
}

.sct-quote-form__submit {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  cursor: pointer;
  background: #ef513d !important;
  background-color: #ef513d !important;
  background-image: none !important;
  color: #fff !important;
  font-family: Cabin, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 11px 28px !important;
  border-radius: 4px;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  transition: background .2s ease, transform .15s ease;
}

.sct-quote-form__submit:hover,
.sct-quote-form__submit:focus-visible {
  background: #d64533 !important;
  background-color: #d64533 !important;
  color: #fff !important;
}

.sct-quote-form__submit:active {
  transform: translateY(1px);
}

.sct-quote-form__alert {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  font-family: Sarabun, sans-serif;
  font-size: 13px;
}

.sct-quote-form__alert--success {
  background: #e8f7ef;
  color: #146c43;
}

.sct-quote-form__alert--error {
  background: #fdecea;
  color: #b42318;
}

.sct-quote-form__alert--error ul {
  margin: 0;
  padding-left: 18px;
}

/* Contact modal: keep form compact beside the copy */
.lqd-modal .sct-quote-form {
  max-width: 100%;
}

.lqd-modal .sct-quote-form__grid {
  gap: 10px 3%;
}

.lqd-modal .sct-quote-form .mf-input,
.lqd-modal .sct-quote-form .mf-textarea {
  min-height: 40px;
  height: 40px;
  padding: 8px 11px;
  font-size: 13.5px;
}

.lqd-modal .sct-quote-form .mf-textarea {
  min-height: 88px;
  height: auto;
}

.lqd-modal .sct-quote-form__submit {
  padding: 10px 24px !important;
  font-size: 13.5px;
}

@media (max-width: 767px) {
  .sct-quote-form {
    max-width: 100%;
  }

  .sct-quote-form__field--half {
    width: 100%;
  }
}
