/* === Minimal "hacker" theme for Material for MkDocs === */

/* Palette overrides (Material respects these CSS variables) */
:root {
  --green: #00ff66;
  --bg: #0a0a0a;           /* page background */
  --bg-2: #0e0e0e;         /* surfaces */
  --fg: #cfe9d8;           /* primary text */
  --muted: #98b9a6;        /* secondary text */

  --md-default-bg-color: var(--bg);
  --md-default-fg-color: var(--fg);
  --md-primary-fg-color: var(--green);
  --md-accent-fg-color: var(--green);
  --md-typeset-a-color: var(--green);
}

/* Global */
body { background: var(--bg); color: var(--fg); }
::selection { background: var(--green); color: #000; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Headings with subtle glow */
.md-typeset h1, .md-typeset h2 {
  color: var(--green);
  text-shadow: 0 0 8px rgba(0,255,102,.25);
}
.md-typeset h3, .md-typeset h4, .md-typeset h5, .md-typeset h6 { color: var(--fg); }

/* Navigation + header/footer */
.md-header, .md-footer { background: #000; }
.md-header, .md-tabs { border-bottom: 1px solid #013a1e; }
.md-sidebar--primary, .md-sidebar--secondary { background: var(--bg-2); }
.md-nav__item .md-nav__link--active, .md-nav__link:hover { color: var(--green); }

/* Search */
.md-search__input { background: #000; color: var(--fg); border: 1px solid #013a1e; }
.md-search__input::placeholder { color: #5a7a6a; }
.md-search__icon { color: var(--green); }

/* Blockquotes */
.md-typeset blockquote {
  color: var(--fg);
  background: var(--bg-2);
  border-left: 3px solid var(--green);
  padding: .75rem 1rem;
}

/* Tables */
.md-typeset table:not([class]) { background: var(--bg-2); }
.md-typeset table:not([class]) th { color: var(--green); }
.md-typeset table:not([class]) td,
.md-typeset table:not([class]) th { border-color: #113c22; }
.md-typeset table:not([class]) tr:nth-child(2n) { background: #0c0c0c; }

/* Admonitions (notes/warnings) */
.md-typeset .admonition, .md-typeset details {
  background: var(--bg-2);
  border-left: 3px solid var(--green);
}
.md-typeset .admonition-title,
.md-typeset summary {
  color: var(--green);
}

/* Inline code and fenced code are handled in your code-terminal-green.css.
   The tweaks below just align general UI tokens to the palette. */
/* Keyboard keys */
.md-typeset kbd {
  color: var(--green);
  background: #000;
  border: 1px solid #013a1e;
  box-shadow: none;
}

/* HR line */
.md-typeset hr { border: 0; border-top: 1px solid #013a1e; }

/* Chips / badges */
.md-typeset .md-tag { background: #001b0e; color: var(--green); border: 1px solid #013a1e; }

/* Pagination links */
.md-footer__link { color: var(--green); }
