/**
 * Prism.js Catppuccin Frappe theme
 * Based on the Catppuccin Frappe color palette
 * https://github.com/catppuccin/catppuccin
 */

code[class*="language-"],
pre[class*="language-"] {
    color: #c6d0f5; /* text */
    background: none;
    text-shadow: 0 1px rgba(0, 0, 0, 0.3);
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    font-size: 1em;
    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: .5em 0;
    overflow: auto;
    border-radius: 0.3em;
}

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
    background: #292c3c; /* mantle - darker than main bg */
}

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

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
    color: #737994; /* overlay0 - comments */
}

.token.punctuation {
    color: #949cbb; /* overlay2 */
}

.token.namespace {
    opacity: .7;
}

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

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

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

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string,
.token.variable {
    color: #81c8be; /* teal */
}

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

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

.token.regex,
.token.important {
    color: #eebebe; /* flamingo */
}

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

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

.token.entity {
    cursor: help;
}

/* Line highlighting */
.line-highlight {
    background: rgba(99, 110, 147, 0.2); /* surface0 with transparency */
    background: linear-gradient(to right, rgba(99, 110, 147, 0.2) 70%, rgba(99, 110, 147, 0));
}

/* Line numbers */
.line-numbers .line-numbers-rows {
    border-right: 1px solid #626880; /* surface2 */
}

.line-numbers-rows > span:before {
    color: #737994; /* overlay0 */
}

/* Selection */
code[class*="language-"]::-moz-selection,
pre[class*="language-"]::-moz-selection,
code[class*="language-"] ::-moz-selection,
pre[class*="language-"] ::-moz-selection {
    background: #414559; /* surface0 */
}

code[class*="language-"]::selection,
pre[class*="language-"]::selection,
code[class*="language-"] ::selection,
pre[class*="language-"] ::selection {
    background: #414559; /* surface0 */
}