@import url("./theme.css");
:root {--radius:5px;--control:48px}
body {min-height:100svh;display:grid;place-items:center;padding:32px 20px;background:#0b0b0e}
body::before {content:"";position:fixed;inset:0;pointer-events:none;background:linear-gradient(180deg,#20182e55,transparent 70%)}
.login-card {position:relative;width:100%;max-width:400px;padding:40px;border:1px solid #3c354a;border-top:2px solid #8258f2;border-radius:8px;background:#121216;box-shadow:0 24px 100px #0004}
.login-mark {margin:0 0 36px;color:#bdb4fe}
.login-mark svg {width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:1.2}
label,[data-slot=label] {display:block;margin-bottom:12px;font-size:13px;font-weight:500;color:#d1cfd8}
.password-wrap {width:100%;height:52px;border:1px solid #6b6578;background:#0b0b0e;border-radius:5px;display:flex}
.password-wrap input {width:100%;min-width:0;height:50px;padding:12px 14px;border:0;background:none;font-size:16px;color:#f4f3f7;outline:none}
.password-wrap input:focus-visible {outline:none;box-shadow:none}
.password-wrap:focus-within {outline:2px solid #bdb4fe;outline-offset:3px;border-color:#bdb4fe}
.password-wrap [data-slot=input-group-addon] {padding:0 4px}
.password-wrap input[aria-invalid=true] {border-color:var(--danger)}
#reveal {width:44px;min-height:44px;padding:10px;border:0;background:none}
#reveal svg {width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.5}
.submit[data-slot=button] {width:100%;margin-top:22px;min-height:48px;justify-content:space-between;font-size:13px;letter-spacing:0}
.submit-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;padding:8px 0;text-decoration:none;border-bottom:1px solid var(--line);font-size:12px;color:var(--text)}.submit-entry svg{width:15px;height:15px}.submit-entry:hover{text-decoration:underline;text-underline-offset:4px}
.error {padding:12px;color:var(--danger);background:var(--danger-surface);border:1px solid #60303c;border-radius:5px;font-size:12px;line-height:1.6;margin:16px 0 0}
@media(max-width:480px){body{padding:24px}.login-card{padding:32px 24px}.login-mark{margin-bottom:28px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
