.code-wrapper {
    position: relative;
    margin: 20px 0;
    border-radius: 8px;
    background: #282c34;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 1px;
}
.code-wrapper .code-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #21252b;
    color: #abb2bf;
    user-select: none;
} 
.code-wrapper .code-toolbar .code-lang {
    margin-left: 5%;
    font-weight: bold;
    font-size: 0.85rem;
}
.code-wrapper .code-toolbar .code-actions {
    display: flex;
    gap: 10px;
}
.code-wrapper .code-toolbar .code-actions button {
    background: none;
    border: none;
    color: #abb2bf;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.4s, color 0.2s;
}
.code-wrapper .code-toolbar .code-actions button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.code-wrapper figure.highlight,
.code-wrapper pre {
    margin: 0 !important;
    border-radius: 0 !important;
    transition: max-height 0.4s ease-in-out, opacity 0.3s;
    max-height: 2000px;
    opacity: 1;
    background: none;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-color: var(--theme-primary-color) #282c34;
}
.code-wrapper figure.highlight.code-collapsed,
.code-wrapper pre.code-collapsed {
    max-height: 0;
    opacity: 0;
    padding: 0;
    overflow: hidden;
}
.code-height-info {
    font-size: 0.75rem;
    color: #888;
    margin-right: 8px;
}
.code-wrapper .gutter pre {
    width: 35px;
    text-align: center;
    border-right: 1px solid #aaa
}
.code-wrapper .gutter .line{
    color: #aaa;
}
.code-wrapper .hljs {
    background: none ;
}