/* hub-form.css — the few hooks the Orb Hub forms add to live's own WPForms
 * markup (scripts/hub-forms.mjs). Everything else about the forms is styled
 * by the mirrored WPForms and Elementor sheets, exactly as on live; the
 * scaffold's lead-form.css (its own form markup) is not used on this site.
 * Shipping build only (Base.astro), on every page: the chat popups carry
 * forms everywhere. */

/* Cloudflare Turnstile renders here (explicit mode, /js/lead-form.js), above
 * the button; the managed widget is 65px tall. */
.lead-form__turnstile { margin: 15px 0 0; min-height: 65px; }
.lead-form__turnstile:empty { min-height: 0; margin: 0; }

/* the Hub's honeypot, on the forms live gave none (the chat popups) */
.lead-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* the Hub's answer when a post fails (validation, Turnstile, network) */
.lead-form__error { margin: 10px 0 0; color: #b42318; font-size: 14px; line-height: 1.4; }
.lead-form__error[hidden] { display: none; }

/* the resume: one real file input over live's drop zone */
.lead-form__upload { position: relative; }
.lead-form__file { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.lead-form__upload-name:empty { display: none; }
.lead-form__upload-name { display: block; margin-top: 6px; font-weight: 600; }

/* the chat popups' in-place confirmation (lead-form.js), as WPForms printed it */
.wpforms-confirmation-container-full { padding: 15px; }
