/* Chatbot Toggle Button Styling */
#university-chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: Tahoma, sans-serif;
}

#chatbot-toggle-button {
    background-color: #0073aa;
    color: white;
    padding: 10px 15px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    transition: background-color 0.3s;
}

#chatbot-toggle-button:hover {
    background-color: #005177;
}

/* Chat Container Styling */
#chatbot-container {
    width: 350px;
    height: 450px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    bottom: 60px;
    right: 0;
}

#chatbot-container.hidden {
    display: none;
}

/* Header Styling */
#chatbot-header {
    background-color: #0073aa;
    color: white;
    padding: 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#chatbot-close-button {
    cursor: pointer;
    font-size: 1.5em;
}

/* Messages Area Styling */
#chatbot-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f9f9f9;
}

.message {
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 15px;
    max-width: 80%;
    word-wrap: break-word;
}

.bot-message {
    background-color: #e0e0e0;
    color: #333;
    align-self: flex-start;
}

.user-message {
    background-color: #007bff;
    color: white;
    align-self: flex-end;
    text-align: right;
}

/* Input Area Styling */
#chatbot-input-area {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
}

#chatbot-user-input {
    flex-grow: 1;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 8px 15px;
    margin-right: 8px;
    outline: none;
}

#chatbot-send-button {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#chatbot-send-button:hover {
    background-color: #218838;
}
