html {
    margin: 0;
    padding: 0;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 0px 20px;
  background: radial-gradient(1200px 800px at 50% 20%, rgba(120, 120, 255, 0.22), transparent 60%),
    radial-gradient(900px 600px at 20% 80%, rgba(0, 200, 255, 0.14), transparent 55%),
    #0b0f1a;
  color: rgba(255, 255, 255, 0.92);
}

.card {
  width: min(520px, 100%);
  border-radius: 8px;
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

.title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.text {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
}

.actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 6px;
}

.primary {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(120, 120, 255, 0.22);
  color: rgba(255, 255, 255, 0.95);
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.primary:hover {
  background: rgba(120, 120, 255, 0.32);
  border-color: rgba(255, 255, 255, 0.22);
}

.primary:active {
  transform: translateY(1px);
}

.primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.12);
  transition: background 120ms ease, border-color 120ms ease;
}

.secondary:hover {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.18);
}

.small {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
}

.mail {
  font-size: 16px;
  font-weight: 700;
  color: #f99e1c;
}

.error {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 90, 90, 0.35);
  background: rgba(255, 0, 0, 0.12);
  color: rgba(255, 220, 220, 0.95);
  font-size: 13.5px;
  line-height: 1.4;
}

.spinner {
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 520px) {
  .actions {
    grid-template-columns: 1fr 1fr;
  }
}