/* Form additions for the static site (public/js/site.js + public/api/form.php).
   Nothing here applies until a form is submitted, so the pages still match live. */

/* Honeypot field: off-screen for people, visible to bots. */
.jfp-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* The message that replaces a form after a successful submit. Its own navy panel
   keeps the white text readable whatever the form sits on (dark hero, blue band, white page). */
.jfp-thanks {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  padding: clamp(18px, 4vw, 32px) clamp(16px, 4vw, 40px);
  background: #001489;
  color: #fff;
  text-align: center;
  border-radius: 3px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}
.jfp-thanks:focus { outline: none; }
.jfp-thanks__title {
  margin: 0;
  color: #fff;
  font-weight: 800;
  font-size: clamp(24px, 3.2vw + 12px, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.jfp-thanks__sub {
  margin: 0;
  color: #fff;
  font-weight: 600;
  font-size: clamp(16px, 0.8vw + 12px, 20px);
  line-height: 1.4;
}

/* Short error line under a form that didn't go through. White chip so it reads on any background. */
.jfp-error {
  box-sizing: border-box;
  flex-basis: 100%;
  width: 100%;
  margin-top: 10px;
  padding: 8px 12px;
  background: #fff;
  color: #a40019;
  border-left: 4px solid #C8102E;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
