/*
 * The one hosted page's stylesheet. Deliberately not the app's design system:
 * ADR-0024 calls this "a Better Auth page with a button and a code to paste —
 * not a product surface", and a system-font page that follows the browser's
 * own light and dark is exactly that much.
 */
:root {
  color-scheme: light dark;
}

html {
  background: Canvas;
  color: CanvasText;
}

body {
  margin: 0;
  font:
    15px/1.5 system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
}

main {
  max-width: 24rem;
  margin: 18vh auto 0;
  padding: 0 1.5rem 4rem;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

.muted {
  opacity: 0.7;
}

.error {
  color: #c0392b;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid color-mix(in srgb, CanvasText 25%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, CanvasText 6%, transparent);
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.button:disabled {
  opacity: 0.5;
  cursor: default;
}

.code {
  display: block;
  margin: 0 0 0.75rem;
  padding: 0.75rem;
  border-radius: 8px;
  background: color-mix(in srgb, CanvasText 8%, transparent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  word-break: break-all;
  user-select: all;
}
