@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

* {
    font-family: "Manrope", sans-serif;
}

#open-interface {
    position: fixed;
    bottom: 85px;
    right: 15px;
    width: 50px;
    height: 50px;
    background-image: url("images/chat.png");  
    background-repeat: no-repeat;
    background-position: center;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    border: #909090 solid 1px;
    z-index: 99999999;
}

#open-interface button{
    background-color: white;
}

#chatbot-container {
    z-index: 99999999;
    display: none;
    position: fixed;
    bottom: 115px;
    right: 50px;
    /* width: 300px; */
    width: 350px;
    height: 500px;
    background-color: #ffffff;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    /* border: #282828 solid 1px; */
}

#chatbot-header {
    padding: 10px;
    border-bottom: #D3D3D3 solid 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chatbot-header-title {
    font-weight: 600;
    color: #919191;
    margin-right: 10px;
}

.chatbot-header-container {
    display: flex;
    align-items: center;
}

#chatbot-close-button {
    background: none;
    border: none;
    font-size: 16px;
    color: #555;
    cursor: pointer;
    padding: 0;
    margin: 0 10px;
    align-self: center;
}

#chatbot-close-button:hover {
    color: black;
}

#chatbot-header img{
    height: 40px;
    width: 40px;
    border-radius: 50%;
    margin-top: 10px;
}

#chat-messages {
    height: 80%;
    overflow-y: auto;
    padding: 10px;
    font-size: small;
}

#chat-messages::-webkit-scrollbar {
    width: 8px;
}

#chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#chat-messages::-webkit-scrollbar-thumb {
    background: #a0a0a0;
    border-radius: 4px;
}

#chat-messages::-webkit-scrollbar-thumb:hover {
    background: #555;
}

#user-input {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    padding: 17px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

#message-input {
    border:  #D3D3D3 solid 1px;
    width: 80%;
    height: 35px;
    padding: 10px;
    border-radius: 5px;
}

#send-button {
    padding: 5px;
    border: none;
    height: 35px;
    background-color: #fff;
    border-radius: 5px;
    cursor: pointer;
    border: #000 solid 2px;
}

#send-button img{
    height: 20px;
}

.message {
    padding: 10px;
    margin: 5px 0;
    border-radius: 10px;
    max-width: 80%;
    display: block;
    clear: both;
    vertical-align: top;
    word-wrap: break-word;
}

.user-message {
    background-color: #0073e6;
    color: #ffffff;
    border-radius: 10px;
    float: right;
}

.ai-message {
    background-color: #cccccc;
    margin-right: auto;
    border-radius: 10px;
    float: left;
}

#popup-message {
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 90px;
    right: 53px;
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    text-align: center;
    font-size: 8px;
}

#popup-message img {
    vertical-align: middle;
    margin-right: 4px;
    border-radius: 50%;
    height: 25px;
    width: 25px;
}

#popup-message-export{
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 110px;
    right: 50px;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    text-align: center;
    font-size: 14px;
}

#popup-message-export img {
    width: 24px;
    vertical-align: middle;
    margin-right: 5px;
    border-radius: 50%;
    height: 50px;
    width: 50px;
}

#popup-message-suggestion {
    display: flex;
    position: fixed;
    bottom: 90px;
    right: 50px;
    background-color: #fff;
    padding: 12px;
    padding-right: 15px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    font-size: 14px;
    gap: 15px;
}

#popup-message-suggestion img {
    width: 24px;
    vertical-align: middle;
    margin-right: 5px;
    border-radius: 50%;
    height: 50px;
    width: 50px;
}

#popup-message-suggestion ul {
    margin-top: 10px;
}

/* 
#bot-avatar-img {
    border-radius: 50%;
    height: 60px;
    width: 60px;
} */

.loading-message img{
    height: 30px;

}

.suggestions{
    padding-top: 10px;
    padding-bottom: 25px;
    border-radius: 10px;
    max-width: 100%;
    display: block;
    clear: both;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-start;
}

.suggestion{
    font-size: 12px;
    border-radius: 10px;
    padding: 7px;
    border: 1px solid #cccccc;
    max-width: 70%;
}

.suggestion:hover{
    background-color: #ecebeb;
    color: #323232;
    cursor: pointer;
}


@media screen and (max-width: 500px) {
    #chatbot-container {
        width: 300px;
    }
}


@media screen and (max-width: 351px) { 
    #chatbot-container {
	right: 0px;
	bottom: 150px;
    }
}