:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --navy:#111a2e; --blue:#3157d5; --blue-dark:#2545ad; --ink:#15213a; --muted:#667085; --line:#dfe4ec; --red:#b42318; }
* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; display: grid; place-items: center; padding: 28px 18px; color: var(--ink); background: radial-gradient(circle at 50% 15%, #eef2ff 0, #f4f6fa 48%, #e8ecf4 100%); }
button, input { font: inherit; }
.auth-shell { width: min(100%, 460px); }
.auth-brand { display: flex; align-items: center; justify-content: center; gap: 11px; margin-bottom: 20px; color: var(--navy); font-size: 1.1rem; font-weight: 800; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: white; background: var(--navy); font-size: .75rem; letter-spacing: .08em; }
.auth-card { padding: clamp(24px, 5vw, 38px); border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 24px 70px rgba(17,26,46,.15); }
.eyebrow { margin: 0 0 7px; color: var(--blue); font-size: .72rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0 0 10px; font-size: clamp(2rem, 8vw, 2.7rem); line-height: 1; letter-spacing: -.045em; }
.intro { margin: 0 0 26px; color: var(--muted); line-height: 1.5; }
.field { display: grid; gap: 7px; margin-bottom: 17px; color: #344054; font-size: .86rem; font-weight: 750; }
.field input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #cfd6e2; border-radius: 11px; color: var(--ink); background: white; }
.field input:focus { outline: 3px solid rgba(49,87,213,.16); border-color: var(--blue); }
.button { width: 100%; min-height: 48px; border: 0; border-radius: 11px; color: white; background: var(--blue); font-weight: 800; cursor: pointer; }
.button:hover { background: var(--blue-dark); }
.button:disabled { opacity: .58; cursor: wait; }
.text-button { padding: 7px 0; border: 0; color: var(--blue); background: transparent; font-weight: 750; cursor: pointer; }
.auth-links { display: flex; justify-content: center; margin-top: 16px; }
.message { margin: 18px 0 0; padding: 12px 14px; border-radius: 10px; color: #344054; background: #eef2ff; line-height: 1.45; font-size: .87rem; }
.message.error { color: #8f1d16; background: #fff0ef; }
.security-note { margin: 18px 0 0; color: var(--muted); font-size: .77rem; line-height: 1.45; text-align: center; }
.account-nav { display: flex; gap: 9px; margin-bottom: 14px; }
.account-nav a, .account-nav button { flex: 1; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: white; text-decoration: none; font: inherit; font-weight: 750; cursor: pointer; }
.status { margin: 0 0 22px; padding: 12px 14px; border-radius: 10px; color: #086244; background: #eafbf4; font-size: .85rem; line-height: 1.45; }
.status.warning { color: #864a09; background: #fff6e5; }
.password-hint { margin: -8px 0 17px; color: var(--muted); font-size: .78rem; }
[hidden] { display: none !important; }

