
/* Custom styles for theme */
.code-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.code-wrapper > pre[class*="language-"] {
    margin-top: 0;
}

.copy-button {
    position: absolute;
    top: 10px;
    right: 15px;
    display: flex;
    align-items: center;
    color: rgb(164, 164, 164);
    cursor: pointer;
    background: transparent;
    border: none;
}

.copy-button svg {
    width: 1.25rem;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.copy-button:hover svg {
    opacity: 1;
}