:root { --navy: #0b1226; --navy2: #101a36; --blue: #2563eb; --blue2: #1d4ed8; --ink: #0f172a; --muted: #64748b; --line: #e2e8f0; --bad: #b91c1c; --ok: #15803d; --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; font-family: var(--font); color: var(--ink); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; background: radial-gradient(1200px 600px at 50% -10%, #1e3a8a 0%, transparent 60%), linear-gradient(180deg, var(--navy2), var(--navy)); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; }
.brand { display: flex; flex-direction: column; align-items: center; color: #fff; margin-bottom: 22px; text-align: center; }
.logo { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 14px; background: linear-gradient(135deg, #3a86ff, #1a3fd6); box-shadow: 0 10px 30px rgba(26, 86, 240, .5), inset 0 1px 0 rgba(255, 255, 255, .3); }
.logo svg { width: 58px; height: 58px; }
.brand h1 { margin: 0; font-size: 30px; letter-spacing: -.02em; font-weight: 700; }
.brand h1 span { color: #93b4ff; }
.brand p { margin: 6px 0 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #9fb0d6; }
.card { width: 100%; max-width: 400px; background: #fff; border-radius: 20px; padding: 26px 22px 22px; box-shadow: 0 24px 60px rgba(2, 8, 32, .45); }
.card h2 { margin: 0 0 4px; font-size: 20px; letter-spacing: -.01em; }
.card .sub { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.pw { position: relative; }
.in { width: 100%; height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; outline: none; }
.in:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.pw .in { padding-right: 64px; }
.show { position: absolute; right: 6px; top: 6px; height: 36px; padding: 0 10px; border: 0; background: transparent; color: var(--blue2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; border-radius: 8px; }
.btn { width: 100%; height: 50px; border: 0; border-radius: 12px; background: linear-gradient(180deg, #3b82f6, var(--blue2)); color: #fff; font: inherit; font-size: 16px; font-weight: 650; cursor: pointer; box-shadow: 0 8px 20px rgba(29, 78, 216, .35); }
.btn:disabled { opacity: .6; cursor: default; }
.btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; margin-top: 10px; }
.lnk { display: inline-block; margin-top: 14px; background: none; border: 0; padding: 0; color: var(--blue2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.row { display: flex; justify-content: space-between; align-items: center; }
.msg { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; font-size: 14px; line-height: 1.4; }
.msg.bad { background: #fef2f2; color: var(--bad); }
.msg.ok { background: #f0fdf4; color: var(--ok); }
.msg[hidden] { display: none; }
.foot { margin-top: 18px; color: #7f90b8; font-size: 12px; text-align: center; }
[hidden] { display: none !important; }
.who { color: var(--muted); font-size: 14px; margin: 0 0 16px; word-break: break-word; }
