/* Change your variables at the top */
:root {
  --bg: #ffffff;
  --txt: #222222;
  --lnk: #4fc1ff; /* Pink/Magenta link */
  --header: #d33682; /* Pink headers */
  --cd: #f0f0f0;
  --border: #dddddd;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --txt: #c9d1d9;
    --lnk: #4fc1ff; /* Brighter pink for dark mode */
    --header: #ff79c6;
    --cd: #161b22;
    --border: #30363d;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  max-width: 800px;
  margin: 40px auto;
  padding: 2rem;
  background-color: var(--bg);
  color: var(--txt);
}


/* Update the header section */
h1, h2, h3 { 
  color: var(--header);
  border-bottom: 1px solid var(--border); 
  padding-bottom: 0.3em; 
}

a { color: var(--lnk); text-decoration: none; }
a:hover { text-decoration: underline; }

code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  background-color: var(--cd);
  padding: 0.2em 0.4em;
  border-radius: 6px;
  font-size: 85%;
}

pre {
  background-color: var(--cd);
  padding: 16px;
  border-radius: 8px;
  overflow: auto;
  border: 1px solid var(--border);
}

blockquote {
  border-left: 0.25em solid var(--lnk);
  color: #8b949e;
  padding: 0 1em;
  margin: 0;
}

/* Table Base Styles */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 25px 0;
    font-family: sans-serif;
    color: #d1d1d1;
    background-color: #1e1e1e;
    border: 1px solid #333; /* Soft outer frame */
}

/* Headers - The "Obvious" Fix */
th {
    background-color: #333940; /* Dark slate blue-grey - distinct from the black */
    color: #ffffff;            /* Pure white text for the header only */
    padding: 14px 15px;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-bottom: 3px solid #4a90e2; /* A crisp, professional blue accent line */
}

/* Data Cells */
td {
    padding: 12px 15px;
    border-bottom: 1px solid #333;
}

/* Subtle Row Highlight */
tbody tr:nth-child(even) {
    background-color: #242424;
}

/* Hover effect */
tbody tr:hover {
    background-color: #2d2d2d;
}
