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

#chatbot-toggle {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

#chatbot-toggle:hover {
    background: #0056b3;
}

#chatbot-window {
    display: none;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex-direction: column;
    height: 500px;
}

#chatbot-header {
    background: #007bff;
    color: white;
    padding: 12px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chatbot-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
}

#chat-history {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f9f9f9;
}

#chat-input-container {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    background: white;
}

#chat-input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#chat-send {
    margin-left: 8px;
    padding: 10px 15px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#chat-send:hover {
    background: #0056b3;
}

.message {
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    max-width: 80%;
    word-wrap: break-word;
}

.user-message {
    background: #e3f2fd;
    margin-left: auto;
    text-align: right;
}

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

.welcome-message {
    text-align: center;
    color: #666;
    font-style: italic;
    margin: 10px 0;
}