* {
  box-sizing: border-box;
}

:root {
  color-scheme: light dark;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

body {
  margin: 0;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a, #1e40af);
  color: #0f172a;
}

.card {
  width: min(420px, 90vw);
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.25);
}

h1 {
  margin-top: 0;
  font-size: 1.75rem;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #cbd5f5;
  margin-bottom: 16px;
  font-size: 1rem;
}

button,
.button {
  width: 100%;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 12px;
}

button.secondary {
  background: #e5e7eb;
  color: #111827;
}

button:hover,
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
}

.alt {
  margin: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #475569;
}

.status {
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.status.error {
  background: rgba(248, 113, 113, 0.12);
  color: #991b1b;
}

.status.success {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
