/* Shared auth card for sign-in, sign-out, and registration closed.
   Brand tokens live here once so the three cards stay aligned. */

:root {
  color-scheme: light dark;
  --blue: #3a60cd;
  --green: #57be6b;
  --text: #1f2937;
  --muted: #5f6b7a;
  --surface: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Raleway", system-ui, -apple-system, sans-serif;
  background: #f6f7fb;
  color: var(--text);
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.card {
  width: min(420px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow);
}

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

p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
  color: #fff;
  background: linear-gradient(120deg, var(--blue), var(--green));
  box-shadow: 0 10px 24px rgba(58, 96, 205, 0.25);
  cursor: pointer;
}

button.button {
  appearance: none;
}

.social-login-form {
  margin: 0;
}

.button-secondary {
  margin-top: 12px;
  background: transparent;
  color: inherit;
  border: 1px solid var(--border);
  box-shadow: none;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #0d1117;
    color: #e5e7eb;
  }

  .card {
    background: #111827;
    border-color: #1f2937;
    box-shadow: none;
  }

  p {
    color: #a1a1aa;
  }
}
