/* ==========================================================================
   ZENCOD.RU — PrismJS Syntax Highlighting Theme
   Dual theme: Light and Dark Blueprint Code Colors
   ========================================================================== */

/* Code block base */
code[class*="language-"],
pre[class*="language-"] {
  color: #f1f5f9;
  font-family: var(--font-mono);
  direction: ltr;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  line-height: 1.65;
  tab-size: 2;
  hyphens: none;
}

/* Tokens - Dark Mode & Default Dark Pre Container */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #64748b;
  font-style: italic;
}

.token.punctuation {
  color: #94a3b8;
}

.token.namespace {
  opacity: 0.7;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
  color: #f43f5e;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #38bdf8;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
  color: #a855f7;
}

.token.atrule,
.token.attr-value,
.token.keyword {
  color: #818cf8;
  font-weight: 500;
}

.token.function,
.token.class-name {
  color: #34d399;
}

.token.regex,
.token.important,
.token.variable {
  color: #fbbf24;
}

.token.important,
.token.bold {
  font-weight: bold;
}

.token.italic {
  font-style: italic;
}

.token.entity {
  cursor: help;
}

/* Specific language enhancements */
.language-bash .token.function {
  color: #38bdf8;
}
.language-bash .token.variable {
  color: #f43f5e;
}

.language-json .token.property {
  color: #38bdf8;
}
.language-json .token.string {
  color: #34d399;
}

.language-yaml .token.key {
  color: #818cf8;
}

/* Highlighted line inside code blocks */
.line-highlight {
  background: rgba(56, 189, 248, 0.12);
  border-left: 3px solid var(--accent-emerald);
  padding: 0 4px;
}
