/* Custom styles for ChatBot Manager */

.sidebar {
    min-height: calc(100vh - 56px);
    background-color: #f8f9fa;
}

.content {
    padding: 20px;
}

.chat-container {
    height: 70vh;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.chat-input {
    margin-top: 15px;
}

.message {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 10px;
    max-width: 80%;
}

.user-message {
    background-color: #d1ecf1;
    margin-left: auto;
}

.bot-message {
    background-color: #e2e3e5;
    margin-right: auto;
}

.typing-indicator {
    display: none;
    background-color: #e2e3e5;
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    width: fit-content;
}

.typing-indicator span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #666;
    border-radius: 50%;
    margin-right: 5px;
    animation: typing 1s infinite;
}

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

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
    margin-right: 0;
}

@keyframes typing {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}
