.profile_left i {
    border-radius: 4px;
    background: #D38329;
    font-size: 20px;
    color: #fff;
    /* padding: 5px 8px; */
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.msg_divs {
    background-color: #F3F4F6;
    border-radius: 18px 18px 18px 0px;
    padding: 13px 20px;
}

.chat_left .msg_divs {
    background-color: #F3F4F6;
    border-radius: 18px 18px 18px 0px;
    padding: 13px 20px;
}

.msg_txt {
    margin: 0;
    font-size: 14px;
    font-weight: 300;
    padding-bottom: 10px;
}

.time_msg {
    font-size: 12px;
    margin-top: 10px;
    color: #797782;
    font-weight: 500;
    margin-left: 8px;
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.custome_msg {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 80%;
}

.chat_boat_header {
    padding-bottom: 10px;
}

.chat_div {
    padding: 30px 15px 30px;
    min-height: 200px;
    height: 500px;
    overflow-y: auto;
}

.chat_right {
    display: flex;
    justify-content: end;
    margin-block: 25px;
}

.chat_right .msg_divs {
    background-color: #611C98;
    border-radius: 18px 18px 0px 18px;
    padding: 13px 20px;
    color: #fff;
}

.msg_divs {
    width: fit-content !important;
}

.chat_right .custome_msg {
    justify-content: end;
}

.chat_right .time_msg {
    justify-content: end;
}



.chat_div::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(255, 255, 255, 0);
    background-color: #F5F5F5;
}

.chat_div::-webkit-scrollbar {
    width: 0px;
    background-color: #F5F5F5;
}

.chat_div::-webkit-scrollbar-thumb {
    background-color: #fff;
    border: 0px solid #fff;
}

.btn_leftdropdown {
    position: absolute;
    top: 0;
    left: -15px !important;
    right: unset;
}

.reply_dropdown {
    position: relative !important;

}

.btn_Reply {
    background: transparent;
    border: none;
    font-size: 21px;
    color: #686868;
    font-weight: 40;
    padding: 5px;
    line-height: 0;
}

.reply_dropdown .dropdown-menu li a {
    color: black !important;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 8px;
    background-color: #611C9821 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reply_dropdown .dropdown-menu li a:hover {

    background-color: #611C9821 !important;
}

.reply_dropdown .dropdown-menu {
    top: 3px !important;
    background: #611C9821 !important;
    border: 1px solid #611C98;
    left: -50% !important;
    padding: 0px;
    height: fit-content;
}

.chat_right .btn_leftdropdowns.dropdown-menu.show {
    left: -145px !important;
    height: fit-content;
}

.chat_left .btn_leftdropdowns.dropdown-menu.show {
    right: -145px !important;
    height: fit-content;
}

.chat_left .reply_dropdown .dropdown-menu {
    top: 3px !important;

    left: 12px !important;
}

.file_upload_chat p {
    border-radius: 44px;
    border: 0.5px solid #ddd !important;
    padding: 8px 30px !important;
    background-color: #efefef !important;
    text-transform: capitalize;
    font-weight: 600;
    color: black;
    margin-bottom: 5px;
}

.file_upload_chat {
    background-color: unset !important;
    padding: 0 !important;


}

.user_1 {
    display: flex;
}

.chat_name h2 {
    font-size: 9px;
    margin-top: 0px;
    color: #348974;
    font-weight: 500;
    margin-left: 8px;
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 5px;
}

.files_upload {
    margin: 0;
}

.files_div {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.customer_card {
    width: 80%;
    position: relative;
}

.files_upload a {
    font-size: 14px !important;
    font-weight: 300 !important;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}

.files_upload a:hover {
    text-decoration: underline !important;
}

.searchbar_input {
    width: 100%;
    border: 1px solid #ddd !important;
    font-size: 14px;

}

.searchbar_input::placeholder {

    font-size: 14px;
    font-weight: 300;

}

.chat-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0px 0px 15px 15px;
}

.chat_send_box .ck-rounded-corners .ck.ck-toolbar,
.ck.ck-toolbar.ck-rounded-corners {
    border-radius: 15px 15px 0px 0px !important;
}

.chat-footer .editor_text {
    width: 100% !important;
    min-height: 50px;
}

.editor_text {
    border: 1px solid #ddd !important;
}

.btn_cancel {
    background-color: #EBEBEB !important;
    color: #3D3E3E !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    padding: 8px 30px !important;
    border-radius: 8px !important;
}

.edit_btn2 {
    background-color: #0B82FF !important;
    color: #fff !important;
    font-size: 16px !important;
    padding: 8px 15px !important;
}

.btn_deletes {
    background-color: #B12D28 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    padding: 8px 30px !important;
}

.btn_deletes:hover {
    background-color: #B12D28 !important;
    color: #fff !important;
}

.btn_cancel:hover {
    background-color: #EBEBEB !important;
    color: #3D3E3E !important;

}

.chat-footer .mssages {
    border: 0px;
    background-color: transparent;
    width: 100%;
    margin-right: 15px;
}

.chat-footer .mssages:focus-visible {
    outline: 0 !important;
}

.selecterbttn {
    display: flex;
}

.chat-footer .send-button {
    background-color: #611C98;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.chat-footer .editor_text {
    border-radius: 8px !important;
}

.preview_div {
    width: 50%;
    position: absolute;
    top: 0;
    height: 100%;
    right: 0;
    z-index: 1;
}

.red_queries {
    border: 1px solid #611C98;
    color: #611C98;
}

.data1_div {
    display: flex;
    justify-self: end;
    position: absolute;
    right: 0px;
    top: 0px;
    width: 350px;
    height: 100%;
    overflow-y: auto;
    border-radius: 0px;
    box-shadow: -10px 0px 25px #00000014;
    padding: 0px;
    overflow-x: hidden;
    background: white;
    z-index: 2;
}

.pinheader h4 {
    font-size: 16px;
}

.data1_div .modal-content {
    border: 0px !important;
    border-radius: 0px;
}

.chatboat_modal .custome_msg {
    width: 60% !important;
}

.chatboat_modal .chat_right .btn_leftdropdowns.dropdown-menu.show {
    left: -160px !important;
    height: fit-content;
}

.chatboat_modal td {
    border: 1px solid black;
    color: black;
    background-color: white;
    padding: 3px;
}

.msg_card img {
    width: 250px;
    height: auto;
}

.btn-close-pin {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: .25em .25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: .25rem;
    opacity: .5;
}

.modal {
    transition: none !important;
}

.chatboat_modal .custome_msg {
    width: 60% !important;
}

.msg_card img {
    width: 250px;
    height: auto;
}

.btn-close-pin {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: .25em .25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: .25rem;
    opacity: .5;
}

.modal {
    transition: none !important;
}

.view_pin {
    background-color: #76747A !important;
    font-size: 14px !important;
    color: #fff !important;
    font-style: italic !important;
}

.chatboat_modal td {
    border: 1px solid black;
    color: black;
    background-color: white;
    padding: 3px;
}

.msg_divs p {
    margin: 0;

    padding: 0;
}

@media only screen and (min-width: 200px) and (max-width: 765px) {
    .data1_div {
        width: 100%;
    }

    .chatboat_modal .custome_msg {
        width: 70% !important;
    }

    .reply_dropdown .dropdown-menu {
        min-width: fit-content !important;
    }

    .reply_dropdown .dropdown-menu li a {
        gap: 10px;
        font-size: 10px;
    }

    .msg_divs p {
        margin: 0;
        padding: 0;
        font-size: 10px;
    }

    .chat_div {
        padding-inline: 0px;
    }

    .chatdate p {
        font-size: 12px;
        text-align: center;
    }

    .chat_right .msg_divs {
        background-color: #611C98;
        border-radius: 10px 10px 0px 10px;
        padding: 6px 12px;
        color: #fff;
    }

    .time_msg {
        font-size: 8px;
        margin-top: 0px;
        color: #797782;
        font-weight: 500;
        margin-left: 0px;
        margin-bottom: 0px;
        display: flex;
        align-items: center;
        gap: 5px;
        /* flex-wrap: nowrap; */
        text-wrap: nowrap;
    }

    .btn_Reply {
        font-size: 14px;
    }

    .chat_right {

        margin-block: 8px;
    }

    .chat_right .time_msg {
        justify-content: end;
    }

    .chat-footer .editor_text {
        font-size: 8px;
    }

    .file_upload_chat p {
        border-radius: 44px;
        border: 0.5px solid #ddd !important;
        padding: 6px 15px !important;
        background-color: #fff !important;
        text-transform: capitalize;
        font-weight: 600;
        color: black;
        margin-bottom: 5px;
    }

    .files_upload a {
        font-size: 14px !important;
        font-weight: 300 !important;

        display: inline-block;
        max-width: 100px;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .status_queris {
        padding: 3px 10px;
        font-size: 12px;
    }

    .view_chats1 .modal-title {
        font-size: 16px !important;
    }

    .chatboat_modal .chat_right .btn_leftdropdowns.dropdown-menu.show {
        left: 0px !important;
        height: fit-content;
    }

    .reply_dropdown .dropdown-menu {
        background-color: #ffffff !important;
    }

    .chat-footer {
        flex-wrap: wrap;
    }

    .profile_left i {
        border-radius: 4px;
        background: #D38329;
        font-size: 14px;
        color: #fff;
        /* padding: 5px 8px; */
        width: 23px;
        height: 23px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .chat_left .reply_dropdown .dropdown-menu {
        top: 3px !important;
        left: unset !important;
        right: 0px !important;
    }

    .msg_card {
        width: fit-content !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {


    .msg_card {
        width: fit-content !important;
    }

    /* .chatboat_modal .custome_msg {
        width: 100% !important;
    } */

    .msg_divs p {
        margin: 0;
        padding: 0;
        font-size: 10px;
    }

    .chat_div {
        padding-inline: 0px;
    }

    .chatdate p {
        font-size: 12px;
        text-align: center;
    }

    .chat_right .msg_divs {
        background-color: #611C98;
        border-radius: 10px 10px 0px 10px;
        padding: 6px 12px;
        color: #fff;
    }

    .time_msg {
        font-size: 8px;
        margin-top: 0px;
        color: #797782;
        font-weight: 500;
        margin-left: 0px;
        margin-bottom: 0px;
        display: flex;
        align-items: center;
        gap: 5px;
        /* flex-wrap: nowrap; */
        text-wrap: nowrap;
    }

    .btn_Reply {
        font-size: 14px;
    }

    .chat_right {

        margin-block: 8px;
    }

    .chat_right .time_msg {
        justify-content: end;
    }

    .chat-footer .editor_text {
        font-size: 8px;
    }

    .file_upload_chat p {
        border-radius: 44px;
        border: 0.5px solid #ddd !important;
        padding: 6px 15px !important;
        background-color: #fff !important;
        text-transform: capitalize;
        font-weight: 600;
        color: black;
        margin-bottom: 5px;
    }

    .files_upload a {
        font-size: 14px !important;
        font-weight: 300 !important;

        display: inline-block;
        max-width: 100px;
        /* adjust width */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .status_queris {
        padding: 3px 10px;
        font-size: 12px;
    }

    .view_chats1 .modal-title {
        font-size: 16px !important;
    }

    /* 
    .chatboat_modal .chat_right .btn_leftdropdowns.dropdown-menu.show {
        left: 0px !important;
        height: fit-content;
    } */
    .chat_right .msg_card {
        width: fit-content !important;
        justify-content: start;
        display: flex;
        flex-direction: column;
        align-items: end;
    }

    .chat_left .msg_divs,
    .chat_right .msg_divs {
        width: 100% !important;
    }

    .reply_dropdown .dropdown-menu {
        background-color: #ffffff !important;
    }

    .query_card {
        margin-bottom: 10px;
    }

    .profile_left i {
        border-radius: 4px;
        background: #D38329;
        font-size: 14px;
        color: #fff;
        /* padding: 5px 8px; */
        width: 23px;
        height: 23px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .chat_left .reply_dropdown .dropdown-menu {
        top: 3px !important;
        left: 0px !important;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1300px) {


    .chat_right .msg_card {
        width: fit-content !important;
        justify-content: start;
        display: flex;
        flex-direction: column;
        align-items: end;
    }

    .chat_left .msg_divs,
    .chat_right .msg_divs {
        width: 100% !important;
    }

    .msg_card {
        width: fit-content !important;
    }



    .msg_divs p {
        margin: 0;
        padding: 0;
        font-size: 10px;
    }

    .chat_div {
        padding-inline: 0px;
    }

    .chatdate p {
        font-size: 12px;
        text-align: center;
    }

    .chat_right .msg_divs {
        background-color: #611C98;
        border-radius: 10px 10px 0px 10px;
        padding: 6px 12px;
        color: #fff;
    }

    .time_msg {
        font-size: 8px;
        margin-top: 0px;
        color: #797782;
        font-weight: 500;
        margin-left: 0px;
        margin-bottom: 0px;
        display: flex;
        align-items: center;
        gap: 5px;
        /* flex-wrap: nowrap; */
        text-wrap: nowrap;
    }

    .btn_Reply {
        font-size: 14px;
    }

    .chat_right {

        margin-block: 8px;
    }

    .chat_right .time_msg {
        justify-content: end;
    }

    .chat-footer .editor_text {
        font-size: 8px;
    }

    .file_upload_chat p {
        border-radius: 44px;
        border: 0.5px solid #ddd !important;
        padding: 6px 15px !important;
        background-color: #fff !important;
        text-transform: capitalize;
        font-weight: 600;
        color: black;
        margin-bottom: 5px;
    }

    .files_upload a {
        font-size: 14px !important;
        font-weight: 300 !important;

        display: inline-block;
        max-width: 100px;
        /* adjust width */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .status_queris {
        padding: 3px 10px;
        font-size: 12px;
    }

    .view_chats1 .modal-title {
        font-size: 16px !important;
    }

    .chatboat_modal .chat_right .btn_leftdropdowns.dropdown-menu.show {
        left: unset !important;
        height: fit-content;
        right: -25px !important;
    }

    .reply_dropdown .dropdown-menu {
        background-color: #ffffff !important;
    }

    .query_card {
        margin-bottom: 10px;
    }

    .profile_left i {
        border-radius: 4px;
        background: #D38329;
        font-size: 14px;
        color: #fff;
        /* padding: 5px 8px; */
        width: 23px;
        height: 23px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .chat_left .reply_dropdown .dropdown-menu {
        top: 3px !important;
        left: 0px !important;
    }
}

@media only screen and (min-width: 1301px) and (max-width: 1439px) {


    .msg_divs p {
        margin: 0;
        padding: 0;

    }

    .msg_card {
        width: fit-content !important;
    }

    .chat_div {
        padding-inline: 0px;
    }

    .chatdate p {
        font-size: 12px;
        text-align: center;
    }

    .chat_right .msg_card {
        width: fit-content !important;
        justify-content: start;
        display: flex;
        flex-direction: column;
        align-items: end;
    }

    .chat_left .msg_divs,
    .chat_right .msg_divs {
        width: 100% !important;
    }


    .time_msg {
        font-size: 12px;
        margin-top: 0px;
        color: #797782;
        font-weight: 500;
        margin-left: 0px;
        margin-bottom: 0px;
        display: flex;
        align-items: center;
        gap: 5px;
        /* flex-wrap: nowrap; */
        text-wrap: nowrap;
    }

    .btn_Reply {
        font-size: 14px;
    }

    .chat_right {

        margin-block: 8px;
    }

    .chat_right .time_msg {
        justify-content: end;
    }

    .chat-footer .editor_text {
        font-size: 8px;
    }

    .file_upload_chat p {
        border-radius: 44px;
        border: 0.5px solid #ddd !important;
        padding: 6px 15px !important;
        background-color: #fff !important;
        text-transform: capitalize;
        font-weight: 600;
        color: black;
        margin-bottom: 5px;
    }

    .files_upload a {
        font-size: 14px !important;
        font-weight: 300 !important;

        display: inline-block;
        max-width: 150px;
        /* adjust width */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .status_queris {
        padding: 3px 10px;
        font-size: 12px;
    }


    .reply_dropdown .dropdown-menu {
        background-color: #ffffff !important;
    }

    .query_card {
        margin-bottom: 10px;
    }



}

.chat_right .msg_card {
    width: fit-content !important;
    justify-content: start;
    display: flex;
    flex-direction: column;
    align-items: end;
}

.chat_left .msg_divs,
.chat_right .msg_divs {
    width: 100% !important;
}