@font-face { font-family: Inter; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; padding: 24px; display: grid; place-items: center; background: #f5f3ef; color: #211c1c; font: 15px Inter, sans-serif; }
main { width: min(100%, 420px); padding: 29px; border: 1px solid #e8e3de; border-radius: 18px; background: white; }
main > img { border-radius: 11px; }
h1 { font-size: 29px; letter-spacing: -.05em; margin: 20px 0 9px; }
p { color: #6e6464; line-height: 1.5; margin: 0 0 20px; }
form { display: grid; gap: 8px; }
label { font-weight: 650; font-size: 13px; }
input { margin-bottom: 10px; min-height: 48px; padding: 10px; border: 1px solid #e8e3de; border-radius: 9px; background: #f8f6f3; font: inherit; font-size: 16px; width: 100%; }
button { min-height: 50px; border: 0; border-radius: 9px; color: #fff; background: #b3283e; font: inherit; font-weight: 700; cursor: pointer; margin-top: 3px; }
button:hover { background: #982135; }
input:focus-visible, button:focus-visible { outline: 3px solid #b3283e; outline-offset: 3px; }
.login-error { background: #f9eaed; color: #982135; border-radius: 8px; padding: 11px; font-size: 13px; }

.login-theme { display: block; margin-top: 22px; margin-bottom: 8px; font-weight: 650; font-size: 14px; }
select { width: 100%; min-height: 44px; padding: 8px; border-radius: 9px; border: 1px solid #e8e3de; background: #f8f6f3; color: inherit; font: inherit; }
html[data-theme="dark"] body { background: #16161b; color: #f4f1f2; }
html[data-theme="dark"] main { background: #222229; border-color: #3b3640; }
html[data-theme="dark"] input, html[data-theme="dark"] select { background: #2b2831; color: #f4f1f2; border-color: #3b3640; }
html[data-theme="dark"] p { color: #bab2bb; }
html[data-theme="dark"] button { background: #c74560; }
html[data-theme="dark"] .login-error { background: #452731; color: #ff93aa; }
