/* Code-block styling only, extracted from vaig.css and vaig-extra.css.
   Loaded by code-blocks.js in the browser (not imported by audiocodes.css),
   so these classes stay out of the Flare style picker.
   Colors for the JSON tokens come from the Prism theme (prism-ghcolors.css). */

code, kbd, pre, samp {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Left border matches div.Note in audiocodes.css */
pre[class*="language-"] {
    border-left: 3px solid var(--blue, #1E6FB5);
}

.token.operator {
    background: none;
}

div.code-toolbar {
    margin-bottom: 1em;
}

div.code-toolbar > .toolbar {
    margin: 0;
}

div.code-toolbar > .toolbar .toolbar-item {
    margin: 0;
}

p + div.code-toolbar {
    margin-top: -0.7em;
}

/* Line highlighting (pre data-line="2-4") */
.line-highlight {
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
}

pre[data-line] {
    padding: 1em !important;
}

.line-highlight:before, .line-highlight[data-end]:after {
    content: unset !important;
}
