
/* Flint-specific syntax highlighting - Dark theme matching VS Code */
.hljs {
  background: #292936;
  color: #c0bab2;
  border-radius: 6px;
  padding: 1em;
  border: 1px solid #4f5d64;
}

/* Keyword control (if, else, while, for, etc.) */
.hljs-keyword {
  color: #a292a3;
  font-weight: bold;
}

/* Types and built-ins */
.hljs-type {
  color: #8ea49e;
  font-weight: 600;
}
.hljs-built_in {
  color: #8ea49e;
}

/* Literals (true, false, none) and numbers */
.hljs-number,
.hljs-literal {
  color: #b6927b;
}

/* Strings */
.hljs-string {
  color: #8a9a7b;
}

/* Comments */
.hljs-comment {
  color: #727169;
  font-style: italic;
}

/* Functions */
.hljs-function,
.hljs-title {
  color: #8ba5b4;
  font-weight: bold;
}

/* Variables and identifiers */
.hljs-variable,
.hljs-name {
  color: #c0af87;
}

/* Meta/annotations (@deprecated, #annotation) */
.hljs-meta { 
  color: #658594;
  font-weight: bold;
}

/* Operators */
.hljs-operator {
  color: #C27B50;
}

/* Punctuation */
.hljs-punctuation {
  color: #A5A5A5;
}

/* Flint-specific enhancements */
.hljs-symbol {
  color: #c0af87; /* Tuple access $0, $1 */
}

.hljs-doctag {
  color: #658594;
  font-weight: bold;
}

/* Exception keywords (throw, catch) */
.hljs-keyword.hljs-control {
  color: #c4746e;
}

/* Storage modifiers (const, mut, etc.) */
.hljs-keyword.hljs-modifier {
  color: #c4746e;
}

/* Preprocessor keywords (use, requires, etc.) */
.hljs-keyword.hljs-preproc {
  color: #c4746e;
}

/* Code block improvements */
pre code.hljs {
  border-color: #c0af87;
  border-left: 3px solid #c0af87;
  background: #262631;
}

/* Inline code */
:not(pre) > code {
  background-color: #1f1f28;
  color: #8ea49e;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #4f5d64;
  font-weight: 600;
}

/* Selection highlighting */
.hljs ::selection {
  background-color: #4f5d64;
}

/* Line numbers (if enabled) */
.hljs-ln-numbers {
  color: #727169;
  border-right: 1px solid #4f5d64;
  padding-right: 8px;
  margin-right: 8px;
}

/* String interpolation */
.hljs-subst {
  color: #c0bab2;
}

/* Escape sequences in strings */
.hljs-escape {
  color: #a292a3;
}

