/* ─────────────────────────────────────────────────────────────────
   Bot protection on forms: the Turnstile widget and the honeypot field.
   Shared by the public site and the admin login pages.
───────────────────────────────────────────────────────────────── */

/* Turnstile. In "interaction-only" mode Cloudflare keeps its widget hidden
   unless the visitor has to tick a box, so no space is reserved here;
   the gap only appears when the widget does. */
.ts-widget {
  margin: 0;
}

.ts-widget:has(iframe:not([style*="display: none"])) {
  margin: 1rem 0 0;
}

/* Honeypot. Visitors never see it and keyboards and screen readers skip it,
   but a script that fills in every field it finds will. It is moved off screen
   rather than hidden with display:none, which some scripts check for. */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
