* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: #0f172a;
}
body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.card {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem 1.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}
h1 {
  margin: 0 0 0.25rem;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}
.subtitle {
  margin: 0 0 1.5rem;
  color: #64748b;
  font-size: 0.95rem;
}
form {
  display: flex;
  flex-direction: column;
}
label {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.75rem 0 0.35rem;
  color: #334155;
}
input {
  font-size: 1rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
button {
  margin-top: 1.25rem;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #2563eb;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s;
}
button:hover:not([disabled]) { background: #1d4ed8; }
button[disabled] { opacity: 0.65; cursor: not-allowed; }
.error {
  min-height: 1.25rem;
  margin: 0.85rem 0 0;
  color: #b91c1c;
  font-size: 0.9rem;
}
