
#chat-container {
    width: 100%;
    /* height: 90%;
    height: 83vh;
    height: 90vh; */
    /* height: calc(100% - 90px); */
    padding: 10px;
    padding-left: 5px;
    padding-right: 5px;
}

#chat-log {
    height: 435px;
    height: 87%;
    overflow-y: auto;
    border-radius: 1em;
    box-shadow: 1px 1px 5px 5px rgba(0,0,0,0.43);
    -webkit-box-shadow: 1px 1px 5px 5px rgba(0, 0, 0, 0.43);
    -moz-box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.43);
    margin-bottom: 10px;
    padding: 5px;
    background-color: #fff;
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: none;
    padding: 20px;
}

#chat-loading {
    position: absolute;  
    top: 50%;  
    left: 50%;  
    transform: translate(-50%, -50%);  
    width: 32px;  
    height: 32px;  
}

#chat-input-panel {
    margin-top: 15px;
    border-radius: 1em;
    box-shadow: 1px 1px 5px 5px rgba(0,0,0,0.43);
    -webkit-box-shadow: 1px 1px 5px 5px rgba(0, 0, 0, 0.43);
    -moz-box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.43);
    margin-top: 0;
    background-color: #fff;
    box-shadow: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

#chat-input {
    width: calc(100% - 50px);
    padding: 5px;
    margin-top: 5px;
    margin-left: 5px;
    border-radius: 30px;
    background-color: #f3f3f3;
    border-color: #e1e1e1;
}

.message {
    padding: 10px 20px;
    float: right;
    border-radius: 20px;
    /*background: #06b79a;*/
    background-color: #1280EE;
    color: #fff;
    border-top-right-radius: 0;
    margin-bottom: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

.messageResp {
    padding: 10px 20px;
    float: left;
    border-radius: 20px;
    background: #efefef;
    color: #6f6f6f;
    border-top-left-radius: 0;
    margin-bottom: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

#chatbotinfo {
    background-color: #0D60B3;
    background: #06294D;
    /*background: linear-gradient(0deg, rgba(6, 41, 77, 1) 0%, rgba(13, 96, 179, 1) 100%);*/
    border-radius: 20px;
    border: none;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    width: 360px;
    height: 598px;
    height: 91vh;
    margin-top: 10px;
    top: 56px;
    right: 10px;
}

#chatbottitle {
    display: flex;
    flex-direction: column;
}

#chatbottitle p {
    font-size: 10px;
    margin-left: 10px;
    color: #fff;
    margin-bottom: 0;
    line-height: 7px;
}

#chatbotinfo h3 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 10px;
}

#toggleChatbotPin, #closechatbotinfo, #clearchatbotinfo, .chatbotAutoStartIcon i {
    color: #fff;
    transition: .2s ease all;
}

#toggleChatbotPin:hover, #closechatbotinfo:hover, #clearchatbotinfo:hover, .chatbotAutoStartIcon i:hover {
    color: #094783;
}

#clearchatbotinfo {
    margin-top: 0;
}

#closechatbotinfo {
    margin-top: 0;
    margin-right: 15px;
}

#send-button {
    margin-bottom: 3px;
    border-radius: 30px;
    width: 30px;
    height: 30px;
    background-color: #1280EE;
    color: #fff;
    border: none;
    transition: .2s ease all;
}

#send-button:hover {
    color: #094783;
}

#send-button span {
    line-height: 16px;
}

#chatbotinfo > div:nth-of-type(2) {
    width: 100%;
    height: 555px;
    height: 100vh;
    overflow: auto;
}

#ImagenChatbot {
    display: flex;
    align-items: center;
    margin-left: 10px;
    width: 80%;
}

#ImagenChatbot img {
    width: 40px;
    height: 40px;
}

#ImagenChatbot + div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}

/*Chatbot pin al iniciar sesi�n*/

.chatbot-pin-btn {
    position: relative;
    cursor: pointer;
}

.chatbot-pin-btn .pin-icon {
    display: inline-block;
    transition: transform .2s ease;
    font-size: 1.5em;
}

.chatbot-pin-btn .pin-icon:hover {
    color: #f1c40f;
}

.chatbot-pin-btn.pinned .pin-icon {
    animation: pinPulseOn .45s ease;
}

.chatbot-pin-btn.unpinned .pin-icon {
    animation: pinPulseOff .35s ease;
}

@keyframes pinPulseOn {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pinPulseOff {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.8);
    }

    100% {
        transform: scale(1);
    }
}


/*tooltip chatbot*/
.chatbot-pin-btn .chatbot-tooltip {
    position: absolute;
    bottom: 130%;
    left: -20px;
    transform: translateX(-50%) translateY(6px);
    background: linear-gradient(135deg, #1f6fe0, #4fa3ff);
    color: #fff;
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all .25s ease;
    transition: opacity .15s ease, transform .15s ease;
    font-family: "Inter", sans-serif;
    z-index: 1000;
}

.chatbot-pin-btn:hover .chatbot-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.chatbot-pin-btn .chatbot-tooltip::after {
    content: "";
    position: absolute;
    top: 101%;
    left: 146px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #1f6fe0;
}

@media only screen and (max-width: 910px) {
    #chatbotinfo {
        width: 96%;
    }
}

@media screen and (max-width: 576px) and (max-height: 360px) {
    #chat-container {
        height: 80vh;
    }

    #chatbotinfo {
        height: 86vh;
    }
}

@media screen and (max-width: 576px) and (max-height: 600px) {
    #chat-container {
        height: 80vh;
    }

    #chatbotinfo {
        height: 86vh;
    }
}

@media screen and (max-width: 576px) and (max-height: 800px) {
    #chat-container {
        height: 80vh;
    }

    #chatbotinfo {
        height: 86vh;
    }
}