body {
    font-family: Arial, sans-serif;
    background-color: #F4F4F4;
    color: #333;
    margin: 0;
}

/* .chatBot {

    background: url("{% static 'maustats-bg.jpg' %}") 0 0 no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100%;
} */

#user-input {
    flex: 1;
    color: #333;
    flex-grow: 1;
    border: none;
    padding: 12px 40px 12px 12px;
    outline: none;
    transition: background-color 0.3s ease;
    width: 100%;
    height: 30px;
    font-size: 14px;
}

.message {
    margin-bottom: 10px;
}

.message strong {
    display: block;
}

.chatbotImg {
    position: fixed;
    right: 20px;
    width: 70px;
    height: 70px;
    bottom: 20px;
    cursor: pointer;
    animation: jump 5s linear alternate infinite;
}

.chatbotImg.animationStop {
    animation: unset;
}

.chatbotImg img {
    width: 100%;
}

@keyframes jump {
    0% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -15px, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

.chatbotBox .container {
    padding: 0;
    background: #fff;
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 50%;
    height: 74vh;
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    display: none;
}

.chatbotBox .container.active {
    display: block;
}

.chatbotBox .container h1 {
    margin: 0;
    font-size: 18px;
    background-color: #021945;
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-weight: 500;
    position: relative;
    height: 30px;
    display: flex;
    align-items: center;
}

.chatbox::-webkit-scrollbar {
    width: 0;
}

.chatbox {
    padding: 10px;
    flex-grow: 1;
    overflow-y: auto;
    height: calc(74vh - 125px);
    background: #f5f8fb;
}

.user-query {
    position: relative;
    width: 100%;
    display: flex;
}

input {
    outline: none;
}

#send-button {
    padding: 0;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 0;
    background: none;
    bottom: 0;
    right: 10px;
    display: flex;
    align-items: center;
    margin: 0;
}

#send-button:hover {
    background: none;
}

#send-button svg polygon {
    fill: #555;
    transition: all .3s ease-in-out;
}

#send-button:hover svg polygon {
    fill: #021945;
}

.messageBox {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 5px 5px 15px;
    justify-content: end;
}

.messageBox .user {
    display: flex;
    min-width: 30px;
    height: 30px;
}

.messageBox .user img {
    filter: brightness(0) saturate(100%) invert(42%) sepia(0%) saturate(271%) hue-rotate(154deg) brightness(90%) contrast(85%);
}

.message {
    float: right;
    padding: 12px 15px;
    margin: 0;
    border-radius: 20px 20px 20px 1px;
    background: #efefef;
    color: #333;
    min-width: 40px;
    font-size: 14px;
}

.message.admin {
    float: left;
    background: #021945;
    color: #fff;
    margin: 0;
    border-radius: 20px 20px 1px 20px;
}

.messageBox .user.chatbot_icon {
    background: #656565;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.messageBox .user.chatbot_icon img {
    filter: brightness(0) saturate(100%) invert(92%) sepia(52%) saturate(0%) hue-rotate(267deg) brightness(109%) contrast(101%);
    width: 20px;
    height: 17px;
}

.messageBox.mbadmin {
    width: 90%;
    justify-content: start;
}

img.chat_close {
    width: 16px;
    position: absolute;
    right: 20px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(3%) hue-rotate(122deg) brightness(102%) contrast(104%);
    top: 0;
    bottom: 0;
    margin: auto;
    cursor: pointer;
}