/* Shiki Syntax Highlighting Styles */
/* Shiki generates inline styles, so we mainly need container styling */

.code-block-shiki {
    background: #1e1e1e;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    padding: 0;
    overflow-x: auto;
    border-radius: 6px;
}

/* Shiki pre element styling */
.code-block-shiki pre {
    margin: 0;
    padding: 1rem;
    background: transparent !important;
}

/* Shiki code element styling */
.code-block-shiki code {
    font-family: inherit;
    font-size: inherit;
    background: transparent !important;
}

/* Selection */
.code-block-shiki ::selection {
    background: #264f78;
}

/* Scrollbar styling for webkit browsers */
.code-block-shiki::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.code-block-shiki::-webkit-scrollbar-track {
    background: #1e1e1e;
}

.code-block-shiki::-webkit-scrollbar-thumb {
    background: #424242;
    border-radius: 5px;
}

.code-block-shiki::-webkit-scrollbar-thumb:hover {
    background: #4e4e4e;
}

/* Ensure Shiki's generated HTML maintains proper spacing */
.code-block-shiki .line {
    display: inline-block;
    min-height: 1em;
}
