/* 
 * UI Layout Adaptations for AI Hotel Booking Platform
 */

@keyframes aiChatBubbleFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(8px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.animate-fade-in {
    animation: aiChatBubbleFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Ensure smooth inertial scrolling inside the chat viewport on iOS/Android devices */
#ai-chat-stream {
    scrollbar-width: thin;
    scrollbar-color: rgba(156, 163, 175, 0.3) transparent;
    -webkit-overflow-scrolling: touch;
}

#ai-chat-stream::-webkit-scrollbar {
    width: 4px;
}

#ai-chat-stream::-webkit-scrollbar-thumb {
    background-color: rgba(156, 163, 175, 0.3);
    border-radius: 9999px;
}

/* Custom scrollbar cancellation for horizontal Quick-Reply chips */
.scrollbar-none::-webkit-scrollbar {
    display: none;
}
.scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
}