/* Memon Systems Syntax Highlighting Theme */
/* Based on a clean, high-contrast dark theme */

code[class*="language-"],
pre[class*="language-"] {
	color: #c5c8c6;
	text-shadow: 0 1px rgba(0, 0, 0, 0.3);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	font-size: 0.9em;
	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: 1.5em;
	margin: 1.5em 0;
	overflow: auto;
	border-radius: 0.5rem;
    background: #0f111a; /* Dark background matching the "technical" vibe */
    border: 1px solid #1f2937;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

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

.token.punctuation {
	color: #abb2bf;
}

.token.namespace {
	opacity: .7;
}

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

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
	color: #98c379; /* Green/Lime - nods to the secondary brand color */
}

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

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

.token.function,
.token.class-name {
	color: #61afef; /* Blue - nods to primary brand color */
}

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

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

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

.token.entity {
	cursor: help;
}

/* Scrollbar styling for code blocks */
pre[class*="language-"]::-webkit-scrollbar {
    height: 8px;
    background-color: #0f111a;
}

pre[class*="language-"]::-webkit-scrollbar-thumb {
    background-color: #374151;
    border-radius: 4px;
}
