#chat-body{
    position: fixed;
    right: 40px;
    bottom: 60px;
    width: 350px;
    max-height: 500px;
    border-radius: 10px;
    box-shadow: 0px 8px 23px 3px rgba(0,0,0,0.2);
    font-family: Arial, Helvetica, sans-serif;
    background-color: white;
    z-index: 99999;
    display:none;
}

#info-container {
    display: flex;
    padding: 20px;
    border-radius: 10px 10px 0px 0px;
}

#info{
    display: flex;
    flex-direction: column;
    font-size: 20px;
    color: white;
}

#chat-container {
    width: 100%;
    height: 300px;
    border-bottom: 1px solid #ccc;
    overflow-y: scroll;
}
#chat-messages {
    padding: 10px;
    display: flex;
    flex-direction: column;
}
.message {
    margin-bottom: 10px;
    padding: 20px;
    background-color:rgba(0,0,255,0.05);
    border-radius: 10px 0px 10px 10px;
    align-self: flex-end;
}
.robot {
    margin-bottom: 10px;
    padding: 20px;
    background-color:rgba(0,0,255,0.05);
    border-radius: 0px 10px 10px 10px;
    align-self: flex-start;
}
.load{
    margin-bottom: 10px;
    padding: 10px;
    background-color:rgba(0,255,0,0.05);
    border-radius: 10px 10px 10px 10px;
    align-self: center;
}

#input-container {
    display: flex;
    padding: 20px;
}
#message-input {
    width: 80%;
    padding: 5px 10px;
    margin-right: 10px;
    border: none;
    border-radius: 200px;
}
#send-button {
    width: 30%;
    padding: 5px 10px;
    border: none;
    color: white;
    border-radius: 200px;
    text-transform: none;
    font-size: 16px;
}

@media (max-width: 768px) {
    #chat-body{
        right: 0px;
        bottom: 0px;
        width: 100vw;
        max-height: 500px;
        border-radius: 10px;
        box-shadow: 0px 8px 23px 3px rgba(0,0,0,0.2);
        font-family: Arial, Helvetica, sans-serif;
        background-color: white;
        z-index: 99999;
        display:none;
    }
}

#icon-chat{
    position: fixed;
    right: 20px;
    bottom: 20px;
    height: 65px;
    width: 65px;
    background-size: cover;
    background-position: center;
    border-radius: 400px;
    z-index: 9999;
    cursor: pointer;
    box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.2);
}
#fechar-chat{
    position: absolute;
    right: 20px;
    top: 20px;
    height: 20px;
    width: 20px;
    background-color: white;
    color: black;
    border-radius: 400px;
    z-index: 1;
    cursor: pointer;
    line-height: 20px;
    text-align:center;
}

.tooltip-chat::before {
    content: attr(data-tooltip);
    position: absolute;
    top: 0px;
    transform: translateX(-100%);
    padding: 5px;
    background-color: <?php echo esc_html($options_chat[7]) ?>;
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    width: max-content;
}

.tooltip-chat:hover::before,
.tooltip-chat:active::before {
    opacity: 1;
    visibility: visible;
}