/* Basic Styles for Code Blocks */
div.highlighter-rouge, pre.highlight,
div.highlighter-rouge pre, pre.highlight pre {
  color: #f8f8f2; /* Code text color */
  background: #272822; /* Code background color */
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  text-shadow: none;
  font-size: 14px;
  line-height: 1.5;
  padding: 1em;
  margin: 0.5em 0;
  overflow: auto; /* Scrollable overflow */
  border-radius: 10px; /* Rounded corners */
}

/* Inline Code */
:not(pre) > code.language-python,
:not(pre) > code.language-cpp,
:not(pre) > code.language-bash {
  padding: .2em .3em;
  border-radius: .3em;
  white-space: normal;
}

/* Shared Token Styles */
span.k, span.nf, span.p, span.n, span.sa, span.s, span.si { color: #f8f8f2; }

span.k {
  color: #66d9ef; /* Keyword color */
}

span.nf {
  color: #a6e22e; /* Function name color */
}

span.p {
  color: #f8f8f2; /* Punctuation color */
}

span.n, span.sa {
  color: #ae81ff; /* Identifier color */
}

span.s, span.si {
  color: #e6db74; /* String color */
}

span.c { color: #8292a2; } /* Comment */