/* ── Dark / Light Theme Variables ── */
:root {
  --bg: #050505;
  --card-bg: #121212;
  --text: #f0f0f0;
  --accent: #00d1ff;
  --secondary: #ff4d4d;
  --gray: #8b8b8b;

  --border: #222222;
  --border-mid: #333333;
  --border-subtle: #1e1e1e;

  --surface: #1a1a1a;
  --surface-mid: #161616;

  --muted: #888888;
  --muted-text: #aaaaaa;
  --muted-dark: #7a7a7a;
  --content-text: #cccccc;
  --text-soft: #dddddd;
  --input-text: #555555;

  --code-bg: #0e0e0e;
  --callout-bg: #111111;
  --summary-hover: #111111;
  --blockquote-border: #333333;

  --bio-label-bg: #222222;
  --chip-text: #cccccc;
  --stack-text: #666666;
}

[data-theme="light"] {
  --bg: #f8f9fa;
  --card-bg: #ffffff;
  --text: #111111;
  --accent: #0088aa;
  --secondary: #cc2222;
  --gray: #6b6b6b;

  --border: #e0e0e0;
  --border-mid: #cccccc;
  --border-subtle: #eeeeee;

  --surface: #f0f0f0;
  --surface-mid: #f5f5f5;

  --muted: #666666;
  --muted-text: #777777;
  --muted-dark: #707070;
  --content-text: #333333;
  --text-soft: #222222;
  --input-text: #444444;

  --code-bg: #f5f5f5;
  --callout-bg: #f0f4f8;
  --summary-hover: #f5f5f5;
  --blockquote-border: #cccccc;

  --bio-label-bg: #e8e8e8;
  --chip-text: #444444;
  --stack-text: #777777;
}

/* ── Theme Toggle Button ── */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  font-size: 1rem;
  transition: border-color 0.3s, color 0.3s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--accent);
}
