#chatbot {
    width: 320px;
    height: 450px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    font-family: Arial, sans-serif;
    z-index: 9999;
    inset: 4px auto auto 3px;
}

#chat-header {
    background: #4CAF50;
    color: white;
    padding: 10px;
    cursor: move; /* Show draggable cursor */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#chat-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    font-size: 14px;
}

.message {
    padding: 8px;
    margin: 5px 0;
    border-radius: 5px;
    max-width: 80%;
    word-wrap: break-word;
}
.user {
    background: #DCF8C6;
    align-self: flex-end;
}
.bot {
    background: #F1F0F0;
    align-self: flex-start;
}

#chat-input {
    display: flex;
    border-top: 1px solid #ccc;
}
#user-input {
    flex: 1;
    padding: 8px;
    border: none;
    outline: none;
}
#send-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
}
#send-btn:hover {
    background: #45a049;
}
