/* AMOLED Black Theme for highlight.js */
/* Created by Claude */

.hljs {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
  background: #000000;
  /* True AMOLED black */
  color: #f8f8f2;
  /* Light text for maximum contrast */
}

/* Base styling */
.hljs-comment,
.hljs-quote {
  color: #6272a4;
  /* Muted purple for comments */
  font-style: italic;
}

/* Keywords, storage, selector */
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-selector-id,
.hljs-selector-class {
  color: #ff79c6;
  /* Bright pink */
}

/* Variables, templates, tags */
.hljs-template-variable,
.hljs-variable,
.hljs-tag {
  color: #8be9fd;
  /* Cyan */
}

/* Names, functions, attributes */
.hljs-name,
.hljs-function,
.hljs-attribute {
  color: #50fa7b;
  /* Bright green */
}

/* Strings, attributes */
.hljs-string,
.hljs-selector-attr {
  color: #f1fa8c;
  /* Light yellow */
}

/* Symbols, bullets, subst */
.hljs-symbol,
.hljs-bullet,
.hljs-subst,
.hljs-meta,
.hljs-meta-string {
  color: #ffb86c;
  /* Orange */
}

/* Numbers, constants */
.hljs-number,
.hljs-constant {
  color: #bd93f9;
  /* Purple */
}

/* Built-in constants */
.hljs-builtin-name,
.hljs-type,
.hljs-built_in {
  color: #8be9fd;
  /* Cyan */
}

/* Class names, CSS classes */
.hljs-class .hljs-title,
.hljs-selector-pseudo {
  color: #50fa7b;
  /* Green */
}

/* Sections, titles */
.hljs-section,
.hljs-title {
  color: #ff79c6;
  /* Pink */
}

/* Additions (diff) */
.hljs-addition {
  color: #50fa7b;
  /* Green */
  background-color: rgba(80, 250, 123, 0.1);
}

/* Deletions (diff) */
.hljs-deletion {
  color: #ff5555;
  /* Red */
  background-color: rgba(255, 85, 85, 0.1);
}

/* Emphasis */
.hljs-emphasis {
  font-style: italic;
}

/* Strong */
.hljs-strong {
  font-weight: bold;
}

/* Links */
.hljs-link {
  text-decoration: underline;
  color: #8be9fd;
  /* Cyan */
}

/* Selection highlight */
.hljs::selection,
.hljs span::selection {
  background-color: #44475a;
  /* Slightly lighter than black for selection */
}