/* Authentication: sculpted surfaces, quiet motion and clear form states. */
.soft-auth-surface{--soft-bg:#e9eef1;--soft-ink:#233543;--soft-muted:#576975;--soft-accent:#096aca;--soft-shadow:#c5cfd6;--soft-highlight:#fff;--soft-line:#c4d0d8;--akr-ink:var(--soft-ink);--akr-muted:var(--soft-muted);background:var(--soft-bg);color:var(--soft-ink);color-scheme:light}
:root[data-theme=dark] .soft-auth-surface{--soft-bg:#202a35;--soft-ink:#edf4fa;--soft-muted:#aabcc9;--soft-accent:#79c6ff;--soft-shadow:#141c25;--soft-highlight:#2b3948;--soft-line:#45576a;color-scheme:dark}
.soft-auth-page{min-height:100svh;display:flex;flex-direction:column;background:var(--soft-bg);overflow:hidden}
.soft-auth-header{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:28px 4.5vw;z-index:2}
.soft-auth-header>div{display:flex;align-items:center;gap:24px}.soft-auth-header .akr-logo{color:var(--soft-ink)}
.soft-back-home{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600;color:var(--soft-muted)}.soft-back-home svg{width:16px;transform:rotate(180deg)}
.soft-auth-header .akr-theme-toggle{background:var(--soft-bg);border:0;color:var(--soft-muted);box-shadow:4px 4px 9px var(--soft-shadow),-4px -4px 9px var(--soft-highlight);border-radius:50%}
.soft-auth-main{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;padding:45px 24px 35px;isolation:isolate}
.soft-auth-stage{width:100%;max-width:438px;position:relative;perspective:1400px}
.soft-auth-card{position:relative;padding:34px 36px 27px;border-radius:32px;background:var(--soft-bg);border:1px solid color-mix(in srgb,var(--soft-highlight) 55%,transparent);box-shadow:18px 18px 44px var(--soft-shadow),-18px -18px 44px var(--soft-highlight);transform-origin:50% 45%;animation:soft-arrive .65s cubic-bezier(.2,.8,.2,1) both}
.soft-auth-emblem{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 22px;border-radius:50%;color:var(--soft-accent);background:var(--soft-bg);box-shadow:6px 6px 13px var(--soft-shadow),-6px -6px 13px var(--soft-highlight)}.soft-auth-emblem svg{width:27px;height:27px;stroke-width:1.7}
.soft-auth-content .auth-page-title{font-family:Manrope,Inter,sans-serif;color:var(--soft-ink);font-size:29px;font-weight:800;line-height:1.2;letter-spacing:-1.1px;text-align:center;margin:0}
.soft-auth-content .auth-simple-copy{margin:11px auto 0;max-width:340px;font-size:12px;line-height:1.75;color:var(--soft-muted);text-align:center}
.soft-auth-content .auth-simple-form{display:grid;gap:19px;margin-top:30px}.soft-auth-content .auth-field{display:block;position:relative;margin:0;text-align:left;min-width:0}
.soft-auth-content .auth-field>span{display:block;color:var(--soft-muted);font-size:12px;font-weight:500;margin:0 0 8px}
.soft-auth-content .auth-input-wrap{display:flex;align-items:center;position:relative;border-radius:13px;min-height:53px;background:var(--soft-bg);border:1px solid transparent;box-shadow:inset 4px 4px 9px var(--soft-shadow),inset -4px -4px 9px var(--soft-highlight);transition:box-shadow .2s,border-color .2s}
.soft-auth-content .auth-input-wrap:focus-within{border-color:var(--soft-accent);box-shadow:inset 3px 3px 7px var(--soft-shadow),inset -3px -3px 7px var(--soft-highlight),0 0 0 3px color-mix(in srgb,var(--soft-accent) 12%,transparent)}
.soft-auth-content .auth-input-wrap input{height:52px;width:100%;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:var(--soft-ink)!important;padding:0 45px 0 16px;font-size:13px;line-height:1.4;border-radius:13px}
.soft-auth-content .auth-input-wrap input::placeholder{color:var(--soft-muted)!important;opacity:.8}
.soft-auth-content .soft-field .auth-input-wrap input{padding-left:43px}
.soft-auth-content .soft-field>span{position:absolute;z-index:1;left:43px;top:18px;max-width:calc(100% - 90px);padding:0 3px;pointer-events:none;transform-origin:left center;transition:transform .18s,color .18s;white-space:nowrap}
.soft-auth-content .soft-field>span small{font-size:10px;opacity:.85;margin-left:4px}
.soft-auth-content .soft-field .auth-input-wrap input::placeholder{color:transparent!important}
.soft-auth-content .soft-field:focus-within>span,.soft-auth-content .soft-field:has(input:not(:placeholder-shown))>span{transform:translateY(-27px) scale(.85);color:var(--soft-accent);background:var(--soft-bg)}
.soft-auth-content .soft-field:focus-within input::placeholder{color:var(--soft-muted)!important;opacity:.6}
.soft-field-icon{position:absolute;left:16px;top:17px;color:var(--soft-muted);pointer-events:none;display:flex}.soft-field-icon svg{width:17px;height:17px}
.soft-field:focus-within .soft-field-icon{color:var(--soft-accent)}
.soft-auth-content .auth-eye-toggle{position:absolute;right:5px;top:5px;width:42px;height:42px;padding:12px;color:var(--soft-muted);border:0;background:transparent;border-radius:9px;display:grid;place-items:center}.soft-auth-content .auth-eye-toggle svg{width:18px;height:18px}
.soft-auth-content .auth-eye-toggle:hover{color:var(--soft-accent);background:color-mix(in srgb,var(--soft-shadow) 30%,transparent)}
.soft-auth-content .auth-field-hint,.soft-confirm-hint{display:block;color:var(--soft-muted);font-size:10px;line-height:1.5;margin:7px 0 0 3px}.soft-confirm-hint:empty{display:none}.soft-confirm-hint{color:#a32a42}
.soft-auth-content .auth-submit{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;height:51px;width:100%;margin:4px 0 0;padding:0 18px;border:1px solid transparent;border-radius:13px;background:var(--soft-bg);color:var(--soft-accent);font-weight:700;font-size:13px;box-shadow:5px 5px 12px var(--soft-shadow),-5px -5px 12px var(--soft-highlight);transition:background .22s,transform .22s,color .22s,box-shadow .22s;overflow:hidden}
.soft-auth-content .auth-submit svg{width:16px;height:16px;transition:transform .22s}
.soft-auth-content .auth-submit:hover{background:linear-gradient(110deg,#096aca,#0879a0);color:#fff;box-shadow:0 7px 18px #096aca30;transform:translateY(-2px)}.soft-auth-content .auth-submit:hover svg{transform:translateX(3px)}.soft-auth-content .auth-submit:active{transform:translateY(0);box-shadow:inset 3px 3px 8px #004e9a}
.soft-auth-content .auth-submit:disabled{opacity:.6;cursor:wait;transform:none}
.soft-auth-content .auth-switch{color:var(--soft-muted);font-size:11px;line-height:1.8;margin:24px 0 0;text-align:center}.soft-auth-content .auth-switch a{color:var(--soft-accent);font-weight:600}
.soft-auth-content .soft-auth-switch{display:flex;flex-direction:column;gap:14px;align-items:center;margin-top:25px}
.soft-auth-content .soft-switch-button{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--soft-bg);color:var(--soft-accent);box-shadow:4px 4px 9px var(--soft-shadow),-4px -4px 9px var(--soft-highlight);transition:transform .25s,box-shadow .25s}
.soft-switch-button:hover{transform:translateY(-3px) rotate(90deg)}[data-auth-mode=register] .soft-switch-button svg{transform:rotate(180deg)}[data-auth-mode=register] .soft-switch-button:hover{transform:translateX(-3px)}
.soft-auth-content .soft-switch-button:active{box-shadow:inset 3px 3px 6px var(--soft-shadow),inset -3px -3px 6px var(--soft-highlight)}
.soft-auth-content .auth-google-button{min-height:48px;padding:10px 15px;border:1px solid var(--soft-line);background:var(--soft-bg);color:var(--soft-ink);border-radius:13px;font-size:12px;margin-top:24px}
.soft-auth-content .auth-divider{margin:20px 0 0;gap:14px}.soft-auth-content .auth-divider span{background:var(--soft-line)}.soft-auth-content .auth-divider b{font-size:10px;color:var(--soft-muted);font-weight:500}
.soft-auth-content .auth-error{margin:22px 0 0;border:1px solid #b73b5550;background:#b73b550d;color:#a12c42;padding:12px 14px;font-size:12px;line-height:1.7;border-radius:12px}
.soft-auth-content .soft-auth-policy{margin-top:24px;padding:16px;text-align:center;border:1px solid var(--soft-line);border-radius:13px;font-size:12px;line-height:1.8;color:var(--soft-muted)}.soft-auth-policy strong{color:var(--soft-ink);display:block}
:root[data-theme=dark] .soft-auth-content .auth-error,:root[data-theme=dark] .soft-confirm-hint{color:#ffa5b6}
.soft-auth-assurance{display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;color:var(--soft-muted);margin:26px 0 0}.soft-auth-assurance svg{width:13px;height:13px}
.soft-auth-footer{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:25px 4.5vw;color:var(--soft-muted);font-size:10px;z-index:2}.soft-auth-footer nav{display:flex;gap:22px}.soft-auth-footer a:hover,.soft-motion-toggle:hover{color:var(--soft-accent)}
.soft-motion-toggle{background:transparent;border:0;font:inherit;color:var(--soft-muted);padding:10px 0}.soft-motion-toggle:disabled{cursor:default}
.soft-auth-shapes{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:visible}.soft-auth-shapes span{position:absolute;display:block;aspect-ratio:1;border-radius:50%;background:var(--soft-bg);box-shadow:14px 14px 32px var(--soft-shadow),-14px -14px 32px var(--soft-highlight);animation:soft-float 11s ease-in-out infinite alternate}
.soft-auth-shapes span:nth-child(1){width:165px;left:calc(50% - 450px);top:13%;animation-delay:-3s}.soft-auth-shapes span:nth-child(2){width:70px;left:calc(50% + 360px);top:6%;animation-delay:-7s}.soft-auth-shapes span:nth-child(3){width:112px;left:calc(50% + 315px);bottom:12%;animation-delay:-1s}.soft-auth-shapes span:nth-child(4){width:30px;left:calc(50% - 310px);bottom:12%;box-shadow:inset 4px 4px 8px var(--soft-shadow),inset -4px -4px 8px var(--soft-highlight)}
.soft-auth-surface a:focus-visible,.soft-auth-surface button:focus-visible{outline:2px solid var(--soft-accent);outline-offset:5px}.soft-auth-content h1:focus{outline:0}
@keyframes soft-arrive{from{opacity:0;transform:translateY(17px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes soft-float{from{transform:translateY(-9px)}to{transform:translateY(13px)}}
@media(min-width:1100px){.soft-auth-card[data-auth-mode=register]{padding-top:28px;padding-bottom:24px}.soft-auth-card[data-auth-mode=register] .soft-auth-emblem{width:58px;height:58px;margin-bottom:19px}}
@media(max-width:600px){.soft-auth-header{padding:22px}.soft-auth-header .soft-back-home{display:none}.soft-auth-main{padding:30px 25px 24px}.soft-auth-card{padding:30px 24px 25px;border-radius:26px;box-shadow:11px 11px 26px var(--soft-shadow),-11px -11px 26px var(--soft-highlight)}.soft-auth-content .auth-page-title{font-size:26px}.soft-auth-content .auth-input-wrap input{font-size:16px}.soft-auth-content .soft-field>span{font-size:12px}.soft-auth-content .auth-simple-copy{font-size:12px}.soft-auth-footer{padding:20px 24px;flex-wrap:wrap;justify-content:center;gap:12px 22px}.soft-auth-footer>span{width:100%;text-align:center}.soft-auth-shapes span:nth-child(1){width:64px;left:-22px;top:9%}.soft-auth-shapes span:nth-child(2){width:40px;left:auto;right:-18px;top:40%}.soft-auth-shapes span:nth-child(3){display:none}.soft-auth-shapes span:nth-child(4){left:20px;bottom:0}.soft-auth-emblem{width:60px;height:60px;margin-bottom:21px}}
@media(prefers-reduced-motion:reduce){.soft-auth-surface *{animation:none!important;transition:none!important}}
