/* digitme-forms.css — Minimal overrides for custom form handling
 * Keeps all existing Tilda form styles intact
 * Only adds: validation states, status messages
 */

/* Validation error state — red border on inputs */
.t-input.digitme-error,
.t-input[style*="border-color: rgb(239, 68, 68)"] {
  border-color: #EF4444 !important;
  transition: border-color 0.3s ease;
}

/* Checkbox error state */
.t-checkbox__indicator[style*="border-color: rgb(239, 68, 68)"] {
  border-color: #EF4444 !important;
}

/* Button disabled state during submission */
button.t-submit:disabled,
button.t-btnflex:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Success message styling (reuse Tilda success box if present) */
.js-successbox {
  text-align: center;
  padding: 20px 0;
  font-family: 'Onest', Arial, sans-serif;
}

/* Phone field hint — hidden (phonemask auto-strips leading 0) */
.t-input-group_ph .t-input-subtitle {
  display: none !important;
}

/* T396 phone hint text on hero banners — all variations */
.t396__elem[data-elem-id="1753361828040"],
.t396__elem[data-elem-id="1753365779732"],
.t396__elem[data-elem-id="1753365889973"],
.t396__elem[data-elem-id="1753365939874"],
.t396__elem[data-elem-id="1753365977443"] {
  display: none !important;
}
