:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f8fafc;
  color: #0f172a;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%);
}

.card {
  width: min(520px, 100%);
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 36px;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
}

p {
  margin: 0 0 24px;
  color: #475569;
  line-height: 1.7;
}

label {
  display: block;
  margin-bottom: 18px;
  color: #334155;
  font-weight: 500;
}

input {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 1rem;
  color: #0f172a;
}

input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.button {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6 0%, #06b6d4 100%);
  color: #ffffff;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.24);
}

.button.secondary {
  background: #e2e8f0;
  color: #0f172a;
}

.error {
  margin-top: 12px;
  color: #dc2626;
  min-height: 1.25rem;
}

.login-card {
  max-width: 420px;
}
