/**
 * Catppuccin Mocha theme for Prism.js
 * https://github.com/catppuccin/prismjs
 */

code[class*="language-"],
pre[class*="language-"] {
	color: #cdd6f4;
	background: none;
	font-family: var(--font-mono);
	font-size: 14px;
	line-height: 1.6;
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
	word-wrap: normal;
	tab-size: 4;
	hyphens: none;
}

pre[class*="language-"]::selection,
pre[class*="language-"] ::selection,
code[class*="language-"]::selection,
code[class*="language-"] ::selection {
	text-shadow: none;
	background: #585b70;
	color: #cdd6f4;
}

@media print {
	code[class*="language-"],
	pre[class*="language-"] {
		text-shadow: none;
	}
}

pre[class*="language-"] {
	padding: 1.5rem;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	overflow: auto;
	border-radius: 8px;
	border: none;
}

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
	background: #181825;
}

:not(pre) > code[class*="language-"] {
	padding: .1em;
	border-radius: .3em;
	white-space: normal;
}

.token.comment,
.token.punctuation {
	color: #9399b2;
}

.token.prolog,
.token.doctype {
	color: #cba6f7;
}

.token.cdata {
	color: #94e2d5;
}

.token.keyword,
.token.important,
.token.atrule {
	color: #cba6f7;
}

.token.builtin,
.token.entity {
	color: #f38ba8;
}

.token.class-name,
.token.symbol,
.token.namespace,
.token.attr-name {
	color: #f9e2af;
}

.token.function,
.token.property,
.token.tag,
.token.selector {
	color: #89b4fa;
}

.token.boolean,
.token.number,
.token.constant {
	color: #fab387;
}

.token.string,
.token.char,
.token.attr-value,
.token.url,
.token.inserted {
	color: #a6e3a1;
}

.token.operator {
	color: #89dceb;
}

.token.variable {
	color: #cdd6f4;
}

.token.regex {
	color: #f5c2e7;
}

.token.deleted {
	color: #f38ba8;
}

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

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

/* Line numbers */
pre.line-numbers {
	position: relative;
	padding-left: 3.8em;
	counter-reset: linenumber;
}

pre.line-numbers > code {
	position: relative;
}

.line-numbers .line-numbers-rows {
	position: absolute;
	pointer-events: none;
	top: 0;
	font-size: 100%;
	left: -3.8em;
	width: 3em;
	letter-spacing: -1px;
	border-right: 0;
	user-select: none;
}

.line-numbers-rows > span {
	pointer-events: none;
	display: block;
	counter-increment: linenumber;
}

.line-numbers-rows > span:before {
	content: counter(linenumber);
	color: #585b70;
	display: block;
	padding-right: 0.8em;
	text-align: right;
}
