/*
 * The ev-forms hooks on step 5, in the wizard's own look. The wizard's
 * stylesheet and inline block style every visible control already; this file
 * only places the slots ev-forms.js writes into and hides the ones nobody
 * should see.
 *
 * `header.php`'s inline block sets `p { color: #000 !important }`, so the error
 * rules below carry `!important` too and win on specificity.
 */

/*
 * The honeypot, `display: none` as the estate's `ev-forms.css` has it, never
 * an off-screen box. Chrome, 1Password, Bitwarden and Dashlane fill an
 * off-screen input named `website` for a real visitor, and ev-form-api then
 * drops that submission silently. ev-lps moved its honeypot to `display: none`
 * on 2026-06-18 and logged zero organic trips over the 71 days after, so the
 * bot catch did not move while the lost leads stopped. Off-screen positioning
 * also widens the page under `dir="rtl"`: the Arabic step 5 measured 11,300 px
 * wide on desktop. `check-pages.mjs` gates this rule.
 */
.evf .evf-hp {
  display: none;
}

.evf .evf-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.evf .evf-field p.evf-error,
.evf p.evf-status.is-error {
  clear: both;
  margin: 6px 0 0;
  color: #d93025 !important;
  font-family:
    nexa regular,
    sans-serif;
  font-size: 13px;
}

.evf .evf-field.is-invalid input,
.evf .evf-field.is-invalid select {
  border-color: #d93025;
}

.evf .evf-field p.evf-notice {
  clear: both;
  margin: 6px 0 0;
  font-family:
    nexa regular,
    sans-serif;
  font-size: 13px;
}

.evf p.evf-status {
  margin: 12px 0 0;
  text-align: center;
  font-family:
    nexa regular,
    sans-serif;
  font-size: 14px;
}

.evf .evf-error:empty,
.evf .evf-notice:empty,
.evf .evf-status:empty {
  display: none;
}

.evf .evf-submit:disabled {
  opacity: 0.6;
  cursor: progress;
}

/*
 * ev-forms.js writes the chosen country's example number into the phone
 * placeholder. `header.php` makes every placeholder black, which would make
 * that example read as a number already typed, so this one is greyed.
 */
.evf input[name='phone']::placeholder {
  color: #8a8a8a;
}

/* The consent line was never visible on the origin, so nothing styled it. */
.evf .privacy-policy label {
  font-family:
    nexa regular,
    sans-serif;
}
