/* MASTER THEME - Shared across all pages */
:root {
  --bg: #000000;
  --text: #e5e5e5;
  --muted: #888888;
  --accent: #ef4444;
  --border: #333333;
  --bg-hover: #050505;
  --bg-card: #0a0a0a;
  --bg-input: #111111;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* NAVIGATION - Standardized across all pages */
nav {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--text);
}

nav a.active {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

/* CONTENT LAYOUT */
main {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

/* SHARED HEADING STYLES */
h1 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

/* SHARED BUTTON STYLES */
.btn {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.2s;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  border-color: var(--accent);
  color: var(--text);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* FOCUS STYLES for keyboard navigation */
.btn:focus-visible,
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* UTILITY CLASSES */
.loading-text {
  color: var(--muted);
}

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