:root {
  color-scheme: light;
  --bg: #f7f9fb;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #5b6476;
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  --radius: 14px;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(155deg, #0f7dd3 0%, #0a1a2d 48%, #05070d 100%);
  color: var(--text);
}

.bg-shapes .blob {
  position: fixed;
  filter: blur(60px);
  opacity: 0.35;
}

.blob-1 {
  top: 12%;
  left: 8%;
  width: 240px;
  height: 240px;
  background: rgba(56, 189, 248, 0.35);
}

.blob-2 {
  bottom: 10%;
  right: 6%;
  width: 300px;
  height: 300px;
  background: rgba(168, 85, 247, 0.28);
}

.page {
  width: min(420px, 94vw);
  margin: 0 auto;
  padding: 48px 16px;
  display: grid;
  place-items: center;
  min-height: 100vh;
}

.card {
  width: 100%;
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 32px;
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
}

h1 {
  margin: 0;
  font-size: 28px;
}

.subtitle,
.muted-link a,
p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

form {
  display: grid;
  gap: 18px;
}

.status {
  margin: -6px 0 0;
  font-size: 14px;
  color: #f87171;
  min-height: 18px;
}

.status.success {
  color: #22c55e;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-weight: 600;
  color: #111827;
}

input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f8fafc;
  font-size: 15px;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
  background: #fff;
}

.cta {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 150ms ease;
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.28);
}

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

.cta:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(14, 165, 233, 0.22);
}

.muted-link {
  margin: 0;
}

.muted-link a {
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 540px) {
  .card {
    padding: 26px 22px;
  }

  .card h1 {
    font-size: 24px;
  }

  .blob-1,
  .blob-2 {
    opacity: 0.22;
    filter: blur(50px);
  }
}
