:root { --blue: #159ce6; --blue-dark: #087dc2; font-family: system-ui, -apple-system, sans-serif; color: #161b24; background: #f5f7fb; }
* { box-sizing: border-box; }
body { min-height: 100dvh; margin: 0; display: grid; place-items: center; padding: 24px; }
.login-card { width: 100%; max-width: 420px; padding: 36px; background: white; border: 1px solid #e1e6ef; border-radius: 18px; box-shadow: 0 14px 48px #2435560c; }
.brand { margin: 0 0 32px; font-weight: 800; font-size: clamp(24px, 7vw, 32px); line-height: 1.2; letter-spacing: -1px; text-align: center; }
.brand strong { color: var(--blue); }
h1 { font-size: 25px; margin: 0 0 24px; text-align: center; }
label { display: block; font-size: 13px; font-weight: 600; margin: 18px 0 7px; }
input { width: 100%; padding: 12px; border: 1px solid #cdd5e0; border-radius: 8px; font: inherit; }
input:focus-visible, button:focus-visible { outline: 3px solid rgba(21, 156, 230, .25); outline-offset: 2px; }
button { width: 100%; margin-top: 25px; padding: 13px; border: 0; border-radius: 8px; color: white; background: var(--blue); font: inherit; font-weight: 600; cursor: pointer; }
button:hover { background: var(--blue-dark); }
.password-field { position: relative; }
.password-field input { padding-right: 48px; }
.password-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; margin: 0; padding: 0; background: transparent; color: #667085; }
.password-toggle:hover { background: transparent; color: var(--blue-dark); }
.password-toggle[hidden], .password-toggle[aria-pressed="false"] .eye-slash { display: none; }
.error { border-radius: 8px; padding: 12px; color: #b42318; background: #fff0ee; font-size: 14px; }
