/* ==========================================================================
   ALLOut Security · Portal login, single column design (portal-login-handoff.css)
   Handoff "ALLOut Portal Registration - Login", Screen 2: Login (Customer and Partner).
   Loaded after portal-login-v3.css INSTEAD of portal-login-v4.css, only when the Login Handler
   setting "Customer and Partner login: design" is the single column, only on a portal
   (Allout_Portal_Login::enqueue_login_page_css()). Every rule needs the design's class:
   #login.allout-login--design-handoff (the card, common.php), .allout-plp--design-handoff (the
   page around it, [allout_portal_login]). v3 uses !important; these repeat it where v3 has it.
   Values are the handoff's: 4px corners everywhere, Poppins headings and buttons, Mulish text.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Tokens, and each portal's accent (Customer navy, Partner red)
   -------------------------------------------------------------------------- */
.allout-plp--design-handoff,
#login.allout-login--design-handoff {
  --h-navy-900: #081634; --h-navy-700: #14224a;
  --h-red-500: #E8323F;
  --h-link: #d11f2c; --h-link-hover: #ae1822;
  --h-blue-500: #2B4FC9; --h-ring: 0 0 0 3px rgba(43,79,201,.18);
  --h-text: #3e4658; --h-muted: #5a6379; --h-idle: #8a92a6;
  --h-border: #d2d8e4; --h-border-valid: #9fd3b4; --h-border-error: #e05560;
  --h-bg: #fbfcfd; --h-bg-error: #fff7f7;
  --h-error: #c4202c; --h-success: #1f8a4c;
  --h-box: #b8c1d1; --h-card-border: #e3e7ef; --h-panel: #f5f7fa; --h-track: #eef1f6;
  --h-font-display: 'Poppins', system-ui, sans-serif;
  --h-font-text: 'Mulish', system-ui, sans-serif;
  --h-pad: 20px;
  --h-acc: var(--h-navy-700); --h-tint: #eef2fb; --h-btn-shadow: 0 10px 22px -10px rgba(20,34,74,.6);
}
.allout-plp--design-handoff.allout-plp--partner,
#login.allout-login--design-handoff.allout-login--partner {
  --h-acc: var(--h-red-500); --h-tint: #fdeced; --h-btn-shadow: 0 10px 22px -10px rgba(232,50,63,.6);
}

/* --------------------------------------------------------------------------
   1. The page around the card: one centred column, 545px (the handoff's 520px, wider so more lines fit on one: Owner, 8 October 2026), 20px between its parts
   -------------------------------------------------------------------------- */
.allout-plp.allout-plp--design-handoff {
  box-sizing: border-box;
  display: flex; flex-direction: column; align-items: stretch; gap: 20px;
  /* 545px of column with 16px each side, so the card never meets the screen's edge (the page's own 48px does the rest on a desktop). */
  max-width: calc(545px + 32px); margin: 0 auto; padding: 40px 16px 72px;
  font-family: var(--h-font-text);
}
/* Live's Additional CSS caps the login block at 590px (.main_loginform_block): in this design the column sets the width.
   The Additional CSS itself is left as it is. */
.allout-plp.allout-plp--design-handoff .main_loginform_block { max-width: none; }
/* The page area is white (BeTheme paints the content area #fcfcfc). This page only, with the design on (body class). */
body.allout-login-design-handoff #Content { background-color: #fff !important; }
/* The builder's leftovers around the form (an empty <p>, the 50px space, the divider): the column's gap does their job. */
.allout-plp.allout-plp--design-handoff .allout-plp__form > p { margin: 0 !important; padding: 0 !important; }
.allout-plp.allout-plp--design-handoff .allout-plp__form > p:empty,
.allout-plp.allout-plp--design-handoff hr.allout-plp__space,
.allout-plp.allout-plp--design-handoff .allout-plp__divider { display: none !important; }

/* The title block: centred, 8px between heading, line and button. No icon above the title. */
.allout-plp.allout-plp--design-handoff .allout-plp__head { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
/* The heading's colour and bottom margin are the Owner's own Additional CSS (.h3-size): left as they are
   (Owner, 8 October 2026: "I wrote that - leave it be"). */
.allout-plp.allout-plp--design-handoff .allout-plp__head h3.allout-plp__title {
  margin-top: 0 !important; padding: 0;
  font-family: var(--h-font-display) !important; font-size: 26px !important; font-weight: 700 !important; line-height: 1.2 !important;
  letter-spacing: 0; text-wrap: balance;
}
.allout-plp.allout-plp--design-handoff .allout-plp__head p.allout-plp__line {
  margin: 0 !important; font-family: var(--h-font-text); font-size: 14px; line-height: 1.5; color: var(--h-text);
}
.allout-plp.allout-plp--design-handoff .allout-plp__head .button_align { margin: 0 !important; }

/* "Create an Account": the ALLOut Button the page has, drawn as the handoff's navy button with the user-plus icon after the words. */
.allout-plp.allout-plp--design-handoff .allout-plp__head a.button {
  display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 8px;
  box-sizing: border-box; height: 36px !important; min-height: 0 !important; margin: 0 !important; padding: 0 14px !important;
  background: var(--h-navy-700) !important; border: 0 !important; border-radius: 4px !important; box-shadow: none !important;
  font-family: var(--h-font-text) !important; font-size: 14px !important; font-weight: 700 !important; line-height: 1 !important;
  color: #fff !important; text-decoration: none !important; text-transform: none !important; letter-spacing: 0 !important;
  transition: background .15s;
}
.allout-plp.allout-plp--design-handoff .allout-plp__head a.button:hover { background: var(--h-navy-900) !important; color: #fff !important; }
.allout-plp.allout-plp--design-handoff .allout-plp__head a.button:focus-visible { outline: 2px solid var(--h-navy-700); outline-offset: 2px; }
.allout-plp.allout-plp--design-handoff .allout-plp__head a.button .button_label { order: 1; padding: 0 !important; margin: 0 !important; color: #fff !important; font: inherit !important; }
.allout-plp.allout-plp--design-handoff .allout-plp__head a.button .button_icon {
  order: 2; display: block !important; flex: none; width: 16px !important; height: 16px !important; margin: 0 !important; padding: 0 !important;
  background: #fff !important; border: 0 !important; box-shadow: none !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M19 8v6'/%3E%3Cpath d='M22 11h-6'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M19 8v6'/%3E%3Cpath d='M22 11h-6'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
.allout-plp.allout-plp--design-handoff .allout-plp__head a.button .button_icon i { display: none !important; }

/* --------------------------------------------------------------------------
   2. The card: white, thin edge, 4px corners, a 4px bar in the portal's colour on top
   -------------------------------------------------------------------------- */
#login.allout-login--design-handoff {
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0 0 var(--h-pad) !important;
  background: #fff !important;
  border: 1px solid var(--h-card-border) !important;
  border-radius: 4px !important;
  box-shadow: 0 10px 28px -16px rgba(20,34,74,.3) !important;
  overflow: hidden;
  color: var(--h-text);
  font-family: var(--h-font-text);
}
#login.allout-login--design-handoff::before { content: ""; display: block; height: 4px; background: var(--h-acc); }

/* The body: 16px between its parts. The form is a column; the hidden inputs and the <template> take no room. */
#login.allout-login--design-handoff .wpc_form_login {
  display: flex !important; flex-direction: column; gap: 16px;
  margin: 0 !important; padding: 0 var(--h-pad) !important;
}
#login.allout-login--design-handoff .wpc_form_login > p,
#login.allout-login--design-handoff .wpc_form_login > div { margin: 0 !important; }

/* Every link in the card, as the handoff's links: red, bold, underlined 3px below. */
#login.allout-login--design-handoff .wpc_form_login a:not(.allout-plm__btn) {
  color: var(--h-link) !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 3px;
}
#login.allout-login--design-handoff .wpc_form_login a:not(.allout-plm__btn):hover { color: var(--h-link-hover) !important; }

/* --------------------------------------------------------------------------
   3. The Note strip, across the top of the card under the bar
   -------------------------------------------------------------------------- */
#login.allout-login--design-handoff .wpc_form_login .allout-plm-strip {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 0 calc(-1 * var(--h-pad)) 4px !important;
  padding: 12px var(--h-pad);
  background: var(--h-panel);
  border-bottom: 1px solid var(--h-card-border);
}
#login.allout-login--design-handoff .allout-plm-strip__icon { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--h-navy-700); }
#login.allout-login--design-handoff .wpc_form_login p.allout-plm-strip__text { margin: 0 !important; font-size: 13px; line-height: 1.55; color: var(--h-text); }
#login.allout-login--design-handoff .allout-plm-strip__text b,
#login.allout-login--design-handoff .allout-plm-strip__text strong { color: var(--h-navy-700); font-weight: 700; }
#login.allout-login--design-handoff .allout-plm-strip__text .allout-plm-other__arrow { display: inline-block; margin-left: 4px; text-decoration: none; }

/* --------------------------------------------------------------------------
   4. The portal's heading: the icon tile and the name, a line under them
   -------------------------------------------------------------------------- */
#login.allout-login--design-handoff .allout-plm-heading { padding-bottom: 14px; border-bottom: 1px solid var(--h-card-border); }
#login.allout-login--design-handoff .allout-plm-heading__row { display: flex; gap: 10px; align-items: center; }
#login.allout-login--design-handoff .allout-plm-heading__tile {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 4px;
  background: var(--h-tint); color: var(--h-acc);
}
#login.allout-login--design-handoff .allout-plm-heading__icon { width: 18px; height: 18px; }
#login.allout-login--design-handoff .wpc_form_login h2.allout-plm-heading__title {
  margin: 0 !important; padding: 0;
  font-family: var(--h-font-display) !important; font-size: 20px !important; font-weight: 700 !important; line-height: 1.25 !important;
  letter-spacing: 0; color: var(--h-navy-900) !important;
}
#login.allout-login--design-handoff .wpc_form_login p.allout-plm-heading__desc { margin: 8px 0 0 !important; font-size: 14px; line-height: 1.5; color: var(--h-text); }
#login.allout-login--design-handoff .allout-plm-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* A message from the server (the error banner): in the card's column, its own 4px corners. */
#login.allout-login--design-handoff .wpc_form_login .allout-plm { margin: 0 !important; border-radius: 4px !important; }

/* The error itself: the Current design's banner (portal-login-v4.css 3b), which this design replaces and the
   handoff never drew, as a box in the column. Icon on the left, navy title, the navy button, the × at the top right.
   #portal-error (the error box's id) outranks v3's inline-box rules, which put the icon top right. */
#login.allout-login--design-handoff #portal-error {
  display: flex; flex-direction: row; gap: 10px; align-items: flex-start;
  position: static; box-sizing: border-box; padding: 14px 16px;
  background: #fff1f2; border: 1px solid #ffe0e2;
  font-family: var(--h-font-text); text-align: left;
}
/* The page focuses the message after a failed login (for screen readers): never an outline or ring on it. */
#login.allout-login--design-handoff #portal-error:focus,
#login.allout-login--design-handoff #portal-error:focus-visible { outline: none !important; box-shadow: none !important; }
/* The alert-circle icon, 18px, level with the title's first line. */
#login.allout-login--design-handoff #portal-error .allout-plm__icon {
  display: block; position: static; flex: none;
  width: 18px; height: 18px; margin: 1px 0 0; padding: 0;
  background: none; border: 0; border-radius: 0; color: var(--h-red-500);
}
#login.allout-login--design-handoff #portal-error .allout-plm__icon svg { display: block; width: 18px; height: 18px; }
/* The text column: title, words, button. */
#login.allout-login--design-handoff #portal-error .allout-plm__body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; padding: 0; }
#login.allout-login--design-handoff #portal-error .allout-plm__title {
  margin: 0 !important; padding: 0;
  font-family: inherit; font-size: 14px; font-weight: 800; line-height: 1.4; color: var(--h-navy-900);
}
#login.allout-login--design-handoff #portal-error .allout-plm__text { margin: 0; padding: 0; font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--h-text); }
#login.allout-login--design-handoff #portal-error .allout-plm__text .allout-plm__para + .allout-plm__para { margin-top: 6px; }
#login.allout-login--design-handoff #portal-error b,
#login.allout-login--design-handoff #portal-error u { font-weight: 700; color: var(--h-navy-900); }
/* Links in its words: navy, as on the Current banner (the card's other links are red). */
#login.allout-login--design-handoff #portal-error .allout-plm__text a { color: var(--h-navy-900) !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 2px; }
#login.allout-login--design-handoff #portal-error .allout-plm__text a:hover { color: var(--h-navy-700) !important; }
#login.allout-login--design-handoff #portal-error .allout-plm__text a:focus-visible { outline: 2px solid var(--h-blue-500); outline-offset: 2px; }
/* The button: navy, 4px corners (this design's), its words and a 14px arrow. */
#login.allout-login--design-handoff #portal-error .allout-plm__actions { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; margin: 8px 0 0; padding: 0; }
#login.allout-login--design-handoff #portal-error .allout-plm__actions .allout-plm__btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 0; margin: 0; padding: 8px 14px;
  background: var(--h-navy-900); border: 0; border-radius: 4px; box-shadow: none;
  font-family: inherit; font-size: 12px; font-weight: 800; line-height: 1.4; letter-spacing: 0;
  color: #fff; text-decoration: none;
}
#login.allout-login--design-handoff #portal-error .allout-plm__actions .allout-plm__btn::after { width: 14px; height: 14px; transition: none; }
#login.allout-login--design-handoff #portal-error .allout-plm__actions .allout-plm__btn:hover { background: var(--h-navy-700); color: #fff; text-decoration: none; }
#login.allout-login--design-handoff #portal-error .allout-plm__actions .allout-plm__btn:hover::after { transform: none; }
#login.allout-login--design-handoff #portal-error .allout-plm__actions .allout-plm__btn:focus-visible { outline: 2px solid var(--h-blue-500); outline-offset: 2px; }
#login.allout-login--design-handoff #portal-error .allout-plm__actions .allout-plm__btn.allout-plm__btn--no-arrow::after { content: none; display: none; }
/* The close (×): grey, no box, the last item of the row at the top right. Betheme styles every <button>, hence the !important. */
#login.allout-login--design-handoff #portal-error .allout-plm__close {
  display: flex; align-items: center; justify-content: center; flex: none; align-self: flex-start;
  width: 28px !important; height: 28px !important; min-width: 0 !important; min-height: 0 !important;
  margin: -5px -8px 0 0 !important; padding: 0 !important; border: 0 !important; border-radius: 4px !important;
  background: transparent !important; box-shadow: none !important; color: var(--h-muted) !important;
  line-height: 0; cursor: pointer;
}
#login.allout-login--design-handoff #portal-error .allout-plm__close:hover { color: var(--h-navy-900) !important; background: rgba(8, 22, 52, .06) !important; }
#login.allout-login--design-handoff #portal-error .allout-plm__close:focus-visible { outline: 2px solid var(--h-blue-500); outline-offset: 0; }
#login.allout-login--design-handoff #portal-error .allout-plm__close svg { display: block; width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   5. The two fields: label, the input with its icon (and tick or eye), the line under it
   -------------------------------------------------------------------------- */
#login.allout-login--design-handoff .wpc_form_login p.allout-field--handoff { display: flex; flex-direction: column; gap: 6px; margin: 0 !important; }
#login.allout-login--design-handoff .wpc_form_login .allout-field--handoff label.allout-field__label {
  display: block; margin: 0 !important; font-family: var(--h-font-text); font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--h-navy-700);
}
#login.allout-login--design-handoff .allout-field__row { position: relative; display: block; }
#login.allout-login--design-handoff .wpc_form_login .allout-field--handoff input.allout-field__input {
  display: block;
  box-sizing: border-box !important; width: 100% !important; height: 42px !important;
  margin: 0 !important; padding: 0 40px !important;
  font-family: var(--h-font-text) !important; font-size: 14px !important; line-height: 1.4 !important;
  color: var(--h-navy-700) !important; background: var(--h-bg) !important;
  border: 1px solid var(--h-border) !important; border-radius: 4px !important;
  box-shadow: none !important; outline: none !important;
  transition: border-color .15s, box-shadow .15s;
}
#login.allout-login--design-handoff .wpc_form_login .allout-field--handoff input.allout-field__input::placeholder { color: var(--h-idle); opacity: 1; }
#login.allout-login--design-handoff .wpc_form_login .allout-field--handoff input.allout-field__input:hover { border-color: var(--h-border) !important; }
/* Valid (as they type), error (once touched, or the server's red edge), focus over both. */
#login.allout-login--design-handoff .wpc_form_login .allout-field--handoff.is-valid input.allout-field__input { border-color: var(--h-border-valid) !important; }
#login.allout-login--design-handoff .wpc_form_login .allout-field--handoff.is-error input.allout-field__input,
#login.allout-login--design-handoff .wpc_form_login .allout-field--handoff input.allout-field__input.allout-field__input--error { border-color: var(--h-border-error) !important; background: var(--h-bg-error) !important; }
#login.allout-login--design-handoff .wpc_form_login .allout-field--handoff input.allout-field__input:focus {
  border-color: var(--h-blue-500) !important; box-shadow: var(--h-ring) !important; background: #fff !important;
}
#login.allout-login--design-handoff .wpc_form_login .allout-field--handoff input.allout-field__input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px var(--h-bg) inset !important; -webkit-text-fill-color: var(--h-navy-700) !important; }
#login.allout-login--design-handoff .wpc_form_login .allout-field--handoff input.allout-field__input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 100px #fff inset, var(--h-ring) !important; }

/* The leading icon: grey, navy once valid, red in error. Never takes a click. */
#login.allout-login--design-handoff .allout-field__icon {
  position: absolute; top: 50%; left: 12px; width: 16px; height: 16px; margin-top: -8px;
  color: var(--h-idle); pointer-events: none; transition: color .15s;
}
#login.allout-login--design-handoff .allout-field--handoff.is-valid .allout-field__icon { color: var(--h-navy-700); }
#login.allout-login--design-handoff .allout-field--handoff.is-error .allout-field__icon,
#login.allout-login--design-handoff .allout-field__row:has(.allout-field__input--error) .allout-field__icon { color: var(--h-error); }

/* The email's green tick, once valid. */
#login.allout-login--design-handoff .allout-field__tick {
  position: absolute; top: 50%; right: 12px; width: 16px; height: 16px; margin-top: -8px;
  color: var(--h-success); pointer-events: none; opacity: 0;
}
#login.allout-login--design-handoff .allout-field--handoff.is-valid .allout-field__tick { opacity: 1; }
/* No tick next to the server's red edge on the email (until they edit it). */
#login.allout-login--design-handoff .allout-field__row:has(.allout-field__input--error) .allout-field__tick { opacity: 0; }

/* The eye: 34x34 at the right, eye while hidden, eye-off while shown. */
#login.allout-login--design-handoff .wpc_form_login button.allout-field__eye {
  position: absolute; top: 50%; right: 4px; display: grid; place-items: center;
  width: 34px !important; height: 34px !important; min-width: 0 !important; margin: -17px 0 0 !important; padding: 0 !important;
  background: transparent !important; border: 0 !important; border-radius: 4px !important; box-shadow: none !important;
  color: var(--h-muted) !important; cursor: pointer; transition: background .15s, color .15s;
}
#login.allout-login--design-handoff .wpc_form_login button.allout-field__eye:hover { background: var(--h-track) !important; color: var(--h-navy-700) !important; }
#login.allout-login--design-handoff .wpc_form_login button.allout-field__eye:focus-visible { outline: none; box-shadow: var(--h-ring) !important; }
#login.allout-login--design-handoff .allout-field__eye svg { width: 16px; height: 16px; }
#login.allout-login--design-handoff .allout-field__eye[data-shown="false"] .allout-field__eye-hide,
#login.allout-login--design-handoff .allout-field__eye[data-shown="true"] .allout-field__eye-show { display: none; }

/* The line under a field: the alert icon and the words, red. */
#login.allout-login--design-handoff .allout-field__error:not([hidden]) {
  display: flex; gap: 6px; align-items: flex-start;
  font-family: var(--h-font-text); font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--h-error);
}
#login.allout-login--design-handoff .allout-field__error[hidden] { display: none !important; }
#login.allout-login--design-handoff .allout-field__error-icon { flex: none; width: 13px; height: 13px; margin-top: 2px; }
/* Under the Privacy Policy box, in line with its words: the handoff's -4px in a 10px column, here in the form's 16px. */
#login.allout-login--design-handoff .wpc_form_login .allout-field__error--privacy { margin: -10px 0 0 28px !important; }

/* --------------------------------------------------------------------------
   6. The two boxes: Privacy Policy and Remember me (native checkboxes, drawn)
   -------------------------------------------------------------------------- */
#login.allout-login--design-handoff .wpc_form_login p.wpc_clear,
#login.allout-login--design-handoff .wpc_form_login p.allout-remember { margin: 0 !important; }
/* The two rows 10px apart (the form's gap is 16px). */
#login.allout-login--design-handoff .wpc_form_login p.allout-remember { margin-top: -6px !important; }
#login.allout-login--design-handoff .wpc_form_login p.wpc_clear label.privacy_label,
#login.allout-login--design-handoff .wpc_form_login p.allout-remember label {
  display: block !important; position: relative; min-height: 22px; margin: 0; padding: 2px 0 2px 28px;
  font-family: var(--h-font-text); font-size: 14px; font-weight: 400; line-height: 1.3; color: var(--h-text); cursor: pointer;
}
#login.allout-login--design-handoff .wpc_form_login p label input[type="checkbox"],
#login.allout-login--design-handoff .wpc_form_login p.wpc_clear label.privacy_label input[type="checkbox"] {
  position: absolute; left: 0; top: 2px;
  -webkit-appearance: none !important; appearance: none !important;
  width: 18px !important; height: 18px !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important;
  background: #fff center / 12px no-repeat !important;
  border: 1.5px solid var(--h-box) !important; border-radius: 4px !important;
  box-shadow: none !important; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
#login.allout-login--design-handoff .wpc_form_login p label:hover input[type="checkbox"] { border-color: var(--h-box) !important; }
/* :checked and the ring name the Privacy Policy box too: its own rule above is stronger, and would keep it white. */
#login.allout-login--design-handoff .wpc_form_login p label input[type="checkbox"]:checked,
#login.allout-login--design-handoff .wpc_form_login p.wpc_clear label.privacy_label input[type="checkbox"]:checked {
  background-color: var(--h-acc) !important; border-color: var(--h-acc) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") !important;
}
#login.allout-login--design-handoff .wpc_form_login p label input[type="checkbox"]:focus-visible,
#login.allout-login--design-handoff .wpc_form_login p.wpc_clear label.privacy_label input[type="checkbox"]:focus-visible { outline: none !important; box-shadow: var(--h-ring) !important; }
/* The Privacy Policy box left unticked on LOG IN: red edge. */
#login.allout-login--design-handoff .wpc_form_login p.wpc_clear.is-error label input[type="checkbox"] { border-color: var(--h-border-error) !important; }
#login.allout-login--design-handoff .wpc_form_login .privacy_label a.privacy-policy-link { color: var(--h-link) !important; font-weight: 700; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   7. LOG IN: full width, the portal's colour, its arrow after the words
   -------------------------------------------------------------------------- */
#login.allout-login--design-handoff .wpc_form_login p.allout-submit { margin: 0 !important; padding: 0 !important; float: none !important; }
#login.allout-login--design-handoff .wpc_form_login .allout-submit button.allout-submit__btn {
  display: flex !important; align-items: center; justify-content: center; gap: 10px;
  box-sizing: border-box; width: 100% !important; height: 44px !important; margin: 0 !important; padding: 0 16px !important;
  background: var(--h-acc) !important; border: 0 !important; border-radius: 4px !important; box-shadow: var(--h-btn-shadow) !important;
  font-family: var(--h-font-display) !important; font-size: 15px !important; font-weight: 600 !important; line-height: 1 !important;
  letter-spacing: .04em !important; text-transform: uppercase !important; color: #fff !important;
  cursor: pointer; transition: filter .15s, transform .1s;
}
#login.allout-login--design-handoff .wpc_form_login .allout-submit button.allout-submit__btn:hover { filter: brightness(.9); }
#login.allout-login--design-handoff .wpc_form_login .allout-submit button.allout-submit__btn:active { transform: translateY(1px); }
#login.allout-login--design-handoff .wpc_form_login .allout-submit button.allout-submit__btn:focus-visible { outline: 2px solid var(--h-navy-900) !important; outline-offset: 3px !important; }
#login.allout-login--design-handoff .allout-submit__icon { flex: none; width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   8. The footer row: "Lost your password?" with the key icon
   -------------------------------------------------------------------------- */
#login.allout-login--design-handoff p.allout-lostpass {
  margin: 16px var(--h-pad) 0 !important; padding: 14px 0 0 !important;
  border-top: 1px solid var(--h-card-border); text-align: left;
  font-family: var(--h-font-text); font-size: 14px; line-height: 1.4;
}
#login.allout-login--design-handoff p.allout-lostpass a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 0;
  color: var(--h-navy-700) !important; font-weight: 700; text-decoration: none !important;
}
#login.allout-login--design-handoff p.allout-lostpass a span { text-decoration: underline; text-underline-offset: 3px; }
#login.allout-login--design-handoff p.allout-lostpass a:hover { color: var(--h-navy-900) !important; }
#login.allout-login--design-handoff .allout-lostpass__icon { flex: none; width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   9. Phone (480px and under): smaller heading, tighter card, the column full width
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .allout-plp.allout-plp--design-handoff { max-width: 100%; padding: 28px 16px 72px; }
  .allout-plp.allout-plp--design-handoff .allout-plp__head h3.allout-plp__title { font-size: 22px !important; }
  .allout-plp--design-handoff,
  #login.allout-login--design-handoff { --h-pad: 16px; }
}

/* No movement for those who ask for none. */
@media (prefers-reduced-motion: reduce) {
  .allout-plp--design-handoff *,
  #login.allout-login--design-handoff,
  #login.allout-login--design-handoff * { transition: none !important; }
  #login.allout-login--design-handoff .wpc_form_login .allout-submit button.allout-submit__btn:active { transform: none; }
}
