#chatbot-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 320px;
    background: #fff;
    border: 2px solid #0073aa;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
    z-index: 1000;
}

#chatbot-header {
    background: #0073aa;
    color: white;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    font-weight: bold;
    font-size: 16px;
}

#chatbot-body {
    display: none;
    padding: 10px;
}

#chatbot-messages {
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 10px;
    padding: 5px;
}

.chatbot-message {
    padding: 8px;
    margin: 5px 0;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
}

/* User messages - Clear background with border */
.chatbot-message.user {
    background: transparent;
    color: black;
    text-align: right;
    font-weight: normal;
    border: 1px solid #999;
    padding: 6px;
    border-radius: 8px 8px 0 8px;
}

/* Bot responses - Light grey background */
.chatbot-message.bot {
    background: #f1f1f1;
    color: #333;
    text-align: left;
    font-weight: normal;
    border-radius: 8px 8px 8px 0;
}

/* Style the "You" and "The Hub" labels */
.chatbot-message.user::before {
    content: "You: ";
    font-weight: bold;
    color: #0073aa;
}

.chatbot-message.bot::before {
    content: "🤖 The Hub: ";
    font-weight: bold;
    color: #0073aa;
}

/* Input field */
#chatbot-input {
    width: 80%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Send button */
#chatbot-send {
    width: 18%;
    background: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
}

/* Emojis for bot responses */
.emoji {
    font-size: 16px;
}
/* Ensure ordered lists (numbers) are visible */
.chatbot-message ol {
    list-style-type: decimal; /* Ensure numbers are shown */
    list-style-position: inside; /* Make numbers visible */
    margin-left: 0;
    padding-left: 15px; /* Adjust padding to avoid hiding */
}

/* Ensure unordered lists (dots) are visible */
.chatbot-message ul {
    list-style-type: disc; /* Ensure dots are shown */
    list-style-position: inside;
    margin-left: 0;
    padding-left: 15px;
}

/* Prevent duplicate user/bot titles */
.chatbot-message .user-label, .chatbot-message .bot-label {
    font-weight: bold;
    display: inline-block;
    margin-right: 5px;
}

