/**
 * Catpuccin Latte theme for Prism.js
 * Based on https://github.com/catppuccin/catppuccin
 * @author Wes Gould
 */

code[class*="language-"],
pre[class*="language-"] {
	color: #4c4f69; /* text */
	background: none;
	font-family: "Fira Code", Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
	font-feature-settings: normal;
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
	word-wrap: normal;
	line-height: 1.5;
	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

/* Code blocks */
pre[class*="language-"] {
	padding: 1em;
	margin: 0.5em 0;
	overflow: auto;
	border-radius: 0.3em;
	background: #ccd0da; /* surface0 */
}

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

/* Inline code */
:not(pre) > code[class*="language-"] {
	padding: 0.1em;
	border-radius: 0.3em;
	white-space: normal;
}

/* Syntax highlighting */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
	color: #9ca0b0; /* overlay0 */
}

.token.punctuation {
	color: #7c7f93; /* overlay2 */
}

.token.namespace {
	opacity: 0.7;
}

.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
	color: #d20f39; /* red */
}

.token.boolean,
.token.number {
	color: #fe640b; /* peach */
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
	color: #40a02b; /* green */
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string,
.token.variable {
	color: #1e66f5; /* blue */
}

.token.atrule,
.token.attr-value,
.token.function,
.token.class-name {
	color: #df8e1d; /* yellow */
}

.token.keyword {
	color: #8839ef; /* mauve */
}

.token.regex,
.token.important {
	color: #fe640b; /* peach */
}

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

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

.token.entity {
	cursor: help;
}

/* Line highlighting */
pre[class*="language-"].line-numbers {
	position: relative;
	padding-left: 3.8em;
	counter-reset: linenumber;
}

pre[class*="language-"].line-numbers > code {
	position: relative;
	white-space: inherit;
}

.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: 1px solid #bcc0cc; /* surface1 */
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

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

.line-numbers-rows > span:before {
	content: counter(linenumber);
	color: #9ca0b0; /* overlay0 */
	display: block;
	padding-right: 0.8em;
	text-align: right;
}

/* Custom ingredients language styling */
.token.measurement,
.token.quantity {
	color: #fe640b; /* peach - for measurements and quantities */
	font-weight: bold;
}

.token.ingredient-name {
	color: #40a02b; /* green - for ingredient names */
}