/* Accessibility helpers, loaded on every page: skip link, pause buttons for
   moving content, and inline form errors. Behavior lives in main.js. */

.skip_link {
  position: fixed !important;
  top: -120px; left: 16px; right: auto;
  z-index: 100000;
  padding: 12px 18px;
  border-radius: 10px;
  background: #0B1F3F !important;
  color: #fff !important;
  font: 700 15px/1.2 'Poppins', 'Heebo', sans-serif;
  text-decoration: none !important;
}
[dir="rtl"] .skip_link { left: auto; right: 16px; }
.skip_link:focus { top: 12px; outline: 3px solid #9649fb; outline-offset: 2px; }
main:focus { outline: none; }

.motion_toggle_wrap {
  display: flex !important;
  justify-content: center;
  margin: 14px auto 0 !important;
  width: 100% !important;
  position: relative;
  z-index: 3; /* above the edge fades of the logo strips */
}
.motion_toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(11,31,63,.2);
  border-radius: 999px;
  background: #fff;
  color: #0B1F3F;
  font: 600 13px/1.2 'Poppins', 'Heebo', sans-serif !important;
  cursor: pointer;
}
.motion_toggle:hover { border-color: #0B1F3F; }
.motion_toggle:focus-visible { outline: 3px solid #9649fb; outline-offset: 2px; }
.motion_toggle_icon { font-size: 11px; line-height: 1; }

.field_error {
  margin: 2px 0 0;
  color: #b42318;
  font: 600 13px/1.4 'Poppins', 'Heebo', sans-serif;
}
.form_error_summary {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fef3f2;
  color: #b42318;
  font: 600 14px/1.4 'Poppins', 'Heebo', sans-serif;
}
.form_error_summary:empty { display: none; }
[aria-invalid="true"] { border-color: #b42318 !important; }
