/* code-theme.css — Minimal syntax highlighting */

/* Strings */
.code-block .tok-str,
.code-block .s,
.code-block .s2 {
  color: var(--accent);
}

/* Keywords */
.code-block .tok-kw,
.code-block .k {
  color: #c084fc;
}

/* Comments */
.code-block .tok-comment,
.code-block .c,
.code-block .c1 {
  color: var(--text-muted);
  font-style: italic;
}

/* Properties / Keys */
.code-block .tok-key,
.code-block .nt,
.code-block .na {
  color: var(--text-dim);
}

/* Values / Numbers */
.code-block .tok-num,
.code-block .mi,
.code-block .mf {
  color: #fbbf24;
}

/* Booleans / Null */
.code-block .tok-bool,
.code-block .kc {
  color: #f472b6;
}

/* Punctuation */
.code-block .tok-punct,
.code-block .p {
  color: var(--text-muted);
}

/* Functions */
.code-block .tok-fn,
.code-block .nf {
  color: #60a5fa;
}

/* Types */
.code-block .tok-type {
  color: #34d399;
}

/* Operators */
.code-block .tok-op,
.code-block .o {
  color: var(--text-dim);
}

/* URLs in code */
.code-block .tok-url {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Shell prompt */
.code-block .tok-prompt {
  color: var(--text-muted);
  user-select: none;
}

/* JSON keys — semantic coloring for API docs */
.json-key {
  color: #93c5fd;
}

.json-str {
  color: var(--accent);
}

.json-num {
  color: #fbbf24;
}

.json-bool {
  color: #f472b6;
}

.json-null {
  color: var(--text-muted);
  font-style: italic;
}

/* HTTP method in code blocks */
.http-method {
  color: #10b981;
  font-weight: 700;
}

/* HTTP header keys */
.http-header {
  color: #93c5fd;
}
