﻿.chat-message-container {
    width: 100%;
    margin-left: 20rem !important;
    margin-right: 20rem !important;
    overflow: hidden !important;
    min-height: 100vh;
    max-height: 100vh;
    background:#E2E8F0;
    position:relative;
}
.chat-info-container {
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    border-right: 1px solid rgb(226, 232, 240);
    width: 20rem !important;
    border-left: 1px solid rgb(226, 232, 240);
    background:#fff !important;
    position:fixed;
    top:0;
    right:0;
    padding-bottom:10px;
}
.chat-header {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 19.36px 36px 19.36px 27px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #E2E8F0;
    background: #FFF;
}
    .chat-header .user-avatar {
        min-width: 35.28px;
        min-height: 35.28px;
        width: 35.28px;
        height: 35.28px;
        border-radius: 50%;
        border: 2px solid #FFF;
        box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.04);
        object-fit: cover;
    }
    .chat-header .user-name {
        color: #0F172A;
        font-size: 18px;
        font-weight: 400;
        letter-spacing: -0.5px;
    }
.chat-header .icon{
    width:32px;
    height:32px;
    cursor:pointer;
}
.chat-messages {
    flex:1;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(100vh - 160px);
    /*overflow: auto;*/
    overflow-y:scroll;
    padding:0px 20px 15px 20px;
    margin:10px 0px 0px 0px;
    scroll-margin-inline-end:10px;
}
@media (min-width: 768px) and (max-width: 1024px) {
    .chat-messages {
        height: calc(100vh - 210px);
    }
} 
.chat-file-upload {
    width: 29.414px;
    height: 30px;
    flex-shrink: 0;
    cursor:pointer;
}
.chat-send-arrow {
    width: 32px;
    height: 32px;
    cursor: pointer;
}
.chat-input-textarea {
    padding: 8px 12.773px 8px 12.773px;
    border-radius: 12px;
    background-color: #F8FAFC;
    border: 1px solid #F8FAFC;
    box-shadow: none;
    /*text*/
    color: #94A3B8;
    /*color: #0F172A;*/
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.5px;
    width: 100%;
}
.chat-message-icon{
    width:40px;
    height:40px;
}
.setting-menu-item {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 10px 20px;
    align-items: center;
    justify-content: start;
    border-radius: 12px;
    background: #F8FAFC;
    cursor: pointer;
}
.setting-menu-item .icon {
    width: 18px;
    height: 18px;
}
.setting-meni-item .text {
    color: #0F172A;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.5px;
}
.shared-file-container{
    display:flex;
    flex-direction:row;
    justify-content:start;
    width:100%;
    gap:8px;
    flex-wrap:wrap;
}
.shared-file {
    position:relative;
}
    .shared-file .img {
        min-width: 72.139px;
        max-width: 72.139px;
        min-height: 72.139px;
        max-height: 72.139px;
        object-fit: cover;
        border-radius: 12px;
    }
    .shared-file .file {
        display:flex;
        flex-direction:row;
        align-items:center;
        justify-content:center;
        min-width: 72.139px;
        max-width: 72.139px;
        min-height: 72.139px;
        max-height: 72.139px;
        background-color: #E2E8F0;
        border-radius: 12px;
    }
.file-text-icon {
    width: 24px !important;
    height: 24px !important;
}
.setting-container{
    display:flex;
    flex-direction:column;
    width:100%;
    padding:0px 20px 0px 20px;
    height:calc(100vh - 45px) !important;
    overflow:auto;
}
.chat-receiver-info{
    display:flex;
    flex-direction:column;
    justify-content:start;
    align-items:start;
}
.chat-receiver-info .chat-userimg {
    min-width: 32px;
    min-height: 32px;
    max-width: 32px;
    max-height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

    .chat-receiver-info .chat-username {
        color: #0F172A;
        font-size: 14px;
        font-weight: 400;
        letter-spacing: -0.5px;
    }
.chat-receiver-message {
    display: flex;
    max-width: 400px;
    padding: 15px;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    border-radius: 12px 12px 12px 0px;
    /*border-radius: 0px 12px 12px 12px;*/
    background: #CBD5E1;
    margin-left: 38px;
    /*font*/
    color: #0F172A;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.5px;
}
    /*.chat-receiver-message:first-child {
        border-radius: 12px 12px 12px 0px;
    }*/
.chat-sender-info {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: end;
}
    .chat-sender-info .chat-sender-message {
        display: flex;
        max-width: 400px;
        padding: 15px;
        flex-direction: column;
        align-items: end;
        justify-content: start;
        border-radius: 12px 12px 0px 12px;
        background: #0075FF;
        /*font*/
        color: #fff;
        font-size: 16px;
        font-weight: 400;
        letter-spacing: -0.5px;
    }
.chat-sender-time {
    opacity: 0.5;
    color: #fff;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.5px;
}
.recent-message-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}
.chat-pannel {
    margin-left: 20px;
}
.chat-send {
   
    bottom: 0px;
    left: 0px;
    right: 0px;
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    /*padding: 14px;*/
    /* background: #F1F5F9;*/

}
.chat-footer {
    /* display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 0;
    padding: 20px;*/
    /*left: -5px;*/
    width: 100%;
    /*padding: 14px !important;*/
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    position: absolute;
    bottom: 0;
    padding: 20px;
    background: #E2E8F0 !important;
}
.photo-container .btn-danger {
    border-top-right-radius: 10px
}
.upload-photo-preview-container {
    margin-top: 10px;
    margin-right: 10px;
    position: relative;
    width: 120px;
    height: 120px;
}
.upload-photo-preview {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}
.preview-close-btn {
    width: 18px;
    height: 18px;
    background: #d5dae4;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -8px;
    right: -8px;
    border-radius: 10px !important;
    padding: 10px !important;
    cursor: pointer;
    border: 1px solid #d5dae4;
}
.preview-close-icon {
    width: 15px;
    height: 15px;
}
.sentimgmultiple {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    margin: 2px 0px;
    padding: 4px;
    cursor: pointer;
}
.sentimg {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    margin: 2px 0px;
    padding: 4px;
    cursor: pointer;
}
.pa-0-35 {
    padding:0px 35px;
}

/*Chat Modal*/
.chat-modal-content {
    position: fixed;
    height: 100vh;
    top: 0;
    right: 0;
    border-radius: 0px !important;
    width: 24rem !important;
}
    .chat-modal-content .modal-header {
        border-radius: 0px !important;
        border-bottom:none !important;
        padding:20px 15px !important;
    }
    .chat-modal-content .modal-body {
        padding: 15px !important;
    }
    .chat-modal-content .modal-footer {
        padding: 15px !important;
    }
.chat-modal-body{
    height:calc(100vh - 200px) !important;
    overflow-y:auto;
}
.chat-border-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 6.4px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
}
    .chat-border-btn .icon {
        width: 19.2px;
        height: 19.2px;
    }
.chat-modal-close {
    width: 19.2px;
    height: 19.2px;
}
.chat-form-control {
    padding: 10px 50px 10px 50.018px;
    border: 1px solid #F1F5F9;
    box-shadow: none;
    /*text*/
    /*color: #94A3B8;*/
    color: #94A3B8;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.5px;
    border-radius: 16px;
    background-color: #F1F5F9;
}

    .chat-form-control:focus {
        background-color: #fff;
        box-shadow: none;
        border: 1px solid #E2E8F0;
    }
.chat-footer-btn{
    background-color:transparent;
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    cursor:pointer;
}
.chat-footer-btn .icon{
    width:24px;
    height:24px;
}
.chat-footer-upload{
    position:absolute;
    top:7px;
    left:10px;
}
.chat-footer-send {
    position: absolute;
    top: 7px;
    right: 10px;
}
.chat-sender-message-sm {
    display: flex;
    max-width: 300px;
    padding: 15px;
    flex-direction: column;
    align-items: end;
    justify-content: start;
    border-radius: 12px 12px 0px 12px;
    background: #0075FF;
    /*font*/
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.5px;
}
.chat-receiver-message-sm {
    display: flex;
    max-width: 300px;
    padding: 15px;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    border-radius: 12px 12px 12px 0px;
    /*border-radius: 0px 12px 12px 12px;*/
    background: #CBD5E1;
    /*font*/
    color: #0F172A;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.5px;
}
.conversation-started-date {
    color: #94A3B8;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.5px;
}
.chat-intro-card {
    display: flex;
    width: 100%;
    padding: 20px 24px;
    flex-direction: column;
    align-items: center;
    border-radius: 16px;
    background: #E0EEFF;
}
.chat-intro-text {
    color: #475569;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.5px;
}
/*Chat Modal*/
.activity-modal-content {
    position: fixed;
    height: 100vh;
    top: 0;
    right: 0;
    border-radius: 0px !important;
    width: 24rem !important;
}
.activity-modal-content .modal-header{
    padding:20px !important;
}
.activity-modal-body {
    height: calc(100vh - 100px) !important;
    overflow-y: auto;
    padding: 0px !important;
}
.activity-item{
    display:flex;
    flex-direction:column;
    justify-content:start;
    align-items:start;
    width:100%;
    padding:20px !important;
}