/* Collapsible Toggle Icon */
.chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #000;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
}

.chatbot-icon {
    width: 40px;
    height: 40px;
    filter: invert(100%);
}

/* Chat Window */
.chatbot-window {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 280px;
    height: 360px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    z-index: 9998;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.chatbot-window.collapsed {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

/* Chat log */
.chat-log {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
}

.chat-message {
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.3;
}

.chat-message.bot {
    background: #000;
    color: #fff;
}

.chat-message.user {
    background: #eee;
    color: #000;
    margin-left: 20px;
}

/* Input area */
.chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #000;
}

.chat-input input {
    flex-grow: 1;
    padding: 6px;
    font-size: 13px;
    border: 1px solid #000;
}

.chat-input button {
    background: #000;
    border: none;
    margin-left: 6px;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
}

.chat-input button img {
    filter: invert(100%);
}
