/**
 * Prism.js - Minimal Syntax Highlighting
 * Dark theme customized for AtoClick Blog
 */

code[class*="language-"],
pre[class*="language-"] {
    color: #d4d4d4;
    background: none;
    font-family: 'JetBrains Mono', 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    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: 1.5rem 0;
    overflow: auto;
    background: #0F2E2A;
    border-radius: 8px;
}

:not(pre)>code[class*="language-"] {
    padding: 0.2em 0.4em;
    border-radius: 4px;
    background: #1F3D3A;
}

/* Tokens */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
    color: #6A9955;
}

.token.punctuation {
    color: #d4d4d4;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
    color: #35C28D;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
    color: #CE9178;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
    color: #d4d4d4;
}

.token.atrule,
.token.attr-value,
.token.keyword {
    color: #569CD6;
}

.token.function,
.token.class-name {
    color: #DCDCAA;
}

.token.regex,
.token.important,
.token.variable {
    color: #D16969;
}

.token.important,
.token.bold {
    font-weight: bold;
}

.token.italic {
    font-style: italic;
}

/* Line numbers */
pre[class*="language-"].line-numbers {
    position: relative;
    padding-left: 3.8rem;
    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: 1.5rem;
    left: 0;
    width: 3rem;
    letter-spacing: -1px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    user-select: none;
}

.line-numbers-rows>span {
    display: block;
    counter-increment: linenumber;
}

.line-numbers-rows>span:before {
    content: counter(linenumber);
    color: #5C6370;
    display: block;
    padding-right: 0.8rem;
    text-align: right;
}