.chatbot_icon {
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 1000;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    background: white;
    padding: 12px 10px;
    cursor: pointer;
    border: 2px solid rgba(73, 145, 170, 1);
}

.chatbot_icon:hover {
    border: 3px solid rgba(73, 145, 170, 1);
}

.chatbot_box {
    position: fixed;
    right: 20px;
    bottom: 80px;
    width: 350px;
    height: 60vh;
    z-index: 1000;
    /* background: #eef1ef; */
    background: white;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transform: scaleY(0);
    -webkit-transform: scaleY(0);
    -moz-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -o-transform: scaleY(0);
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
        rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    font-family: "Work Sans", sans-serif;
    overflow: hidden;
}

.chatbot_box.active {
    transform: scaleY(1);
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -o-transform: scaleY(1);
}

#chatbot_header {
    height: 15%;
    background: rgba(73, 145, 170, 1);
    display: flex;
    align-items: center;
    font-weight: bold;
    padding-bottom: 2px;
}

#chatbot_conversation {
    height: 75%;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    padding-top: 15px;
    font-size: 0.9rem;
}

#chatbot_footer {
    height: 10%;
    padding-bottom: 10px;
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding-right: 20px;
}

#chatbot_picture {
    display: block;
    width: 50px;
    height: 50px;
    margin-left: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-border-radius: 99em;
    -moz-border-radius: 99em;
    border-radius: 99em;
    border: 2px solid #eee;
    box-shadow: 0 3px 2px rgba(0, 0, 0, 0.3);
}

#chatbot_name {
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
    margin-left: 20px;
    text-transform: uppercase;
}

#chatbot_close {
    position: absolute;
    right: 25px;
    top: 10px;
    width: 10px;
    height: 10px;
    opacity: 0.3;
}

#chatbot_close:hover {
    opacity: 1;
}

#chatbot_close:before,
#chatbot_close:after {
    position: absolute;
    left: 15px;
    content: " ";
    height: 15px;
    width: 2px;
    background-color: white;
}

#chatbot_close:before {
    transform: rotate(45deg);
}

#chatbot_close:after {
    transform: rotate(-45deg);
}

#chatbot_send {
    width: 25px;
    height: 25px;
    opacity: 0.5;
    cursor: pointer;
}

#chatbot_send:hover {
    opacity: 1;
}

#chatbot_input {
    width: 80%;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    padding: 5px 15px;
    /* border: 2px solid rgba(73, 145, 170, 1); */
    border: none;
}

#chatbot_input:focus-visible {
    outline: none !important;
    /* border: 3px solid rgba(73, 145, 170, 1); */
}

.chatbot_message {
    background: white;
    padding: 3px 20px;
    width: fit-content;
    max-width: 70%;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.bot_message {
    margin-left: 10px;
    border-radius: 0px 15px 15px 15px;
    -webkit-border-radius: 0px 15px 15px 15px;
    -moz-border-radius: 0px 15px 15px 15px;
    -ms-border-radius: 0px 15px 15px 15px;
    -o-border-radius: 0px 15px 15px 15px;
}

.user_message {
    background: rgba(73, 145, 170, 1);
    align-self: flex-end;
    margin-right: 15px;
    color: white;
    border-radius: 15px 0px 15px 15px;
    -webkit-border-radius: 15px 0px 15px 15px;
    -moz-border-radius: 15px 0px 15px 15px;
    -ms-border-radius: 15px 0px 15px 15px;
    -o-border-radius: 15px 0px 15px 15px;
    word-wrap: break-word;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 3px;
    background: rgba(73, 145, 170, 1);
    animation: wave 1.3s linear infinite;
    -webkit-animation: wave 1.3s linear infinite;
}

.dot:nth-child(2) {
    animation-delay: -1.1s;
}

.dot:nth-child(3) {
    animation-delay: -0.9s;
}

@keyframes wave {
    0%,
    60%,
    100% {
        transform: initial;
    }

    30% {
        transform: translateY(-10px);
        -webkit-transform: translateY(-10px);
        -moz-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        -o-transform: translateY(-10px);
    }
}

@media (max-width: 450px) {
    .chatbot_box {
        height: 40vh;
    }

    #chatbot_picture {
        width: 30px;
        height: 30px;
    }
}
