/* Chat Container Styles */
.chat-container {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    border-radius: 8px;
    overflow-y: auto;
    margin-bottom: 15px;
    height: 450px;
    padding: 15px;
    border: 1px solid #dee2e6;
}

.chat-message {
    display: flex;
    margin-bottom: 12px;
    animation: fadeIn 0.3s ease-in;
}

.chat-message.own {
    justify-content: flex-end;
}

/* Message Bubble Styles */
.message-bubble {
    max-width: 100%;
    padding: 10px 14px;
    border-radius: 18px;
    word-wrap: break-word;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.message-bubble.own {
    background-color: #007bff;
    color: white;
    border-bottom-right-radius: 4px;
}

.message-bubble.other {
    background-color: #e9ecef;
    color: #333;
    border-bottom-left-radius: 4px;
}

/* Message Time Styles */
.message-time {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

/* Message Info Styles */
.message-info {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    margin-bottom: 4px;
}

.message-sender {
    font-weight: 600;
    font-size: 13px;
    color: #666;
}

/* Chat Input Styles */
.chat-input-group textarea {
    border-radius: 20px 0 0 20px;
    resize: none;
}

.chat-input-group .btn {
    border-radius: 0 20px 20px 0;
    padding: 10px 20px;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Empty Chat Placeholder */
.chat-empty {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
