/* Minimal Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d4d4d8; border-radius: 4px; }
.dark ::-webkit-scrollbar-thumb { background: #3f3f46; }
.glass { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.dark .glass { background: rgba(9, 9, 11, 0.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* Highlight JS Override for better blending */
.hljs { background: transparent !important; padding: 0 !important; }

/* CodeMirror Styling Override */
.CodeMirror {
    height: 250px;
    border-radius: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    border: 1px solid #27272a; /* zinc-800 */
}
.CodeMirror-focused {
    border-color: #71717a !important; /* zinc-500 */
    box-shadow: 0 0 0 2px rgba(113, 113, 122, 0.2);
}
@media (max-width: 640px) {
    .CodeMirror {
        height: 180px;
        font-size: 12px;
    }
}

        .custom-scrollbar::-webkit-scrollbar { width: 8px; height: 8px; }
        .custom-scrollbar::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); border-radius: 4px; }
        .dark .custom-scrollbar::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
        .custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 4px; }
        .dark .custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); }
        .custom-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.3); }
        .dark .custom-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); }