:root {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1f2937;
  background: #eef2ff;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #eef2ff 0%, #c7d5ff 45%, #f8fafc 100%);
  display: grid;
  place-items: center;
}

.login-shell {
  width: min(470px, 100%);
.//* Make sizing predictable inside the login card */
* { box-sizing: border-box; }

  padding: 24px;
}

.login-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 25px 80px rgba(15, 23, 42, 0.14);
}

.brand h1 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.brand p {
  margin: 0 0 24px;
  color: #475569;
}

.login-label {
  display: block;
  margin-bottom: 16px;
  font-weight: 700;
  color: #334155;
}

.login-label input {
  width: 100%;
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #fbfdff;
  color: #0f172a;
  font-size: 0.98rem;
  height: 50px;
  line-height: 1.1;
}

button {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 0 18px;
  height: 52px;
  background: #4f46e5;
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.12s ease;
}

button:hover {
  background: #4338ca;
}

.login-error {
  min-height: 24px;
  margin-top: 16px;
  color: #b91c1c;
  font-weight: 600;
}

.login-label {
  display: block;
}

.login-label input:focus {
  outline: none;
  border-color: #6d28d9;
  box-shadow: 0 6px 18px rgba(79,70,229,0.12);
}

.login-card button:active {
  transform: translateY(1px);
}

.login-footnote {
  margin-top: 18px;
  color: #64748b;
  font-size: 0.95rem;
}
