/* Syntax Highlighting for C++ Code */
.cpp-code {
  background: #1e1e1e;
  color: #d4d4d4;
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  font-size: 1em;
  padding: 1em;
  border-radius: 8px;
  overflow-x: auto;
  line-height: 1.6;
}

/* Keywords like while, return, if, else, class, etc. */
.cpp-keyword {
  color: #569cd6;
  font-weight: bold;
}

/* Types like string, float, void, bool, etc. */
.cpp-type {
  color: #4ec9b0;
}

/* Strings: "text", 'char' */
.cpp-string {
  color: #ce9178;
}

/* Numbers: 123, 4.56 */
.cpp-number {
  color: #b5cea8;
}

/* Function names */
.cpp-function {
  color: #dcdcaa;
}

/* Comments: // or /* ... */
.cpp-comment {
  color: #6a9955;
  font-style: italic;
}

/* Preprocessor directives: #include, #define */
.cpp-preprocessor {
  color: #c586c0;
}

/* Operators: +, -, *, /, =, ==, &&, || */
.cpp-operator {
  color: #d4d4d4;
}

/* Brackets and punctuation */
.cpp-punctuation {
  color: #d4d4d4;
}

/* Constants: NULL, true, false */
.cpp-constant {
  color: #b5cea8;
  font-weight: bold;
}
