#chat-content {
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    cursor: text;
    flex-direction: column;
    gap: 10px;
}

.loading-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: bounce 3s infinite ease-in-out;
}

.loading-dots span:nth-child(2) {
    animation-delay: 1s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 1.5s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0.3);
        opacity: 0.3;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.msg {
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 80%;
    word-break: break-word;
}

.msg.user {
    align-self: flex-end;
    background-color: rgba(255, 255, 255, 0.2);
}

.msg.assistant {
    align-self: flex-start;
    background: rgba(76, 134, 116, 0.3);
}
