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

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Message animations */
.message-enter {
    opacity: 0;
    transform: translateY(10px);
}

.message-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 300ms, transform 300ms;
}

/* Streaming animation */
.streaming-dots {
    display: inline-block;
}

.streaming-dots::after {
    content: '...';
    animation: streaming 1.5s infinite;
}

@keyframes streaming {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Code block styling */
.code-block {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 1rem;
    margin: 0.5rem 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
}

/* Gradient backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, #0ea5e9 0%, #d946ef 100%);
}

/* Smooth transitions */
* {
    transition: all 0.2s ease-in-out;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .mobile-hidden {
        display: none;
    }
    
    .mobile-full {
        width: 100%;
    }
}

/* Model badge styles */
.model-badge {
    @apply px-2 py-1 rounded-full text-xs font-medium;
}

.model-chatgpt {
    @apply bg-green-500/20 text-green-400;
}

.model-gemini {
    @apply bg-blue-500/20 text-blue-400;
}

.model-claude {
    @apply bg-purple-500/20 text-purple-400;
}