/* Login v2 — single card on a saturated blue gradient (both themes).
   Scoped to html body #authView so it wins over legacy login/router rules without touching other pages. */
html body #authView.auth-view{
  position:fixed !important;inset:0 !important;z-index:50 !important;display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;gap:22px !important;
  padding:32px 16px !important;overflow:auto !important;
  background:
    radial-gradient(1200px 600px at 85% -10%,rgba(56,189,248,.45),transparent 60%),
    radial-gradient(900px 600px at -10% 110%,rgba(14,116,144,.55),transparent 60%),
    linear-gradient(150deg,#0b3a82 0%,#0a5bb5 45%,#0b78d0 100%) !important;
  font-family:inherit !important;color:#0f2740 !important}
html body #authView.auth-view::before{content:"" !important;position:absolute !important;inset:0 !important;pointer-events:none !important;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px) !important;
  background-size:44px 44px !important;mask-image:radial-gradient(ellipse at center,#000 30%,transparent 75%) !important}
html body #authView .auth-page-logo{position:relative !important;inset:auto !important;transform:none !important;margin:0 !important;display:flex !important;justify-content:center !important;z-index:1 !important}
html body #authView .auth-page-logo-main{width:min(230px,58vw) !important;height:auto !important;filter:drop-shadow(0 6px 18px rgba(0,0,0,.25)) !important}
html body #authView .auth-lang-toggle{position:absolute !important;top:18px !important;inset-inline-start:18px !important;z-index:2 !important;display:inline-flex !important;align-items:center !important;gap:8px !important;
  padding:7px 14px !important;border-radius:999px !important;border:1px solid rgba(255,255,255,.35) !important;background:rgba(255,255,255,.12) !important;color:#fff !important;
  backdrop-filter:blur(8px) !important;cursor:pointer !important;font:inherit !important}
html body #authView .auth-lang-toggle:hover{background:rgba(255,255,255,.2) !important}
html body #authView .auth-lang-copy{display:flex !important;flex-direction:column !important;line-height:1.1 !important;text-align:start !important}
html body #authView .auth-lang-copy b{font-size:13px !important}html body #authView .auth-lang-copy small{font-size:10.5px !important;opacity:.75 !important}
html body #authView .auth-card{position:relative !important;inset:auto !important;transform:none !important;z-index:1 !important;width:min(420px,100%) !important;margin:0 !important;
  background:#fff !important;border-radius:20px !important;padding:34px 32px 28px !important;box-shadow:0 30px 70px rgba(3,24,64,.38),0 2px 0 rgba(255,255,255,.6) inset !important;border:0 !important}
html body #authView .auth-brand{text-align:center !important;margin-bottom:24px !important}
html body #authView .auth-brand h1{margin:0 !important;font-size:30px !important;font-weight:800 !important;letter-spacing:0 !important;color:#0b3a82 !important}
html body #authView .auth-brand p{margin:6px 0 0 !important;font-size:14px !important;color:#557089 !important}
html body #authView .auth-brand::after{content:"" !important;display:block !important;width:44px !important;height:3px !important;border-radius:3px !important;margin:14px auto 0 !important;background:linear-gradient(90deg,#0a5bb5,#38bdf8) !important}
html body #authView form{display:flex !important;flex-direction:column !important;gap:16px !important}
html body #authView .auth-field{display:flex !important;flex-direction:column !important;gap:7px !important;margin:0 !important}
html body #authView .auth-field-label{font-size:13px !important;font-weight:600 !important;color:#25425c !important}
html body #authView .auth-field input,html body #authView .auth-password-input input{width:100% !important;height:46px !important;border-radius:12px !important;border:1px solid #cfdbe7 !important;background:#f6f9fc !important;
  color:#0f2740 !important;padding:0 14px !important;font:inherit !important;font-size:14.5px !important;transition:border-color .15s,box-shadow .15s,background .15s !important;box-sizing:border-box !important}
html body #authView .auth-field input:focus,html body #authView .auth-password-input input:focus{outline:none !important;border-color:#0a5bb5 !important;background:#fff !important;box-shadow:0 0 0 4px rgba(10,91,181,.14) !important}
html body #authView .auth-field input::placeholder{color:#93a8bb !important}
html body #authView .auth-password-input{position:relative !important;display:block !important}
html body #authView .auth-password-input input{padding-inline-end:46px !important}
html body #authView #toggleLoginPassword{position:absolute !important;top:50% !important;inset-inline-end:8px !important;transform:translateY(-50%) !important;width:32px !important;height:32px !important;border:0 !important;border-radius:8px !important;background:transparent !important;color:#557089 !important;cursor:pointer !important;font-size:15px !important}
html body #authView #toggleLoginPassword:hover{background:#e8f0f8 !important}
html body #authView .auth-options{display:flex !important;justify-content:space-between !important;align-items:center !important;font-size:13px !important;color:#3d5a74 !important;margin:-2px 0 0 !important}
html body #authView .auth-options label{display:inline-flex !important;align-items:center !important;gap:7px !important;cursor:pointer !important}
html body #authView .auth-options input{width:16px !important;height:16px !important;accent-color:#0a5bb5 !important}
html body #authView #forgotPasswordBtn{background:none !important;border:0 !important;color:#0a5bb5 !important;font:inherit !important;font-size:13px !important;cursor:pointer !important;padding:0 !important}
html body #authView #forgotPasswordBtn:hover{text-decoration:underline !important}
html body #authView .auth-error{display:flex !important;align-items:center !important;gap:8px !important;border-radius:10px !important;padding:10px 12px !important;font-size:13px !important;background:#fdecec !important;color:#b42318 !important;border:1px solid #f7c4c0 !important;margin:0 !important}
html body #authView .auth-error.hidden{display:none !important}
html body #authView .auth-submit{height:48px !important;border:0 !important;border-radius:12px !important;font:inherit !important;font-size:15.5px !important;font-weight:700 !important;color:#fff !important;cursor:pointer !important;
  background:linear-gradient(135deg,#0a5bb5,#0b78d0) !important;box-shadow:0 10px 22px rgba(10,91,181,.35) !important;transition:transform .12s,box-shadow .12s,filter .12s !important;margin-top:4px !important}
html body #authView .auth-submit:hover{filter:brightness(1.07) !important;box-shadow:0 12px 26px rgba(10,91,181,.42) !important}
html body #authView .auth-submit:active{transform:translateY(1px) !important}
html body #authView .auth-foot{position:relative !important;z-index:1 !important;color:rgba(255,255,255,.75) !important;font-size:12px !important;text-align:center !important}
@media (max-width:480px){html body #authView .auth-card{padding:26px 20px 22px !important;border-radius:16px !important}html body #authView .auth-brand h1{font-size:26px !important}}
html body #authView .auth-card::before,html body #authView .auth-card::after{display:none !important;content:none !important}
html body #authView .auth-card{height:auto !important;max-height:none !important;min-height:0 !important;overflow:visible !important;backdrop-filter:none !important;color:#0f2740 !important}
html body #authView .auth-lang-toggle{left:auto !important;right:18px !important;width:auto !important;height:auto !important;min-width:0 !important;max-width:none !important}
html[dir="ltr"] body #authView .auth-lang-toggle{right:auto !important;left:18px !important}
html body #authView .auth-page-watermark{display:none !important}
html body #authView.auth-view{overflow-x:hidden !important}
html body #authView .auth-card,html body #authView .auth-page-logo,html body #authView .auth-foot{flex-shrink:0 !important}
html body #authView .auth-card{display:block !important}
html body #authView .auth-page-logo-main{width:min(170px,46vw) !important}
html body #authView.auth-view{justify-content:safe center !important}
html body #authView.auth-view.hidden,html body #authView.auth-view[hidden]{display:none !important}
