body {
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: contain;
    min-height: max(884px, 100dvh);
}

.message-bubble-in {
    border-bottom-left-radius: 4px;
}

.message-bubble-out {
    border-bottom-right-radius: 4px;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-message {
    opacity: 0;
    animation: fadeSlideUp 0.6s cubic-bezier(0.2, 0, 0, 1) forwards;
}

.animate-option {
    opacity: 0;
    animation: fadeSlideUp 0.5s cubic-bezier(0.2, 0, 0.2, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {

    .animate-message,
    .animate-option {
        opacity: 1;
        animation: none;
        transform: none;
    }
}

.option-interactive {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.option-interactive:active {
    transform: scale(0.98);
    background-color: #f1f5f9;
}

@keyframes typingDot {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.4;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.typing-dot {
    animation: typingDot 1.2s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

.chip {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.chip:active {
    transform: scale(0.96);
}
