* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #0a3d62 0%, #134f7c 100%);
  color: #1c1f24;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-shell { width: 100%; max-width: 420px; padding: 22px; }
.login-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  padding: 30px 32px;
}
.login-brand {
  text-align: left;
  margin-bottom: 24px;
}
.login-brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #0a3d62;
}
.login-brand-sub {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
  letter-spacing: 0.4px;
}
.login-card h1 {
  font-size: 24px;
  margin: 0 0 18px 0;
  color: #1c1f24;
}
form { display: flex; flex-direction: column; gap: 14px; }
form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #555; }
form input {
  border: 1px solid #c5cdd6;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 14px;
  font-family: inherit;
}
form input:focus { outline: none; border-color: #0a3d62; box-shadow: 0 0 0 2px rgba(10, 61, 98, 0.18); }
form button.primary {
  margin-top: 6px;
  background: #0a3d62;
  color: #fff;
  border: 1px solid #0a3d62;
  border-radius: 6px;
  padding: 10px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
}
form button.primary:hover { background: #134f7c; }
form button.primary:disabled { background: #6b7280; border-color: #6b7280; cursor: progress; }
.error { color: #c0392b; font-size: 12px; min-height: 16px; }
.error.ok { color: #2e7d32; }
footer {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  font-size: 11px;
  color: #94a0b1;
}
