/* Form styles adapted from the reference; scoped to the application block. */
#lead-form { text-align: left; }
#lead-form label { display: block; font-size: 14px; font-weight: 600; margin: 12px 0 6px; }
#lead-form input { width: 100%; min-height: 54px; border: 1px solid #7b8ca6; border-radius: 10px; padding: 12px 14px; background: #fff; color: var(--ink); font: 16px Onest, Arial, sans-serif; }
#lead-form input:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; }
#lead-form input[aria-invalid=true] { border-color: #ffe0dc; }
#lead-form .error { color: #ffe0dc; font-size: 13px; margin-top: 4px; }
#lead-form .error:empty { display: none; }
#lead-form .btn { width: 100%; margin-top: 18px; font-family: inherit; cursor: pointer; }
#lead-form .btn:disabled { opacity: .65; cursor: wait; }
#lead-form .btn span { position: relative; z-index: 1; }
#lead-form .consent { font-size: 12px; line-height: 1.5; color: var(--mute); margin-top: 14px; text-align: center; }
#lead-form .trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#lead-form .failure { margin-top: 16px; text-align: center; }
#lead-form .failure p { font-size: 14px; margin-bottom: 12px; }
#lead-form [hidden] { display: none !important; }

#lead-form { position: relative; max-width: 420px; margin: 26px auto 0; }
#lead-form .btn { border: 0; }
#lead-form .consent { color: #ffffffe0; }
#lead-form .failure { padding: 16px; border: 1px solid #ffffff66; border-radius: 10px; }
#lead-form .failure .btn { margin-top: 0; }
