* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: radial-gradient(ellipse at top, #1c2145, #0b1020 65%); color: #edf1fa; font: 16px/1.6 system-ui, sans-serif; }
.login-card { width: 100%; max-width: 430px; padding: 36px; background: #151c30; border: 1px solid #34405c; border-radius: 20px; box-shadow: 0 24px 80px #0005; }
.brand { color: #a5b4fc; font-size: 12px; font-weight: 700; letter-spacing: 2px; }
h1 { margin: 16px 0 6px; font-size: 28px; line-height: 1.25; }
p { color: #acb7ce; }
form { margin-top: 26px; }
label { display: block; font-size: 14px; }
input[type=text], input[type=password] { width: 100%; margin: 8px 0 18px; padding: 13px; border: 1px solid #52617f; border-radius: 9px; background: #0b1020; color: white; font-size: 16px; }
input:focus-visible, button:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 3px; }
.remember { display: flex; align-items: center; gap: 9px; color: #d6def1; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: #818cf8; }
button { width: 100%; margin-top: 24px; border: 0; border-radius: 9px; padding: 14px; background: #818cf8; color: #10152b; font-size: 16px; font-weight: 700; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
#login-error { color: #fda4af; font-size: 14px; margin-bottom: 0; }
.hint { font-size: 13px; margin: 24px 0 0; border-top: 1px solid #34405c; padding-top: 20px; }
@media (max-width: 420px) { .login-card { padding: 26px; } h1 { font-size: 25px; } }
