/* Chatbot Floating Action Button (minimized) */
#chatbot-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #7b7b7b;
    color: white;
    font-size: 1.75rem;
    line-height: 56px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: all 0.2s ease;
}

/* Chatbot Main Window (overlay style, draggable) */
#chatbot-container {
    display: none;
    flex-direction: column;
    position: fixed;
    z-index: 10000;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    width: 300px;
    max-height: 400px;
    overflow: hidden;
    bottom: 90px;
    right: 30px;
}

/* Header, draggable */
#chatbot-header {
    background: #7b7b7b;
    color: white;
    font-size: 0.875rem;
    padding: 8px 12px;
    cursor: move;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 36px;
}

#chatbot-close {
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
}

/* Chat content area */
#chatbot-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background: #f8f8f8;
    font-family: Arial, sans-serif;
}

/* Chat bubbles */
.chatbot-bubble {
    max-width: 80%;
    margin: 5px 0;
    padding: 8px 12px;
    border-radius: 15px;
    display: inline-block;
    clear: both;
}

.chatbot-user {
    /* background removed to allow JS styling */
    float: right;
}

.chatbot-bot {
    background: #e2e2e2;
    float: left;
}

/* Input section */
#chatbot-input-area {
    display: flex;
    border-top: 1px solid #ccc;
}

#chatbot-user-input {
    flex: 1;
    padding: 8px;
    border: none;
    border-right: 1px solid #ccc;
}

#chatbot-input-area button {
    padding: 8px 12px;
    background: #7b7b7b;
    color: white;
    border: none;
    cursor: pointer;
}
