/* lead-form.css — PHASE 1: only the hooks LeadForm.astro adds to the WPForms
 * markup. Everything a visitor sees of a form (fields, labels, the button,
 * the upload zone's box) is still styled by the mirrored WPForms sheets and
 * the kit, exactly as on live; phase 2 replaces those and this file grows
 * into the form's whole look. Linked after the live stack, on form pages. */

/* the honeypot lives off-screen, never display:none (some bots skip those) */
.lead-form__hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Turnstile (Managed, 300x65) only takes space once it renders */
.lead-form__turnstile { padding: 15px 0; }
.lead-form__turnstile:empty { display: none; padding: 0; }

.lead-form__error { margin: 0 0 15px; font-weight: 700; color: #d63637; }
.lead-form__error[hidden] { display: none; }

.lead-form .wpforms-submit:disabled { opacity: 0.6; cursor: default; }

/* resume zone: the native file input covers WPForms' box, so click, keyboard
 * and drag-and-drop all reach it */
.lead-form__upload { position: relative; }
.lead-form__file { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.lead-form__upload-name { display: block; font-weight: 700; }
.lead-form__upload-name:empty { display: none; }
.lead-form__upload:focus-within { outline: 2px solid #066aab; outline-offset: 2px; }
