/* fGBA's palette (lib/presentation/shared/theme.dart), for the hosted pages. */
:root {
  color-scheme: dark;
  --ink: #0b0620;
  --panel: #140e30;
  --line: #231b4f;
  --text: #eeeafb;
  --muted: #a9a3cc;
  --violet: #6d3cf5;
  --violet-light: #b79bff;
  --rose: #ff9db0;
  --lime: #b8e068;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 16px/1.6 "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 16px 64px;
}

h1, h2 {
  font-family: "Bricolage Grotesque", "IBM Plex Sans", system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: 34px; margin: 0 0 8px; }
h2 { font-size: 22px; margin: 36px 0 8px; }

p, li { color: var(--text); }
.muted { color: var(--muted); }
a { color: var(--violet-light); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  margin: 24px 0;
}

button {
  font: inherit;
  font-weight: 600;
  border: 0;
  border-radius: 14px;
  min-height: 48px;
  padding: 0 20px;
  cursor: pointer;
}

button.primary { background: #fff; color: #1f1f1f; }
button.danger { background: var(--rose); color: #2a0a12; }
button:disabled { opacity: 0.5; cursor: default; }

.status { margin-top: 12px; min-height: 1.6em; }
.status.ok { color: var(--lime); }
.status.error { color: var(--rose); }

table { border-collapse: collapse; width: 100%; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 500; }

input[type=email] {
  font: inherit;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--text);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
}
