/* Custom Scrollbar Styles */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(156, 163, 175, 0.5); /* gray-400 equivalent */
    border-radius: 4px;
}
.dark .custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(75, 85, 99, 0.5); /* gray-600 equivalent */
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(107, 114, 128, 0.8);
}
.dark .custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(107, 114, 128, 0.8);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Code Panel Styling Extras */
.code-panel pre {
    margin: 0;
    background: transparent !important;
    padding: 0 !important;
}

.code-panel .hljs {
    background: transparent;
    padding: 0;
}

/* Highlight.js custom overrides for better dark mode blending */
.hljs-attr {
    color: #8be9fd;
}
.hljs-string {
    color: #f1fa8c;
}
.hljs-number, .hljs-literal {
    color: #bd93f9;
}
.hljs-keyword {
    color: #ff79c6;
}
.hljs-title.function_ {
    color: #50fa7b;
}
