body {
    font-family: Arial, sans-serif;
}

.chatbot-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index:1;
}


.chatbot {
    display:none; /* Initially hidden */
    position: fixed;
    bottom: 70px; /* Adjusted to be slightly above the button */
    right: 20px;
    width: 300px;
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: white;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.chatbot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.chatbot-body {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.messages {
    flex-grow: 1;
    overflow-y: auto;
    padding-bottom: 10px;
}

.chat-input {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    width: calc(100% - 80px);
    margin-right: 5px;
}

.send-btn {
    padding: 5px 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.user-message {
    color: blue;
    margin: 5px 0;
}

.bot-message {
    color: green;
    margin: 5px 0;
}
