
:root{color-scheme:dark;font-family:system-ui,sans-serif;background:#0c0b0a;color:#f9f2e5}
*{box-sizing:border-box}body{margin:0;min-height:100svh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 15%,#302317 0%,#15110e 34%,#0b0a09 70%)}
main{width:min(100%,460px);padding:clamp(26px,6vw,44px);border:1px solid #735634;border-radius:26px;background:linear-gradient(155deg,#231b14,#12100f 65%);box-shadow:0 28px 75px #000b,inset 0 1px #e8bd7730}
.mark{width:56px;height:56px;display:grid;place-items:center;margin-bottom:26px;border:1px solid #a88148;border-radius:17px;background:linear-gradient(145deg,#3b2b19,#1d1711);color:#efcf8a}
.mark::before{content:"";width:25px;height:17px;border:1.5px solid currentColor;border-radius:4px;transform:skewY(-16deg);background:linear-gradient(transparent 29%,currentColor 30% 49%,transparent 50%);box-shadow:0 4px #1b130d,0 5px #c69b5f}
h1{font-size:clamp(29px,6vw,38px);line-height:1.05;letter-spacing:-.045em;margin:0 0 12px}
p{color:#d2c3af;line-height:1.5;margin:0 0 25px}label{display:block;font-weight:650;margin-bottom:9px;color:#f4e6ce}
input,button{font:inherit;width:100%;border-radius:11px;padding:13px 14px}input{border:1px solid #806945;background:#100e0d;color:#fff4df}input::placeholder{color:#b8aa98}
button{margin-top:18px;border:1px solid #e6be77;background:linear-gradient(135deg,#f5dfad,#d4a35b);color:#211509;font-weight:750;cursor:pointer}button:hover{background:#f7dfa8}
.password-field{position:relative}.password-field input{padding-right:58px}
.eye-toggle{position:absolute;inset:3px 3px 3px auto;width:47px;display:grid;place-items:center;margin:0;padding:0;border:0;background:transparent;color:#edcf96}.eye-toggle:hover{background:#302315}.eye-toggle[hidden]{display:none}
.eye-icon{position:relative;width:21px;height:13px;border:1.5px solid currentColor;border-radius:70% 70%;display:grid;place-items:center}.eye-icon::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.eye-toggle[aria-pressed="true"] .eye-icon::after{content:"";position:absolute;width:24px;height:2px;background:currentColor;box-shadow:0 1px #100e0d;transform:rotate(-40deg)}
input:focus,button:focus-visible{outline:2px solid #f6ce87;outline-offset:3px}.error{margin:12px 0 0;color:#ffb6be}
