/* Base styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Code editor theme */
.cm-editor {
    height: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
}

.cm-editor .cm-scroller {
    font-family: 'Fira Code', monospace;
}

.cm-editor .cm-gutters {
    background-color: #f8fafc;
    color: #64748b;
    border-right: 1px solid #e2e8f0;
}

/* Animation for AI response */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}