/* Custom styles for ChatSphere Pro */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
}

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

::-webkit-scrollbar-track {
    background: #374151;
}

::-webkit-scrollbar-thumb {
    background: #6b7280;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Conversation item hover effects */
.conversation-item {
    transition: all 0.2s ease-in-out;
}

.conversation-item:hover {
    transform: translateX(2px);
}

/* Message animations */
@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message {
    animation: messageSlideIn 0.3s ease-out;
}

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

/* Focus states for accessibility */
.focus-visible:focus {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
}

/* Custom border radius for messages */
.rounded-tl-none {
    border-top-left-radius: 0 !important;
}

.rounded-tr-none {
    border-top-right-radius: 0 !important;
}

/* Dark mode enhancements */
.dark .bg-gray-750 {
    background-color: #2d3748;
}
/* Responsive design helpers */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: fixed;
        z-index: 40;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    /* Mobile menu button */
    #mobileMenuButton {
        transition: all 0.3s ease-in-out;
    }
}
