body.dark-theme .code-container  {
    --code-background-color: #131313;
    --code-copybtn-color: black;
    --code-copybtn-bg-color: #ddad6f;
    --code-copybtn-bg-color-hover: #ffec00;
    --code-identifier-color: #999;
    --code-identifier-bg-color: #3d3d3d;
    --code-line-numbers-bg-color: #2e2e2e;
    --code-line-numbers-text: #979797;
    --code-line-numbers-color: #4b4b4b
}

body.light-theme .code-container  {
    --code-background-color: #fff;
    --code-copybtn-color: white;
    --code-copybtn-bg-color: #ff9900;
    --code-copybtn-bg-color-hover: #ffd100;
    --code-identifier-color: #323232;
    --code-identifier-bg-color: #a3a2a2;
    --code-line-numbers-bg-color: #ccc;
    --code-line-numbers-text: #333333;
    --code-line-numbers-color: #323232
}

.copy-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--code-copybtn-bg-color);
    border: none;
    color: var(--code-copybtn-color);
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 2px;
    font-size: 10px;
    z-index: 10; 
}

.copy-button:hover {
    background-color: var(--code-copybtn-bg-color-hover);
}

.code-identifier {
    position: absolute;
    top: 9px;
    left: 5px;
    min-width: 30px;
    text-align: center;
    background-color: var(--code-identifier-bg-color);
    color: var(--code-identifier-color);
    padding: 2px 10px;
    border-radius: 2px;
    font-size: 10px;
    z-index: 10; 
}

.code-container {
    position: relative;
    border-radius: 5px;
    padding: 10px;
    overflow: auto;
    color: var(--code-text-color) !important;
}


.code-container pre {
    background-color: var(--code-background-color) !important; /* Black background for VEX code */
    border: 1px solid var(--code-copybtn-bg-color) !important; /* Yellow outline */
    border-radius: 2px;
    padding: 1em;
    position: relative;
    font-family: 'Source Code Pro', monospace !important;
    font-weight: 600 !important; /* SemiBold 600 */
    font-size: 11px !important; /* Smaller font size in VEX container */
    line-height: 1 !important; /* Ensure line-height is applied */
    padding-bottom: 3px;
    padding-top: inherit;
    position: relative;
}


pre.line-numbers {
    padding-left: 3em !important; /* Adjust for line numbers */
    max-height: 500px;
}

pre.line-numbers .line-numbers-rows {
    background-color: var(--code-line-numbers-bg-color) !important; /* Background color for line numbers */
    width: 3.2em;
}

pre.line-numbers .line-numbers-rows > span:before {
    color: var(--code-line-numbers-text) !important; /* Color of line numbers */
}

.line-numbers-rows > span:before {
    padding-right: 3.5px;
}

.line-numbers .line-numbers-rows {
    color: var(--code-line-numbers-color) !important; /* Color of line numbers */
    border-right: 0px solid #515151  !important;
}

@media (max-width: 950px) {

    .code-container pre {
        font-family: 'Source Code Pro', monospace !important;
        font-weight: 600 !important; /* SemiBold 600 */
        font-size: 9px !important; /* Smaller font size in VEX container */
        line-height: 1 !important; /* Ensure line-height is applied */
    }


}