/* Chatbot Widget Styles */
.chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 500px;
    z-index: 1000;
    font-family: 'Arial', sans-serif;
}

.chatbot-toggle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-container {
    display: none;
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 100%;
    height: 450px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
}

.chatbot-container.active {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.chatbot-header {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: bold;
}

.chatbot-messages {
    height: 300px;
    overflow-y: auto;
    padding: 15px;
    background: #f8f9fa;
}

.message {
    margin-bottom: 15px;
    display: flex;
    align-items: flex;
}

.message.user {
    justify-content: flex-end;
}

.message.bot {
    justify-content: flex-start;
}

.message-content {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    word-wrap: break-word;
}

.message.user .message-content {
    background: #007bff;
    color: white;
}

.message.bot .message-content {
    background: white;
    color: #333;
    border: 1px solid #ddd;
}

.chatbot-input {
    display: flex;
    padding: 15px;
    background: white;
    border-top: 1px solid #ddd;
}

.chatbot-input input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 10px 15px;
    outline: none;
}

.chatbot-input button {
    margin-left: 10px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.chatbot-input button:hover {
    background: #0056b3;
}

.typing-indicator {
    /* display: none;
    color: #666;
    font-style: italic;
    padding: 10px 15px; */

    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #666;
    font-style: italic;
    padding: 8px 15px 0 15px;
    background: transparent;
    min-height: 28px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .chatbot-widget {
        width: 300px;
        bottom: 10px;
        right: 10px;
    }
    
    .chatbot-container {
        height: 400px;
    }
    
    .chatbot-messages {
        height: 250px;
    }
}
