/* lead-form.css — RTEC (approved change 4). The forms keep live's WPForms
 * markup (src/lib/hub-forms.mjs), so the mirrored WPForms "modern" sheets and
 * the pages' own #wpforms-N rules style them exactly as on live; this file
 * holds ONLY the hooks the Hub version adds. Shipping build only. */

/* Turnstile (managed, 300x65) takes space once it renders; 15px = WPForms'
 * own field padding above the submit container */
.lead-form__turnstile { padding: 15px 0 0; }
.lead-form__turnstile:empty { display: none; padding: 0; }

/* WPForms' own error red (#d63637, wpforms-full.min.css) */
.lead-form__error { margin: 15px 0 0; font-weight: 700; color: #d63637; }
.lead-form__error[hidden] { display: none; }

/* the drop zone keeps WPForms' box; a real file input covers it, invisible,
 * so a click or a dropped file lands on the input */
.lead-form__dropzone { position: relative; }
.lead-form__dropzone.is-dragover { border-color: #999; }
.lead-form__files {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; font-size: 0;
}
.lead-form__dropzone:focus-within { outline: 2px solid #066aab; outline-offset: 2px; }
.lead-form__upload-names { display: block; margin-top: 8px; font-size: 14px; word-break: break-word; }
.lead-form__upload-names:empty { display: none; }
