:root { --ink: #14212B; --muted: #55606B; --ground: #F3F6F9; --brand: #136494; --line: #DCE3EA; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; }
.card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; box-shadow: 0 10px 30px rgba(20, 33, 43, .06); }
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.brand img { border-radius: 10px; }
.brand strong { display: block; font-size: 18px; }
.brand span { display: block; font-size: 13px; color: var(--muted); }
h1 { font-size: 22px; margin: 0 0 10px; }
p { margin: 0 0 12px; }
form { display: flex; flex-direction: column; gap: 14px; margin: 6px 0 10px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
label.check { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; }
label.check input { width: 20px; height: 20px; accent-color: var(--brand); }
input[type=email], input[type=password], input[type=text], input[type=url] { height: 48px; border: 1px solid #CBD5DF; border-radius: 12px; padding: 0 14px; font-size: 16px; color: var(--ink); background: #fff; }
input:focus { outline: 3px solid rgba(19, 100, 148, .25); border-color: var(--brand); }
input.code { font-size: 26px; letter-spacing: 8px; text-align: center; font-variant-numeric: tabular-nums; }
button { height: 50px; border: 0; border-radius: 12px; background: var(--brand); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; }
button:hover { background: #0E4F78; }
button.link { height: auto; background: none; color: var(--brand); padding: 0; font-weight: 600; font-size: 14px; }
form.inline { margin: 0 0 8px; }
.error { background: #FEF3F2; color: #B42318; border-radius: 10px; padding: 10px 12px; font-weight: 600; font-size: 14px; }
.info { background: #ECFDF3; color: #067647; border-radius: 10px; padding: 10px 12px; font-weight: 600; font-size: 14px; }
.hint { font-size: 13px; color: var(--muted); }
.links { font-size: 14px; }
a { color: var(--brand); font-weight: 600; }
.foot { margin-top: 18px; font-size: 12px; color: var(--muted); }
