/* Auth controls must not be clipped by the header's legacy overflow rule. */
#oraxPublicAuth > .lzx-auth-nav {overflow:visible!important;z-index:100!important}
#oraxPublicAuth .lzx-auth-lang-switcher {position:relative!important;overflow:visible!important}
#oraxPublicAuth .lzx-lang-menu {z-index:101;box-sizing:border-box;max-width:calc(100vw - 24px);background:var(--brand-surface,#111b23)!important;color:var(--brand-text,#f8fafc)!important;border-color:var(--brand-border,#303942)!important;backdrop-filter:none;box-shadow:0 14px 32px #0003}
#oraxPublicAuth .lzx-lang-menu button {color:var(--brand-text,#f8fafc)!important;min-height:44px}
#oraxPublicAuth .lzx-lang-menu small {color:var(--brand-muted,#94a3b8)!important}
#oraxPublicAuth .lzx-lang-menu button:is(:hover,:focus-visible,.is-active),
#oraxPublicAuth .lzx-lang-trigger:hover,
#oraxPublicAuth .is-open .lzx-lang-trigger {background:color-mix(in srgb,var(--brand-primary,#7c3aed) 12%,var(--brand-surface,#111b23))!important;border-color:var(--brand-primary,#7c3aed)!important;color:var(--brand-primary,#7c3aed)!important}
#oraxPublicAuth .lzx-lang-menu button.is-active i {background:var(--brand-primary,#7c3aed)!important;box-shadow:none!important}
#oraxPublicAuth .lzx-auth-field:focus-within {border-color:var(--brand-primary,#7c3aed)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--brand-primary,#7c3aed) 16%,transparent)!important}
#oraxPublicAuth .lzx-password-toggle:hover {color:var(--brand-primary,#7c3aed)!important;background:color-mix(in srgb,var(--brand-primary,#7c3aed) 10%,transparent)!important}
#oraxPublicAuth:is([data-auth-theme="light"],.theme-light-mode) .lzx-lang-menu {background:#fff!important;color:#182339!important;border-color:#dbe2ed!important}
#oraxPublicAuth:is([data-auth-theme="light"],.theme-light-mode) .lzx-lang-menu button {color:#182339!important}
#oraxPublicAuth:is([data-auth-theme="light"],.theme-light-mode) .lzx-lang-menu small {color:#57647a!important}
@media(max-width:460px){#oraxPublicAuth .lzx-lang-menu {right:auto;left:0;width:200px;transform-origin:top left}}

/* LZX V120 — mobile auth stabilization. Mobile only; desktop is untouched. */
@media (max-width: 900px){
  html{width:100%;min-height:100%;overflow-x:hidden!important;background:#050a08}
  body.lzx-auth-page{
    width:100%!important;min-height:100dvh!important;height:auto!important;
    margin:0!important;overflow-x:hidden!important;overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;overscroll-behavior-y:auto!important;
    background:#050a08!important;
  }
  body.lzx-auth-page::before{position:fixed!important;inset:0!important}
  body.lzx-auth-page .lzx-auth-nav,
  body.lzx-auth-page .lzx-min-nav{
    position:relative!important;inset:auto!important;z-index:10!important;
    width:100%!important;max-width:none!important;min-height:64px!important;height:auto!important;
    margin:0!important;padding:calc(8px + env(safe-area-inset-top)) 14px 8px!important;
    display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
    border-bottom:1px solid rgba(255,255,255,.08)!important;
    background:rgba(4,9,7,.94)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  }
  body.lzx-auth-page .lzx-public-brand{display:flex!important;align-items:center!important;min-width:0!important;flex:0 1 auto!important}
  body.lzx-auth-page .lzx-auth-logo-img{display:block!important;width:auto!important;max-width:118px!important;height:38px!important;max-height:38px!important;object-fit:contain!important}
  body.lzx-auth-page .lzx-auth-nav-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;min-width:0!important;flex:0 0 auto!important}
  body.lzx-auth-page .lzx-auth-nav-actions a{
    min-height:38px!important;padding:0 12px!important;border-radius:11px!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    font-size:12px!important;line-height:1!important;white-space:nowrap!important;text-decoration:none!important;
  }
  body.lzx-auth-page .lzx-auth-theme-toggle{
    width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
    padding:0!important;border-radius:11px!important;display:grid!important;place-items:center!important;
  }
  body.lzx-auth-page .lzx-auth-shell,
  body.lzx-auth-page .lzx-auth-compact-shell{
    width:100%!important;max-width:none!important;min-height:0!important;height:auto!important;
    margin:0!important;padding:18px 14px calc(30px + env(safe-area-inset-bottom))!important;
    display:flex!important;align-items:flex-start!important;justify-content:center!important;
    overflow:visible!important;
  }
  body.lzx-auth-page .lzx-auth-card,
  body.lzx-auth-page .lzx-auth-card.lzx-auth-card-min.lzx-auth-compact-card,
  body.lzx-auth-page.lzx-register-page .lzx-auth-card.lzx-auth-card-min.lzx-auth-compact-card{
    width:100%!important;max-width:430px!important;min-width:0!important;height:auto!important;max-height:none!important;
    margin:0 auto!important;padding:20px!important;border-radius:18px!important;overflow:visible!important;
  }
  body.lzx-auth-page .lzx-auth-card-brand{display:none!important}
  body.lzx-auth-page .lzx-min-kicker{min-height:26px!important;font-size:10px!important;margin:0 0 6px!important}
  body.lzx-auth-page .lzx-auth-card h1,
  body.lzx-auth-page .lzx-auth-compact-card h1,
  body.lzx-auth-page.lzx-register-page .lzx-auth-compact-card h1{
    margin:2px 0 7px!important;font-size:28px!important;line-height:1.08!important;letter-spacing:-.025em!important;
  }
  body.lzx-auth-page .lzx-auth-card>p,
  body.lzx-auth-page .lzx-auth-compact-card>p{
    max-width:none!important;margin:0 0 16px!important;font-size:13px!important;line-height:1.48!important;
  }
  body.lzx-auth-page .lzx-auth-form,
  body.lzx-auth-page.lzx-register-page .lzx-register-form{
    width:100%!important;display:grid!important;grid-template-columns:1fr!important;gap:10px!important;min-width:0!important;
  }
  body.lzx-auth-page.lzx-register-page .lzx-register-form .wide{grid-column:auto!important}
  body.lzx-auth-page .lzx-auth-field{
    width:100%!important;min-width:0!important;min-height:48px!important;height:auto!important;
    padding:0 12px!important;border-radius:12px!important;display:flex!important;align-items:center!important;gap:10px!important;
  }
  body.lzx-auth-page .lzx-auth-field input,
  body.lzx-auth-page .lzx-auth-field select{
    min-width:0!important;width:100%!important;height:46px!important;font-size:16px!important;line-height:1.2!important;
  }
  body.lzx-auth-page .lzx-password-toggle{
    width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;display:grid!important;place-items:center!important;
  }
  body.lzx-auth-page .material-symbols-outlined{
    font-size:0!important;line-height:0!important;letter-spacing:0!important;text-indent:0!important;overflow:hidden!important;
  }
  body.lzx-auth-page .material-symbols-outlined.lzx-auth-icon-fallback{
    display:inline-block!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;
    background-repeat:no-repeat!important;background-position:center!important;background-size:contain!important;opacity:.92!important;
  }
  body.lzx-auth-page .lzx-auth-primary{
    width:100%!important;min-height:50px!important;margin:2px 0 0!important;border-radius:12px!important;
    font-size:14px!important;line-height:1.15!important;
  }
  body.lzx-auth-page .lzx-auth-links{
    width:100%!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:7px!important;
    font-size:12px!important;line-height:1.4!important;overflow-wrap:anywhere!important;
  }
  body.lzx-auth-page .lzx-auth-error{font-size:12px!important;line-height:1.45!important;padding:10px 12px!important;border-radius:11px!important}
  body.lzx-auth-page .lzx-code-field{
    display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;grid-template-rows:auto auto!important;
    gap:0 10px!important;padding:0 12px 10px!important;align-items:center!important;
  }
  body.lzx-auth-page .lzx-code-field>input{grid-column:2!important;grid-row:1!important}
  body.lzx-auth-page .lzx-code-field>.material-symbols-outlined{grid-column:1!important;grid-row:1!important}
  body.lzx-auth-page .lzx-code-send-btn{
    grid-column:1/-1!important;grid-row:2!important;width:100%!important;min-height:40px!important;margin:0!important;
    border-radius:10px!important;font-size:12px!important;
  }
  body.lzx-auth-page .lzx-code-status{font-size:11px!important;line-height:1.35!important;margin:-2px 0 0!important}
  body.lzx-auth-page .lzx-currency-choice{width:100%!important;grid-template-columns:1fr!important;gap:8px!important}
  body.lzx-auth-page .lzx-currency-choice label{min-height:58px!important;padding:10px!important;border-radius:12px!important}
  body.lzx-auth-page .lzx-terms{font-size:11px!important;line-height:1.45!important}
}

@media (max-width: 900px) and (orientation: landscape){
  body.lzx-auth-page .lzx-auth-nav,
  body.lzx-auth-page .lzx-min-nav{min-height:52px!important;padding:6px calc(14px + env(safe-area-inset-right)) 6px calc(14px + env(safe-area-inset-left))!important}
  body.lzx-auth-page .lzx-auth-logo-img{height:32px!important;max-height:32px!important;max-width:105px!important}
  body.lzx-auth-page .lzx-auth-nav-actions a{min-height:34px!important;font-size:11px!important}
  body.lzx-auth-page .lzx-auth-theme-toggle{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}
  body.lzx-auth-page .lzx-auth-shell,
  body.lzx-auth-page .lzx-auth-compact-shell{padding:12px calc(16px + env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left))!important}
  body.lzx-auth-page .lzx-auth-card,
  body.lzx-auth-page .lzx-auth-card.lzx-auth-card-min.lzx-auth-compact-card{max-width:520px!important;padding:16px 18px!important}
  body.lzx-auth-page .lzx-auth-card h1,
  body.lzx-auth-page .lzx-auth-compact-card h1{font-size:24px!important}
  body.lzx-auth-page .lzx-auth-card>p,
  body.lzx-auth-page .lzx-auth-compact-card>p{font-size:12px!important;margin-bottom:12px!important}
  body.lzx-auth-page .lzx-auth-field{min-height:44px!important}
  body.lzx-auth-page .lzx-auth-field input,
  body.lzx-auth-page .lzx-auth-field select{height:42px!important}
  body.lzx-auth-page .lzx-auth-primary{min-height:46px!important}
}

/* The Pro pages use the installed SVG icon renderer on desktop and mobile. */
#oraxPublicAuth .ui-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 20px !important;
  min-width: 20px;
  height: 20px !important;
  font-size: 0 !important;
  background: none !important;
}
#oraxPublicAuth .ui-icon::before { display: none !important; }
#oraxPublicAuth .ui-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Extend only the public auth header to both viewport edges. */
#oraxPublicAuth > .lzx-auth-nav {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}
@media (min-width: 901px) {
  #oraxPublicAuth > .lzx-auth-nav {
    padding-inline: clamp(20px, 3vw, 56px) !important;
  }
}
@media (max-width: 460px) {
  #oraxPublicAuth > .lzx-auth-nav > .lzx-public-brand {
    flex: 0 1 112px !important;
    min-width: 0 !important;
  }
  #oraxPublicAuth > .lzx-auth-nav > .lzx-public-brand img {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    object-fit: contain !important;
    object-position: left center;
  }
}

/* Center the short login form when it fits; allow natural scrolling with the keyboard. */
@media(max-width:900px){
 body#oraxPublicAuth.lzx-login-page{display:flex!important;flex-direction:column!important;min-height:100svh!important;min-height:100dvh!important;height:auto!important}
 body#oraxPublicAuth.lzx-login-page>.lzx-auth-nav{flex:0 0 auto!important}
 body#oraxPublicAuth.lzx-login-page>.lzx-auth-shell{display:flex!important;flex-direction:column!important;flex:1 0 auto!important;align-items:center!important;justify-content:center!important;min-height:auto!important}
 body#oraxPublicAuth.lzx-login-page .lzx-auth-card{margin-block:auto!important}
}
