* { box-sizing: border-box; }
body { font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; background: #f5f7fa; margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.card { background: #fff; border-radius: 12px; box-shadow: 0 4px 24px rgba(0,77,107,0.08); max-width: 440px; width: 100%; overflow: hidden; }
.brand { background: #006289; color: #fff; padding: 24px; text-align: center; }
.brand .title { font-size: 18px; font-weight: 600; }
.brand .sub { font-size: 11px; opacity: 0.85; margin-top: 4px; }
.body { padding: 32px 28px; }
h1 { color: #004d6b; font-size: 22px; margin: 0 0 4px; }
.lead { color: #666; font-size: 13px; margin: 0 0 24px; }
form label { display: block; margin-bottom: 16px; }
form .lbl { display: block; font-size: 12px; color: #444; font-weight: 600; margin-bottom: 6px; }
input[type=email], input[type=password], input[type=text] { width: 100%; padding: 10px 12px; font-size: 14px; border: 1px solid #d0d6dc; border-radius: 6px; background: #fff; transition: border-color 0.15s; }
input:focus { outline: none; border-color: #006289; box-shadow: 0 0 0 3px rgba(0,98,137,0.12); }
button.primary { width: 100%; background: #006289; color: #fff; border: none; padding: 12px; font-size: 14px; font-weight: 600; border-radius: 6px; cursor: pointer; transition: background 0.15s; }
button.primary:hover { background: #004d6b; }
button.primary:disabled { background: #99b9c7; cursor: wait; }
.links { font-size: 12px; color: #666; margin-top: 16px; text-align: center; }
.links a { color: #006289; text-decoration: none; font-weight: 600; }
.links a:hover { text-decoration: underline; }
.msg { padding: 10px 12px; border-radius: 6px; margin-bottom: 16px; font-size: 13px; line-height: 1.4; display: none; }
.msg.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.msg.success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.msg.info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.hint { font-size: 11px; color: #888; margin-top: 4px; }
