/* Full viewport correction: prevent narrow right-aligned page on mobile */
html {
  width: 100% !important;
  min-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
body {
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.ezozo-top-banner,
.ezozo-topbar,
.ezozo-mainnav,
.ezozo-footer {
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}
.ezozo-topbar-inner,
.ezozo-navinner,
.ezozo-footer-inner,
.ezozo-footer-bottom {
  width: 100% !important;
  max-width: 1140px;
  margin-left: auto !important;
  margin-right: auto !important;
}
.wrap {
  width: calc(100vw - 28px) !important;
  max-width: 940px !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* Responsive form fixes: mobile browsers, narrow screens and touch input */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body { min-width: 0; overflow-wrap: anywhere; }
.wrap {
  width: calc(100% - 32px);
  max-width: 940px;
  min-width: 0;
}
.panel, .hero, form, .grid, .field, .captcha { min-width: 0; }
.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { min-width: 0; }
input:not([type="checkbox"]):not([type="radio"]),
select, textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-size: 16px;
  line-height: 1.45;
}
input[type="checkbox"], input[type="radio"] {
  flex: 0 0 auto;
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin-inline: 0;
  accent-color: #4285f4;
}
.consent { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.consent span { min-width: 0; }
.human-code { max-width: 100%; height: auto; aspect-ratio: 190 / 58; }
.actions { min-width: 0; }
.submit, .back { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; }
.submit { touch-action: manipulation; }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 24px); margin: 16px auto 30px; }
  .hero, .panel { padding: 18px 16px; border-radius: 14px; }
  .hero h1 { font-size: clamp(23px, 6vw, 31px); }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .field.full { grid-column: auto; }
  .captcha { gap: 12px; }
  .actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .submit, .actions .back { width: 100%; text-align: center; }
  .ezozo-navinner { width: 100%; padding: 12px; gap: 12px; }
  .ezozo-navlinks { width: 100%; gap: 10px 12px; }
  .ezozo-navlinks a { line-height: 1.5; }
  .ezozo-topbar-inner { padding: 8px 12px; }
  .ezozo-toplinks { gap: 8px 12px; }
  .ezozo-footer-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 16px); }
  .hero, .panel { padding: 15px 12px; }
  .ezozo-brand { font-size: 20px; }
  .ezozo-brand img { width: 38px; height: 38px; }
}


/* Critical RTL mobile fix:
   The old off-screen honeypot at left:-10000px expanded the horizontal
   scrollable area. RTL browsers then opened at the far right, leaving a
   large blank area and pushing the page content off-center. */
.hp {
  left: auto !important;
  right: auto !important;
  top: 0 !important;
  inset-inline-start: auto !important;
  inset-inline-end: auto !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
html, body {
  overflow-x: clip;
}
.wrap {
  width: calc(100% - 28px) !important;
  max-width: 940px !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* V4: reset RTL root scroll origin; keep actual content direction by language. */
html {
  direction: ltr !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  scroll-behavior: auto;
}
html[lang="ar"] body { direction: rtl !important; }
html[lang="en"] body { direction: ltr !important; }
body {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: hidden !important;
}
/* Keep anti-bot honeypot off-screen without expanding document scroll width. */
.hp {
  position: fixed !important;
  left: -10000px !important;
  right: auto !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: auto !important;
  clip-path: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.ezozo-top-banner,
.ezozo-topbar,
.ezozo-mainnav,
.ezozo-footer {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.ezozo-topbar-inner,
.ezozo-navinner,
.ezozo-footer-inner,
.ezozo-footer-bottom {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.wrap {
  box-sizing: border-box !important;
  width: calc(100% - 28px) !important;
  max-width: 940px !important;
  min-width: 0 !important;
  margin: 16px auto 30px !important;
}


/* V5 definitive RTL correction.
   Override earlier conflicting V4 rules: never place honeypot at left:-10000px. */
html[lang="ar"] {
  direction: rtl !important;
}
html[lang="en"] {
  direction: ltr !important;
}
html, body {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: hidden !important;
}
body {
  margin: 0 !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
}
/* Keep the anti-bot field visually hidden without moving it off-canvas. */
.hp {
  position: absolute !important;
  inset: 0 auto auto 0 !important;
  left: 0 !important;
  right: auto !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.wrap {
  width: calc(100% - 28px) !important;
  max-width: 940px !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
