
.hide{
    display: none !important;
}

.chat-options{
    display: flex;
    gap: 10px;
}

.chat-right-sidebar, .chat-left-sidebar {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.scroll-body {
    flex: 1;
    overflow-y: auto;
}

.chat-footer {
    position: sticky;
    bottom: 0;
    background: white;
    z-index: 2;
}

#chat-back{
    display: flex;
    gap: 3px;
    align-items: center;
}

.chat-options .option{
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 3px;
}

.chat-options .option:hover{
    color: var(--clr-point);
}

#chatlist.show{
    flex: 0 0 30%;
    display: block;
    transition: 0.3s;
}

#chatbox.show{
    flex: 1 0 45%;
    display: block;
    transition: 0.3s;
    height: 100vh;
}

#chatlist{
    flex: 0 0 0%;
    display: none;
    transition: 0.3s;
}

#chatbox{
    flex: 0 0 0%;
    display: none;
    transition: 0.3s;
}

#chatbox .card-header{
    border-bottom: 1px solid #e5e9f2;
    position: sticky;
    top: 0;
    z-index: 2;
}

#chatuser.show{
    flex: 0 0 25%;
    transition: 0.3s;
    width: 100%;
    display: block;
    height: 100vh;
}

#chatuser.show .card-body{
    opacity: 1;
    transition: 0.9s;
}

#chatuser{
    flex: 0 0 0%;
    transition: 0.3s;
    display: none
}

#chatuser .card{
    padding: 0;
}

#chatuser.show .card{
    padding: 0 15px;
}

#chatuser .card-body{
    opacity: 0;
    transition: 0.1s;
}

.content-title{
    display: flex;
    gap: 5px;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.6525rem;
    color: #31343d;
    justify-content: space-between;
}

.content-title > div{
    display: flex;
    gap: 5px;
    align-items: center;
}



@media only screen and (max-width: 1024px){
    #chatlist.show, #chatbox.show, #chatuser.show{
        flex: 0 0 50%;
    }
}

@media only screen and (min-width: 1025px) and (max-width:1350px){
    #chat-more-settings{
        flex-wrap: wrap;
    }

    #chat-more-settings > div {
        width:100%
    }
}

@media only screen and (max-width: 991px){
    #chatlist.show, #chatbox.show, #chatuser.show{
        flex: 0 0 100%;
    }
}

.btn-primary{
    background-color: #ff5a00;
    border: none;
}

.btn-primary:hover{
    background-color: #f14a00;
    border: none;
}

.chat-list-item{
    border-bottom: 1px solid #ebebeb;
    padding: 0.625rem 15px;
}

.chat-list-item .chat-date{
    font-size:12px;
}

.chat-short-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-box .card-body{
    position:relative;
    background: #d5e5f982;
    z-index: 1;
}


.chat-box .card-body .media{
    position: relative;
    z-index: 1;
}

.chat-list .card-header{
    border-bottom: 1px solid #e5e9f2;
}

.chat-list .card-body{
    padding-top: 0;
}

.chat-box #chat_name{
    display: flex;
    align-items: center;
    flex-direction: column;
}

.chat-box #chat_name > div{
    font-size:20px;
    font-weight: 600;
}

.chat-box #chat_name > span{
    font-size:14px;
    font-weight: 600;
}

/*
@media only screen and (max-width: 1024px){
    .chat-wrapper .chat-list{
        flex: 0 0 100%;
    }
    
    .chat-wrapper .chat-box{
        flex: 0 0 100%;
    }

    #chat-user-information,#chat-user-information.show{
        flex: 0 0 100%;
        transition: 0.3s;
        width: 100%;
        margin-bottom: 1.625rem;
    }
    #chat-user-information .card-body{
        height: auto!important;
        opacity: 1;
    }

    #tgl-user-info{
        display: none;
    }
}
*/
.ai-chat-box .card-body{
    position:relative;
    background: #f3f5fa;
    z-index: 1;
}


.ai-chat-box .card-body .media{
    position: relative;
    z-index: 1;
}
.ai-chat-box #chat_name{
    display: flex;
    align-items: center;
    flex-direction: column;
}

.ai-chat-box #chat_name > div{
    font-size:20px;
    font-weight: 600;
}

.ai-chat-box #chat_name > span{
    font-size:14px;
    font-weight: 600;
}