.navigate-back-to-chat {
    padding: 0 24px 24px 24px;
}

.Chat-content {
    margin-top: 5rem;
    margin-left: auto;
    width: calc(100% - 218px);
    margin-right: auto;
    padding: 0;
    height: calc(100vh - 5rem - 32px);
}

.chat-data {
    cursor: pointer;
}

.chat-list {
    display: flex;
    width: 378px;
    /* padding: 24px 0px 24px 12px; */
    flex-direction: column;
    /* align-items: flex-start; */
    /* gap: 16px; */
    flex-shrink: 0;
    align-self: stretch;
    height: 100%;
    /* overflow-y: auto; */
    padding-right: 4px;
}

.fixed-chat-header {
    padding: 24px 8px 0 12px;
}

.fixed-new-chat-header {
    padding: 24px 0 0 0;
}

.scrollable-contacts {
    flex: 1;
    overflow-y: auto;
    padding-left: 12px;
    padding-right: 4px;
}

#claireTActive, #ErikaTActive, .activate {
    /* background-image: url(/assets/icons/Ellipse7.svg);
    background-size: cover; */
    background: 
              linear-gradient(to bottom, #783E8B, #869CD7) border-box;
  border-radius: 50%;
  border: 2px solid transparent;
}
#claireTActiveName, #ErikaTActiveName {
    color: #783E8B;
}

.chat-list::-webkit-scrollbar,
.Chat-main-content-right::-webkit-scrollbar {
    width: 0 !important;
}

.chat-text {
    color: #1A1D20;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.024px;
    padding-left: 0.75rem;
}

.chat-liner-right {
    background: var(--Mycare, #783E8B);
    width: 1px;
    margin: 0 0 0 0;
}

.new-message {
    color: #783E8B;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.175px;
    padding-right: 12px;
    text-transform: uppercase;
    cursor: pointer;
}

.chat-list-divider {
    background: var(--Mycare, #783E8B);
    min-height: 1px;
    width: 100%;
    margin-top: 16px;
}

.claireTContact {
    margin-top: 16px;
}

.chat-list-divider-gray {
    background: var(--Mycare, #CED4DA);
    min-height: 1px;
    width: 100%;
    margin: 16px 0;
}

.logo {
    width: 38px;
    position: relative;
    margin-right: 12px;
}

.logo-user {
    width: 40px;
    position: relative;
    margin-right: 16px;
}

.logo-user-sender {
    width: 40px;
    position: relative;
    margin-left: 16px;
}

.chat-name-message {
    width: 76%;
}

.chat-title {
    font-size: 14px;
}

.chat-message {
    overflow: hidden;
    color: var(--pAI2---Secondary-Text, #1A1D20);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    line-height: normal;
    letter-spacing: 0.035px;
}

.chat-action {
    margin-left: auto;
}
.chatprofilePic {
    width: 34px;
    height: 34px;
}
.chatprofilePic img {
    width: 100%;
    height: 100%;
}
.Chat-main-content-right {
    display: flex;
    flex-direction: column;
    /* width: 624px; */
    /* height: 584px; */
    /* padding: 0 6px 0 24px; */
    /* justify-content: center; */
    /* align-items: center; */
    flex-shrink: 0;
    flex: 1;
    position: relative;
    height: 100%;
    overflow-y: auto;
    /* padding-right: 4px; */
}

.chat-date-stamp {
    padding-top: 24px;
    text-align: center;
}

.stamp-today {
    color: var(--Mycare, #783E8B);
    /* Caption */
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.048px;
}

.stamp-expiry {
    color: var(--pAI2---Shadows, #AEB2B6);
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.048px;
    margin-top: 8px;
}

.Book-visit-msg {
    position: absolute;
    right: 0;
    top: 16px;
    background-color: white;
    z-index: 997;
}

.user-timeago {
    color: var(--pAI2---Deselected-Iconography, #3B3B3B);
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.048px;
    margin-left: 56px;
}

.sender-timeago {
    text-align: right;
    margin-right: 56px;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.048px;
}

.Receiver-data,
.Sender-data {
    margin-bottom: 24px;
}

.receive-content {
    border-radius: 0px 5px 5px 5px;
    background: #F7F7F7;
    display: flex;
    padding: 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    /* gap: 12px; */
    flex: 1 0 0;
    font-size: 14px;
}

.send-content {
    border-radius: 5px 0px 5px 5px;
    background: #E2E7F6;
    display: flex;
    padding: 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    /* gap: 12px; */
    flex: 1 0 0;
    font-size: 14px;

}

.margin-right-16 {
    margin-right: 16px;
}

.Right-inside {
    margin-right: 4px;
    flex: 1;
    overflow: auto;
    padding-right: 10px;
    padding-left: 24px;
    /* scrollbar-width: thin; */
}

.Message-to {
    min-height: 58px;
    box-shadow: 24px -8px 42px 0px #CED4DA;
    border-radius: initial;
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.Message-to #upload-file {
    display: none;
}

.send-icon {
    position: absolute;
    right: 24px;
    bottom: 0;
    top: 12px;
    cursor: default;
    stroke: #AEB2B6;
}

.activeSend {
    stroke: #783E8B;
    cursor: pointer;
}

.uploaded-files-region {
    display: flex;
    min-width: 100%;
    height: 85px;
    padding: 8px 0px 8px 16px;
    align-items: center;
    gap: 24px;
    position: absolute;
    bottom: 58px;
    /* background: rgba(59, 59, 59, 0.50); */
    backdrop-filter: brightness(60%) blur(3px);
    /* display: none; */
}

.close-action {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #783E8B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* New chat area styles */
.new-chat-title {
    color: #3B3B3B;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.08px;
    padding-left: 24px;
}

.secondary-title {
    overflow: hidden;
    color: #AEB2B6;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.035px;
}

.Right-new-inside {
    padding: 24px;
}

.search-content {
    padding: 24px;
    box-shadow: 0px 0px 13px -4px #AEB2B6;
}

.new-chat-stamp {
    color: #AEB2B6;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.035px;
    margin-top: 16px;
    margin-bottom: 8px;
}

.chat-para {
    color: #AEB2B6;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.048px;
}

#Newly-contact,
#Newly-contact-border {
    display: none ;
}

.mobile-upload-icon {
    margin: 0 16px;
    cursor: pointer;
}

.start-chat {
    border: none;
    border-left: 2px solid #783E8B;
    border-radius: 0;
    padding-left: 16px;
    padding-right: 52px;
}
.start-chat-mobile {
    color: #3B3B3B;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.08px;
}
.start-chat-secondary {
    overflow: hidden;
    color:#AEB2B6;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.035px;
}
.sender-img {
    width: 34px;
    height: 34px;
}
.sender-img img {
    width: 100%;
}

@media (min-height: 735px) {
    .Chat-content {
        height: 584px;
    }
}

@media (min-width: 320px) and (max-width: 996px) {
    header {
        box-shadow: none;
        border-bottom: 1px solid #AEB2B6;
    }

    .Chat-content {
        padding: 0;
        margin-top: 3rem;
        width: calc(100%);
        height: calc(100vh - 3rem) !important
    }

    .chat-list {
        width: 100%;
        position: relative;
        padding-right: 0;
    }
    .chats-wrapper {
        background-color: white;
        padding: 24px 16px;
    }
    .Overlay-chats {
        position: absolute;
        bottom: 0;
        height: calc(100vh - 3rem);
        top: 56px;
        /* bottom: 0; */
        background: rgba(59, 59, 59, 0.50);
        left: 0;
        right: 0;
        z-index: 2;
    }

    .fixed-chat-header {
        padding: 24px 12px 0 12px;
    }

    .fixed-chat-book {
        padding: 12px 8px;
        text-align: center;
        box-shadow: 0px 8px 8px 0px #CED4DA;
        z-index: 2;
    }

    .fixed-chat-new {
        padding: 8px 0px 8px 16px;
        /* text-align: center; */
        /* box-shadow: 0px 8px 8px 0px #CED4DA; */
        z-index: 2;
        height: 56px;
        border-bottom: 1px solid var(--Mycare, #783E8B);
        display: flex;
        align-items: center;
    }

    .box-shadow {
        border-radius: 0;
    }

    .modal-content {
        border: none;
        border-radius: 0 !important;
    }
    
    .Right-inside {
        padding-left: 8px;
        padding-right: 8px;
    }
    .start-chat {
        border-left-width: 1px;
    }
}