/* ============================================
   Prism.js — Gatehouse Custom Theme
   ============================================ */

code[class*="language-"],
pre[class*="language-"] {
  color: #f0f0f4;
  font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
  font-size: 14px;
  line-height: 1.6;
  direction: ltr;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  tab-size: 2;
  hyphens: none;
}

pre[class*="language-"] {
  overflow: auto;
}

/* Token colors */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #5a5a6e;
  font-style: italic;
}

.token.punctuation {
  color: #8a8a9a;
}

.token.namespace {
  opacity: 0.7;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol {
  color: #67e8f9;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin {
  color: #86efac;
}

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

.token.atrule,
.token.attr-value,
.token.keyword {
  color: #c084fc;
}

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

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

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

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

.token.deleted {
  color: #ef4444;
}

.token.inserted {
  color: #86efac;
}

/* Type annotations */
.token.type,
.token.builtin {
  color: #67e8f9;
}

/* String template literals */
.token.template-string .token.interpolation {
  color: #f0f0f4;
}

.token.template-string .token.string {
  color: #86efac;
}

/* JSX */
.token.tag .token.punctuation {
  color: #8a8a9a;
}

.token.tag .token.attr-name {
  color: #c084fc;
}

.token.tag .token.attr-value,
.token.tag .token.attr-value .token.punctuation {
  color: #86efac;
}

.token.tag .token.class-name {
  color: #fbbf24;
}

/* Selection */
pre[class*="language-"]::selection,
pre[class*="language-"] ::selection,
code[class*="language-"]::selection,
code[class*="language-"] ::selection {
  background: rgba(99, 102, 241, 0.3);
}
