/* Inloggningssidan: helskärm, ljus, egen stil (inte appens mörka läge). */
*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body.auth{font-family:Figtree,system-ui,sans-serif;color:#15201D;background:#FFFFFF;min-height:100vh;min-height:100dvh;position:relative;overflow-x:hidden;-webkit-font-smoothing:antialiased}
.grain{position:fixed;inset:0;opacity:.16;mix-blend-mode:multiply;pointer-events:none;z-index:1}
.auth-card{position:relative;min-height:100vh;min-height:100dvh;padding:12px;display:flex;flex-wrap:wrap}
.auth-art{position:relative;flex:1 1 480px;min-width:0;min-height:220px;border-radius:20px;overflow:hidden;isolation:isolate;background:#224E4C}
/* Gradienten: tre mjuka ljusfläckar som glider långsamt (ca 9–12 s per varv). Kornet ligger still ovanpå. */
.blob{position:absolute;border-radius:50%;pointer-events:none;will-change:transform}
.blob.b1{width:150%;height:95%;left:-75%;top:-50%;background:radial-gradient(closest-side,#2AA567 0%,#278A60 40%,rgba(38,112,88,0) 100%);animation:blob1 10s ease-in-out infinite alternate}
.blob.b2{width:150%;height:90%;right:-75%;bottom:-45%;background:radial-gradient(closest-side,#2AA567 0%,#278A60 38%,rgba(38,112,88,0) 100%);animation:blob2 12s ease-in-out infinite alternate}
.blob.b3{width:90%;height:60%;right:-45%;top:-30%;background:radial-gradient(closest-side,#287C5B 0%,rgba(40,124,91,0) 100%);animation:blob3 9s ease-in-out infinite alternate}
@keyframes blob1{0%{transform:translate(0,0) scale(1)}50%{transform:translate(12%,10%) scale(1.08)}100%{transform:translate(6%,14%) scale(.95)}}
@keyframes blob2{0%{transform:translate(0,0) scale(1)}50%{transform:translate(-14%,-8%) scale(1.06)}100%{transform:translate(-8%,-14%) scale(1.04)}}
@keyframes blob3{0%{transform:translate(0,0)}100%{transform:translate(-30%,40%) scale(1.2)}}
@media (prefers-reduced-motion:reduce){.blob{animation:none}}
/* Korn ovanpå gradienten (samma brusfilter som sidan, starkare) */
.art-grain{position:absolute;inset:0;width:100%;height:100%;opacity:.42;mix-blend-mode:overlay;pointer-events:none;z-index:1}
.auth-brand{z-index:2}
.auth-brand{position:absolute;top:32px;left:36px;color:#fff;font-size:20px;font-weight:700;letter-spacing:-.01em}
.auth-side{flex:1 1 420px;min-width:0;padding:clamp(32px,5vw,72px);display:flex;align-items:center;justify-content:center}
.auth-box{width:100%;max-width:360px}
.auth-box form{display:flex;flex-direction:column;gap:18px}
.auth-box h1{margin:0 0 18px;font-size:44px;line-height:1.05;font-weight:600;letter-spacing:-.03em}
.auth-field{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:500}
.auth-field input{width:100%;height:50px;padding:0 18px;border-radius:999px;border:1px solid #C9D5D1;font:inherit;font-weight:400;font-size:15px;color:#15201D;background:#fff}
.auth-field input::placeholder{color:#7C8985}
.auth-field input:focus{outline:none;border-color:#1F6B4F;box-shadow:0 0 0 3px rgba(31,107,79,.16)}
.auth-pw{position:relative}
.auth-pw input{padding-right:52px}
.auth-eye{position:absolute;right:4px;top:3px;width:44px;height:44px;border:0;background:transparent;color:#56635F;cursor:pointer;display:grid;place-items:center;border-radius:999px}
.auth-eye .eye-on{display:none}
.auth-eye[aria-pressed="true"] .eye-on{display:block}
.auth-eye[aria-pressed="true"] .eye-off{display:none}
.auth-right{display:flex;justify-content:flex-end}
.auth-link{border:0;background:none;padding:4px 0;font:inherit;font-size:13px;font-weight:600;color:#15201D;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.auth-link:hover{color:#1F6B4F}
.auth-link.center{align-self:center}
.auth-hint{margin:0;font-size:13px;line-height:1.5;color:#56635F}
.auth-btn{height:52px;margin-top:8px;border:0;border-radius:999px;background:#15201D;color:#fff;font:inherit;font-size:15px;font-weight:600;cursor:pointer;transition:background .15s}
.auth-btn:hover{background:#26332F}
.auth-btn:disabled{opacity:.6;cursor:default}
.auth-note{padding:12px 16px;border-radius:14px;font-size:14px;line-height:1.4}
.auth-note.err{background:#FBEDEA;color:#8A2A1A}
.auth-note.ok{background:#E3F2EC;color:#1B5040;margin-bottom:18px}
button:focus-visible,.auth-link:focus-visible{outline:2px solid #1F6B4F;outline-offset:2px}
[hidden]{display:none !important}
@media (max-width:820px){.auth-card{padding:8px;align-content:flex-start}.auth-art{min-height:160px;flex:0 0 100%}.auth-brand{top:20px;left:24px}.auth-box h1{font-size:36px}}
