/* ShopLens authentication screens: shared login, signup and reset treatment. */
.auth-page{
  min-height:100svh;
  padding:clamp(20px,5vw,56px);
  color:var(--sl-ink,#f3f4f6);
  background:
    radial-gradient(ellipse at 17% 22%,rgba(99,102,241,.18),transparent 34%),
    radial-gradient(ellipse at 88% 80%,rgba(139,92,246,.13),transparent 31%),
    var(--sl-shell-bg,#0b0f19);
}
.auth-page::before{
  position:fixed;inset:0;content:"";pointer-events:none;opacity:.28;
  background-image:radial-gradient(rgba(129,140,248,.5) .7px,transparent .7px);
  background-size:28px 28px;mask-image:linear-gradient(120deg,#000,transparent 70%);
}
.auth-wrap{position:relative;z-index:1;width:min(980px,100%);gap:clamp(28px,6vw,80px)}
.auth-side{color:var(--sl-ink,#f3f4f6)}
.auth-side .auth-word{font-size:clamp(32px,4vw,44px);line-height:1;letter-spacing:-.055em}
.auth-side .auth-tag{color:var(--sl-sub,#9ca3af);font-size:15px}
.auth-orb{filter:drop-shadow(0 0 35px rgba(99,102,241,.22));animation:auth-float 7s ease-in-out infinite}
.auth-orb::after{inset:28px;border-color:rgba(165,180,252,.68);box-shadow:0 0 46px rgba(99,102,241,.25),inset 0 0 30px rgba(129,140,248,.2)}
.glass.auth-card{
  width:min(460px,100%);padding:clamp(24px,4vw,38px);border-radius:26px;
  color:var(--sl-ink,#f3f4f6);
  background:rgba(20,24,43,.72);border:1px solid rgba(255,255,255,.14);
  box-shadow:0 28px 90px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.13);
  backdrop-filter:blur(28px) saturate(145%);-webkit-backdrop-filter:blur(28px) saturate(145%);
  transition:transform .25s ease,box-shadow .25s ease;
}
.glass.auth-card:hover{transform:translateY(-2px);box-shadow:0 34px 100px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.16)}
.auth-card h1{color:#f6f7ff!important;font-size:clamp(24px,3vw,29px)!important;letter-spacing:-.04em!important}
.auth-card .sub{color:#aeb5ca!important;font-size:14px!important}
.auth-field label{display:block;margin:0 0 7px;color:#c2c8d8!important;font-size:12px;font-weight:650}
.auth-field input.form-control{
  width:100%;height:52px;padding:0 15px;color:#f5f6ff!important;
  background:rgba(255,255,255,.065)!important;border:1px solid rgba(255,255,255,.13)!important;
  border-radius:15px!important;box-shadow:inset 0 1px 2px rgba(0,0,0,.12)!important;
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.auth-field input.form-control::placeholder{color:#8991a8}
.auth-field input.form-control:focus{background:rgba(255,255,255,.09)!important;border-color:rgba(129,140,248,.78)!important;box-shadow:0 0 0 4px rgba(99,102,241,.18)!important;outline:0}
.auth-card button.btn-primary{
  display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:50px;
  padding:0 18px;border:1px solid rgba(255,255,255,.18)!important;border-radius:15px!important;
  color:#fff!important;background:linear-gradient(120deg,#5858e9,#8957e8)!important;
  box-shadow:0 10px 24px rgba(91,91,240,.27),inset 0 1px 0 rgba(255,255,255,.24)!important;
  font-size:14px;font-weight:750;transition:transform .18s ease,filter .18s ease,box-shadow .18s ease;
}
.auth-card button.btn-primary:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.08);box-shadow:0 14px 30px rgba(91,91,240,.35),inset 0 1px 0 rgba(255,255,255,.3)!important}
.auth-card button.btn-primary:disabled{opacity:.65;cursor:wait}
.auth-card .linklike,.auth-card .auth-alt a{color:#aaa5ff!important}
.auth-card .linklike:hover,.auth-card .auth-alt a:hover{color:#d3caff!important}
.auth-card .auth-alt{color:#aeb5ca}
.auth-card .auth-ok,.auth-card .alert{line-height:1.5}
.auth-note{margin:0 0 16px;padding:12px 14px;border:1px solid rgba(16,185,129,.3);border-radius:13px;background:rgba(16,185,129,.1);color:#b9f6d7;font-size:13px}
.auth-note[hidden]{display:none}
.auth-card #err{color:#ffd7dc!important;background:rgba(239,68,68,.12)!important;border:1px solid rgba(248,113,113,.32)!important}
.auth-card input:-webkit-autofill,.auth-card input:-webkit-autofill:hover,.auth-card input:-webkit-autofill:focus{
  -webkit-text-fill-color:#f5f6ff!important;transition:background-color 9999s ease-out 0s;
  box-shadow:0 0 0 1000px #20243a inset!important;
}
html[data-theme="light"] .auth-page{
  color:#111827;background:
    radial-gradient(ellipse at 16% 18%,rgba(99,102,241,.16),transparent 35%),
    radial-gradient(ellipse at 90% 80%,rgba(139,92,246,.12),transparent 33%),#f2f4fb;
}
html[data-theme="light"] .auth-side{color:#111827}
html[data-theme="light"] .auth-side .auth-word{color:#111827}
html[data-theme="light"] .auth-side .auth-tag{color:#586174}
html[data-theme="light"] .auth-points li{color:#50596b}
html[data-theme="light"] .glass.auth-card{
  color:#111827;background:rgba(255,255,255,.76);border-color:rgba(255,255,255,.88);
  box-shadow:0 28px 80px rgba(49,56,91,.13),inset 0 1px 0 #fff;
}
html[data-theme="light"] .auth-card h1{color:#131625!important}
html[data-theme="light"] .auth-card .sub{color:#586174!important}
html[data-theme="light"] .auth-field label{color:#4c5569!important}
html[data-theme="light"] .auth-field input.form-control{
  color:#171b2b!important;background:rgba(239,242,251,.8)!important;
  border-color:rgba(57,67,100,.14)!important;box-shadow:inset 0 1px 2px rgba(24,34,68,.04)!important;
}
html[data-theme="light"] .auth-field input.form-control:focus{background:#fff!important;border-color:rgba(79,70,229,.55)!important;box-shadow:0 0 0 4px rgba(79,70,229,.12)!important}
html[data-theme="light"] .auth-card .auth-alt{color:#5d6678}
html[data-theme="light"] .auth-card .linklike,html[data-theme="light"] .auth-card .auth-alt a{color:#5148cf!important}
html[data-theme="light"] .auth-card .auth-note{color:#12623f}
html[data-theme="light"] .auth-card input:-webkit-autofill,html[data-theme="light"] .auth-card input:-webkit-autofill:hover,html[data-theme="light"] .auth-card input:-webkit-autofill:focus{
  -webkit-text-fill-color:#171b2b!important;box-shadow:0 0 0 1000px #eef1fa inset!important;
}
@keyframes auth-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@media(max-width:899px){.auth-page{padding:76px 18px 28px}.auth-wrap{gap:20px}.auth-side .auth-orb{width:104px;height:104px;margin-bottom:12px}.auth-orb::after{inset:20px}.auth-orb i{inset:10px}.auth-points{display:none}.auth-side .auth-tag{margin-top:6px}}
@media(max-width:480px){.auth-page{padding:70px 14px 20px;place-items:center}.auth-wrap{gap:18px}.auth-side .auth-word{font-size:30px}.auth-side .auth-orb{width:78px;height:78px;margin-bottom:7px}.auth-orb::after{inset:15px}.auth-orb i{inset:8px}.glass.auth-card{padding:23px 19px;border-radius:22px}.auth-field input.form-control{height:50px}.auth-page>a[aria-label="Back to home"]{top:12px!important;left:12px!important}}
@media(prefers-reduced-motion:reduce){.auth-orb,.glass.auth-card,.auth-field input.form-control,.auth-card button.btn-primary{animation:none;transition:none}}
