.codeview {
  background: #1e1e1e;
  color: #d4d4d4;
  font-family: 'Consolas', 'Fira Mono', 'Menlo', 'Monaco', 'monospace';
  font-size: 1rem;
  border-radius: 8px;
  padding: 1.1em 1.2em;
  margin: 1.2em 0;
  overflow-x: auto;
  line-height: 1.6;
  box-shadow: 0 2px 8px #0002;
}
pre.codeview .cv-kwd { color: #569cd6 !important; }
pre.codeview .cv-str { color: #ca572a !important; }
pre.codeview .cv-com { color: #418522 !important; font-style: italic !important; }
pre.codeview .cv-pre { color: #c4890c !important; }
pre.codeview .cv-num { color: #488b23 !important; }

/* VS Code-like code highlighting styles */
.codeview {
  background: #1e1e1e;
  color: #d4d4d4;
  font-family: 'Consolas', 'Fira Mono', 'Menlo', 'Monaco', 'monospace';
  font-size: 1rem;
  border-radius: 8px;
  padding: 1.1em 1.2em;
  margin: 1.2em 0;
  overflow-x: auto;
  line-height: 1.6;
  box-shadow: 0 2px 8px #0002;
}
.cv-kwd { color: #569cd6; font-weight: normal; }
.cv-str { color: #ce9178; }
.cv-com { color: #6a9955; font-style: italic; }
.cv-pre { color: #d7ba7d; }
.cv-num { color: #b5cea8; }

/* Optional: style for line numbers, if you add them later */
.cv-linenum { color: #858585; user-select: none; padding-right: 1em; }
/* C/C++ syntax highlighting classes for getCodeC() */
.cv-kwd { color: #0070c1; font-weight: bold; }
.cv-str { color: #a31515; }
.cv-com { color: #008000; font-style: italic; }
.cv-pre { color: #b4009e; }
.cv-num { color: #098658; }
:root {
  --code-blue: #0273be;
  --code-violet: #9c316a;
  --code-gray: gray;
  --code-green: green;
  --code-yellow: teal;
}

.codeview {
  padding: 2px 10px;
  background-color: #f6f8fa;
  color: #202020;
  font-size: 16px;
  line-height: 140%;
  border-radius: 10px;
  margin-left: 15px;
  margin-right: 15px;
  overflow-x: auto;
}

.code_type {
  color: var(--code-blue);
  font-weight: 400;
}

.code_pre {
  color: var(--code-violet);
  font-weight: 400;
}

.code_comment {
  color: var(--code-green);
  font-weight: 400;
}

.code_macro {
  color: var(--code-violet);
  font-weight: 400;
}

.code_string {
  color: var(--code-yellow);
  font-weight: 400;
}
