:root { --bg:#111827; --card:#fff; --ink:#12161C; --muted:#6B7280; --line:#E1E4E5; --blue:#1D4ED8; --orange:#E8622C; --red:#B91C1C; --green:#15803D; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink); font: 16px/1.45 Inter, -apple-system, "Segoe UI", Roboto, sans-serif; }
main { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; }
.card { background: var(--card); width: 100%; max-width: 400px; border-radius: 18px; padding: 32px 26px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.logo { font-weight: 800; font-size: 44px; letter-spacing: -1.5px; text-align: center; line-height: 1; }
h1 { font-size: 20px; text-align: center; margin: 14px 0 4px; }
.sub { text-align: center; color: var(--muted); font-size: 14px; margin: 0 0 22px; }
label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 6px; }
input[type=email], input[type=password], input[type=text] { width: 100%; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
input.code { font-size: 28px; letter-spacing: 10px; text-align: center; font-weight: 700; padding: 12px 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: #374151; margin-top: 14px; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
button { width: 100%; margin-top: 20px; background: var(--blue); color: #fff; border: 0; border-radius: 10px; padding: 13px 16px; font-size: 16px; font-weight: 700; cursor: pointer; }
button[disabled] { opacity: .6; cursor: wait; }
button.link, a.link { background: none; color: var(--blue); width: auto; padding: 0; margin: 0; font-size: 14px; font-weight: 600; text-decoration: none; }
.row { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 10px; flex-wrap: wrap; }
.msg { border-radius: 10px; padding: 10px 12px; font-size: 14px; margin-top: 16px; }
.msg.err { background: #FEF2F2; color: var(--red); }
.msg.ok { background: #F0FDF4; color: var(--green); }
.hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.hidden { display: none !important; }
.foot { text-align: center; color: #9CA3AF; font-size: 12px; margin-top: 18px; }
.logo .p { position: relative; }
.logo .p i { position: absolute; left: -.34em; top: .42em; width: .22em; height: .09em; background: var(--orange); }
