/**
 * Prism.js One Dark theme (adapted for BRK code blocks)
 * Matches the dark code background from theme.json
 */

code[class*="language-"],
pre[class*="language-"] {
	color: #abb2bf;
	background: none;
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
	word-wrap: normal;
	line-height: 1.6;
	tab-size: 4;
	hyphens: none;
}

pre[class*="language-"] {
	padding: 1.5rem;
	margin: 0;
	overflow: auto;
	border-radius: 8px;
	background: #1e293b;
}

:not(pre) > code[class*="language-"] {
	padding: 0.2em 0.4em;
	border-radius: 4px;
	background: #1e293b;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
	color: #5c6370;
	font-style: italic;
}

.token.punctuation {
	color: #abb2bf;
}

.token.selector,
.token.tag {
	color: #e06c75;
}

.token.property,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.attr-name,
.token.deleted {
	color: #d19a66;
}

.token.string,
.token.char,
.token.attr-value,
.token.builtin,
.token.inserted {
	color: #98c379;
}

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

.token.atrule,
.token.keyword {
	color: #c678dd;
}

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

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

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

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

/* PowerShell-specific */
.token.namespace {
	color: #e06c75;
}

/* Line numbers (optional) */
.line-numbers .line-numbers-rows {
	border-right: 1px solid #3e4451;
}

.line-numbers-rows > span:before {
	color: #495162;
}
