[x-cloak] {
    display: none !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

code {
    color: white;
}

/* Override hljs styles */
.hljs {
    background: transparent !important;
    padding: 0 !important;
}

/* Copy button with checkmark animation */
.copy-btn-wrapper {
    position: relative;
}

.copy-btn {
    cursor: pointer;
    transition: all 0.2s;
    color: #94a3b8;
}

.copy-btn:hover {
    background: #334155;
}

.copy-icon, .check-icon {
    width: 16px;
    height: 16px;
    transition: opacity 0.3s ease-in-out;
}

.check-icon {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    opacity: 0;
    stroke: #38bdf8;
}

.copied .copy-icon {
    opacity: 0;
}

.copied .check-icon {
    opacity: 1;
}

/* Scrollbar styling for code blocks */
.code-block pre::-webkit-scrollbar {
    height: 8px;
}