/* Pygments Monokai Dark Theme Syntax Highlighting
   Generated for TheWhiteCode blog to make code blocks visible.
   Matches the 'monokai' style used in legacy.py HtmlFormatter.
   NOTE: Critical properties use !important to prevent style.css from overriding.
*/

/* Code block container */
.highlight {
  background: #272822 !important;
  color: #f8f8f2 !important;
  border-radius: 4px;
  font-size: 0.9em;
  line-height: 1.4;
  overflow-x: auto;
  margin: 1em 0;
}

/* Line numbers (if enabled) */
.highlight .lineno {
  color: #909090 !important;
  background-color: #1e1e1e !important;
  padding: 0 0.4em;
  margin-right: 0.4em;
  user-select: none;
}

/* Individual token classes */
.highlight .hll { background-color: #49483e !important; }
.highlight .c { color: #909090 !important; font-style: italic; }          /* Comment */
.highlight .ch { color: #909090 !important; font-style: italic; }         /* Comment.Hashbang */
.highlight .cm { color: #909090 !important; font-style: italic; }         /* Comment.Multiline */
.highlight .cp { color: #909090 !important; font-style: italic; }         /* Comment.Preproc */
.highlight .cpf { color: #909090 !important; font-style: italic; }        /* Comment.PreprocFile */
.highlight .c1 { color: #909090 !important; font-style: italic; }         /* Comment.Single */
.highlight .cs { color: #909090 !important; font-style: italic; }         /* Comment.Special */

.highlight .kc { color: #cc7832 !important; }                              /* Keyword.Constant */
.highlight .kd { color: #cc7832 !important; }                              /* Keyword.Declaration */
.highlight .kn { color: #cc7832 !important; }                              /* Keyword.Namespace */
.highlight .kp { color: #cc7832 !important; }                              /* Keyword.Pseudo */
.highlight .kr { color: #cc7832 !important; }                              /* Keyword.Reserved */
.highlight .kt { color: #cc7832 !important; }                              /* Keyword.Type */

.highlight .nb { color: #cc7832 !important; }                              /* Name.Builtin */
.highlight .nc { color: #aab2bf !important; font-weight: bold; }          /* Name.Class */
.highlight .no { color: #aab2bf !important; }                              /* Name.Constant */
.highlight .nd { color: #81a2be !important; }                              /* Name.Decorator */
.highlight .ni { color: #aab2bf !important; }                              /* Name.Entity */
.highlight .ne { color: #aab2bf !important; }                              /* Name.Exception */
.highlight .nn { color: #aab2bf !important; }                              /* Name.Namespace */
.highlight .nt { color: #6897bb !important; }                              /* Name.Tag */
.highlight .nv { color: #aab2bf !important; }                              /* Name.Variable */
.highlight .py { color: #aab2bf !important; }                              /* Name.Property */

.highlight .bp { color: #cc7832 !important; }                              /* Name.Builtin.Pseudo */
.highlight .vc { color: #aab2bf !important; }                              /* Name.Variable.Class */
.highlight .vg { color: #aab2bf !important; }                              /* Name.Variable.Global */
.highlight .vi { color: #aab2bf !important; }                              /* Name.Variable.Instance */

.highlight .m { color: #6897bb !important; }                               /* Literal.Number */
.highlight .mb { color: #6897bb !important; }                              /* Literal.Number.Bin */
.highlight .mf { color: #6897bb !important; }                              /* Literal.Number.Float */
.highlight .mh { color: #6897bb !important; }                              /* Literal.Number.Hex */
.highlight .mi { color: #6897bb !important; }                              /* Literal.Number.Integer */
.highlight .mo { color: #6897bb !important; }                              /* Literal.Number.Oct */
.highlight .il { color: #6897bb !important; }                              /* Literal.Number.Integer.Long */

.highlight .s { color: #98c379 !important; }                               /* Literal.String */
.highlight .sa { color: #98c379 !important; }                              /* Literal.String.Affix */
.highlight .sb { color: #98c379 !important; }                              /* Literal.String.Backtick */
.highlight .sc { color: #98c379 !important; }                              /* Literal.String.Char */
.highlight .dl { color: #98c379 !important; }                              /* Literal.String.Delimiter */
.highlight .sd { color: #98c379 !important; font-style: italic; }         /* Literal.String.Doc */
.highlight .s2 { color: #98c379 !important; }                              /* Literal.String.Double */
.highlight .se { color: #98c379 !important; }                              /* Literal.String.Escape */
.highlight .sh { color: #98c379 !important; }                              /* Literal.String.Heredoc */
.highlight .si { color: #98c379 !important; }                              /* Literal.String.Interpol */
.highlight .sx { color: #98c379 !important; }                              /* Literal.String.Other */
.highlight .sr { color: #98c379 !important; }                              /* Literal.String.Regex */
.highlight .s1 { color: #98c379 !important; }                              /* Literal.String.Single */
.highlight .ss { color: #98c379 !important; }                              /* Literal.String.Symbol */

.highlight .err { color: #a31515 !important; background-color: #f8f8f2 !important; } /* Error */

.highlight .w { color: #f8f8f2 !important; }                               /* Text.Whitespace */

.highlight .nl { color: #f8f8f2 !important; font-weight: bold; }          /* Name.Label */
.highlight .py { color: #f8f8f2 !important; }                              /* Name.Property */

/* Inline code */
.highlight code {
  background: transparent !important;
  padding: 0 !important;
}

/* Pre/code blocks (fallback when Pygments outputs raw <pre><code>) */
pre code {
  color: #f8f8f2 !important;
  background: #272822 !important;
  padding: 1em;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 0.9em;
  line-height: 1.4;
}
