/* 2. chat-core.css - Message System Styles */

.message-bubble {
    max-width: 80%;
    padding: 12px 14px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.message-bubble.stacey {
    align-self: flex-start;
    background: white;
    border: 1px solid rgba(0,0,0,.06);
}

.message-bubble.user {
    align-self: flex-end;
    color: white;
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #db2777;
    display: inline-block;
    margin-right: 4px;
    animation: typingBounce 1s infinite;
}

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

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

@keyframes typingBounce {
    0%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-4px);
    }
}