body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.10), transparent 30%),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 25%),
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  color: #0f172a;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-shell {
  width: 100%;
  max-width: 440px;
}

.login-card {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 28px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(12px);
  padding: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid rgba(191, 219, 254, 0.9);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

h1 {
  margin: 16px 0 10px;
  font-size: 28px;
  line-height: 1.1;
}

p {
  margin: 0 0 18px;
  color: #475569;
  line-height: 1.6;
}

label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.field {
  width: 100%;
  box-sizing: border-box;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #fff;
  padding: 14px 16px;
  color: #0f172a;
  margin-bottom: 16px;
}

.field:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.65);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  color: #fff;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.25);
}

.button:hover {
  transform: translateY(-1px);
}

.error-box {
  border: 1px solid rgba(254, 205, 211, 1);
  background: #fff1f2;
  color: #be123c;
  border-radius: 16px;
  padding: 12px 14px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
}

.note {
  margin-top: 16px;
  font-size: 13px;
  color: #64748b;
}

.success-box {
  border: 1px solid rgba(167, 243, 208, 1);
  background: #ecfdf5;
  color: #047857;
  border-radius: 16px;
  padding: 12px 14px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
}

.note-box {
  border: 1px solid rgba(191, 219, 254, 1);
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 16px;
  padding: 12px 14px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
}

.link-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.text-link {
  color: #1d4ed8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
}
