.code-snippet-container {
    background-color: #1a2326;
    border-radius: 20px;
    padding: 24px;
    font-family: monospace;
    color: #e5e7eb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    position: relative;
}

.code-snippet-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px !important; /* EXACT 12PX GAP BETWEEN NAV AND CODE BLOCK */
    padding-bottom: 0px !important;
}

.code-snippet-tabs {
    display: flex;
    gap: 15px;
}

.code-snippet-tab {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.code-snippet-tab:hover {
    color: #ffffff;
}

.code-snippet-tab.active {
    background-color: #0b1113;
    color: #14b8a6;
    font-weight: bold;
}

.code-snippet-body {
    position: relative;
    background-color: #031919 !important;
    border-radius: 12px;
    padding: 20px;
}

.code-snippet-scroll-area {
    height: 373px !important;
    overflow-y: auto !important;
    overflow-x: hidden;
    padding-bottom: 40px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.code-snippet-scroll-area::-webkit-scrollbar {
    display: none;
}

.code-snippet-content {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-all;
}

.code-snippet-content code {
    font-family: inherit;
    color: #34d399;
}

.code-snippet-copy {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #4D6666 !important;
    border: none;
    border-radius: 8px;
    color: #ffffff !important;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
    z-index: 20;
}

.code-snippet-copy:hover {
    background-color: #5d7c7c !important;
}

.code-snippet-copy svg {
    stroke: #ffffff !important;
    fill: none !important;
}

.code-snippet-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    pointer-events: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    opacity: 0.8 !important;
    background: linear-gradient(0deg, #0B2020 0%, rgba(3, 25, 25, 0.00) 87.8%) !important;
    z-index: 10;
}