:where([class^="ri-"])::before { content: "\f3c2"; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #F8F9FA;
}
.chat-bubble {
    max-width: 80%;
    border-radius: 16px;
    padding: 10px 14px;
    margin-bottom: 12px;
    position: relative;
}
.chat-bubble.sent {
    background-color: #3176FF;
    color: white;
    border-bottom-right-radius: 4px;
    margin-left: auto;
}
.chat-bubble.received {
    background-color: #F1F5F9;
    color: #334155;
    border-bottom-left-radius: 4px;
}
.chat-time {
    font-size: 10px;
    opacity: 0.7;
    margin-top: 4px;
    text-align: right;
}
.typing-indicator {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background-color: #F1F5F9;
    border-radius: 16px;
    width: fit-content;
    margin-bottom: 12px;
}
.typing-dot {
    width: 8px;
    height: 8px;
    background-color: #94A3B8;
    border-radius: 50%;
    margin-right: 4px;
    animation: typing 1.4s infinite ease-in-out;
}
.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}
.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
    margin-right: 0;
}
@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-4px);
    }
}