* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; background: #f7f5f1 url("../images/site-bg.png") center / cover; color: #101d3e; font: 14px/1.7 "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; }
.login-card { width: min(100%, 440px); padding: 36px; background: #fffdf9; border: 1px solid #dce1e6; border-top: 6px solid #0b304e; border-radius: 18px; box-shadow: 0 12px 40px #0b304e15; }
.brand { color: #0b304e; font-size: 24px; font-weight: 700; letter-spacing: 2px; }
.subtitle, .footer-note { color: #56677c; }
h1 { margin: 28px 0 8px; font-size: 26px; }
form { display: flex; flex-direction: column; margin-top: 24px; }
label { margin-bottom: 6px; font-weight: 700; }
input, button { min-height: 46px; border: 1px solid #bac7d5; border-radius: 6px; font: inherit; }
input { width: 100%; padding: 10px 12px; margin-bottom: 20px; background: white; color: #101d3e; }
button { padding: 10px; background: #0b304e; color: white; font-weight: 700; cursor: pointer; }
button:hover { background: #214967; }
:focus-visible { outline: 3px solid #008c91; outline-offset: 3px; }
.error-message, .status-message { padding: 12px; border-radius: 6px; }
.error-message { background: #fff0f0; color: #a52323; }
.status-message { background: #e6f5eb; color: #215e3d; }
.footer-note { margin: 24px 0 0; text-align: center; font-size: 12px; }
@media (max-width: 480px) { .login-card { padding: 24px; } }
