:root {
  --bg: #f5f6f8;
  --card: #ffffff;
  --text: #1d1f24;
  --muted: #5f6470;
  --border: #e2e4e9;
  --error: #b42318;
  --warning: #8a5a00;
  --button: #ffffff;
  --button-text: #1d1f24;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121316;
    --card: #1c1e23;
    --text: #eceef2;
    --muted: #9aa0ab;
    --border: #2e3138;
    --error: #ff8a80;
    --warning: #f5c26b;
    --button: #2a2d34;
    --button-text: #eceef2;
  }
}

:root[data-theme="dark"] {
  --bg: #121316;
  --card: #1c1e23;
  --text: #eceef2;
  --muted: #9aa0ab;
  --border: #2e3138;
  --error: #ff8a80;
  --warning: #f5c26b;
  --button: #2a2d34;
  --button-text: #eceef2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.card {
  width: 100%;
  max-width: 380px;
  padding: 32px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}

h1 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.subtitle {
  margin: 0 0 24px;
  color: var(--muted);
}

.google-slot {
  display: flex;
  justify-content: center;
  min-height: 44px;
}

.warning,
.error {
  margin: 16px 0 0;
  font-size: 0.9rem;
}

.warning {
  color: var(--warning);
}

.error {
  color: var(--error);
}

code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.85em;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.name {
  margin: 0;
  font-weight: 600;
}

.email {
  margin: 4px 0 20px;
  color: var(--muted);
  word-break: break-all;
}

button.secondary {
  padding: 10px 18px;
  font-size: 0.95rem;
  color: var(--button-text);
  background: var(--button);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

button.secondary:hover {
  border-color: var(--muted);
}
