* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #1d2730;
  background: linear-gradient(160deg, #eef4f7 0%, #dfeaf0 100%);
}
.wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 26px;
  font-weight: 700;
  color: #146387;
  letter-spacing: -.3px;
}
.wordmark img { width: 72px; height: 72px; }
.card {
  width: 100%;
  max-width: 380px;
  padding: 32px 28px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(20, 50, 70, .08), 0 8px 24px rgba(20, 50, 70, .10);
}
h1 { margin: 0 0 20px; font-size: 22px; font-weight: 600; }
.error {
  margin: 0 0 18px;
  padding: 10px 12px;
  font-size: 14px;
  color: #8a1c1c;
  background: #fdecec;
  border: 1px solid #f3b9b9;
  border-radius: 8px;
}
label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
input {
  width: 100%;
  margin-bottom: 18px;
  padding: 10px 12px;
  font: inherit;
  color: inherit;
  border: 1px solid #b7c4cc;
  border-radius: 8px;
}
input:focus { border-color: #146387; }
input:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid rgba(20, 99, 135, .35);
  outline-offset: 1px;
}
button {
  width: 100%;
  margin-top: 4px;
  padding: 11px;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: #146387;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
button:hover { background: #0f4f6c; }
.forgot { margin: 16px 0 0; text-align: center; font-size: 14px; }
a { color: #146387; }
  
