#chat {
    position: fixed;
    bottom: 0px;
    right: 0px;
    z-index: 9999;
    opacity: 1;
}

#chat button.open {
    border: none;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px;
    font-size: 15px;
    cursor: pointer;
    opacity: 1;

}

#chat button.open img{
    width: 35px;
    height: 35px;
}   
#chat button.open i {
    margin-right: 10px;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    10% {
        transform: translateY(-50px);
    }

    20% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(0);
        /* 5 saniye bekleme kÄ±smÄ± */
    }
}

#chat.show button.open {
    display: none;
}

#chat.show button.submit {
    display: flex;
}

#chat.show button.chat_url {
    background: white;
    color: var(--blue);
    width: 100%;
    display: block;
    margin: 10px 0px;
}

#chat.show button.submit {
    background-color: transparent;
    color: #3b3b3b;
    border: none;
    height: 35px;
    width: 35px;
    justify-content: center;
    align-items: center;
    margin: 15px;
}

#chat .content {
    display: none;
}

#chat.show .content {
    background-color: var(--primary-color);
    color: white;
    display: flex;
    flex-direction: column;
    width: 400px;
    height: 75vh;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#chat.show .content .chats {
    padding: 10px;
    /* background-color: white; */
    display: flex;
    flex-direction: column;
    height: calc(100% - 50px);
    overflow-y: scroll;
}

#chat.show .content .chats::-webkit-scrollbar {
  width: 8px;
}

#chat.show .content .chats::-webkit-scrollbar-thumb {
  background-color: #292929;
  border-radius: 10px;
}

#chat.show .content .chats::-webkit-scrollbar-track {
  background-color: var(--primary-color);
}

#chat.show .content .inputbox {
    background-color: white;
    display: flex;
    height: 45px;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    border-radius: 25px;
    margin: 10px;
}

#chat.show .content .inputbox input {
    background-color: transparent;
    border: none;
    margin-left: 25px;
    font-size: 14px;
    width: calc(100% - 75px);
}

#chat.show .content strong {
    margin-bottom: 0px;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    font-size: 20px;
}

#chat i._close {
    display: none;
}

#chat.show i._close {
    color: White;
    position: absolute;
    font-size: 20px;
    right: 20px;
    margin-top: 16px;
    cursor: pointer;
    display: block;
}

#chat.show .content .message {
    background-color: rgb(102 102 102);
    color: #ffffff;
    padding: 10px;
    margin-bottom: 10px;
    width: 80%;
    border-radius: 10px;
}

#chat.show .content .message.user {
    margin-left: 20%;
    background: rgb(121 121 121);
}

#chat.show .content #thinking {
    display: inline-block;
    overflow: hidden;
    position: relative;
    
    margin-bottom: 15px;
    color: white;
    text-align: center;
}
#chat.show .content #thinking.animate {
    
}
#chat.show .content #thinking::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(120deg, transparent, var(--blue), transparent);
    transform: skewX(-20deg);
}

#chat.show .content #thinking.animate::after {
    
    animation: highlights 2s infinite;
}
.message-timestamp{
    font-size: 12px;
    margin-top: 5px;
}
.message-text 
{
word-break: break-word;
}

@media(max-width:400px){
    #chat.show .content {
        width: 100%;
    }

    
}