@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@900&family=Nunito+Sans:ital,opsz,wght@1,6..12,1000&family=Roboto:wght@300;400;500;700&display=swap");

/* @import url("../plugins/iconfonts/feather/feather.css"); */

/*------ Popup Chat -------*/
#chat-popup {
    color: #fff;
    position: fixed;
    bottom: 70px;
    inset-inline-end: 20px;
    z-index: 9999;
    display: block;
    text-align: center;
    background-color: rgb(var(--primary));
    height: 50px;
    width: 50px;
    line-height: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 50%;
    margin-bottom: 5px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}

/* #chat-popup::after {
    background-color: rgb(var(--primary));
} */
#chat-popup::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 100px;
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    z-index: -1;
    transition: all 0.4s;
}
#chat-popup:hover::after {
    transform: scaleX(1.4) scaleY(1.4);
    opacity: 0;
}
#chat-popup:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.chat-popup-active1 {
    color: #fff;
    position: fixed;
    bottom: 70px;
    inset-inline-end: 20px;
    z-index: 99;
    display: block;
    text-align: center;
    background: rgb(var(--primary));
    height: 50px;
    width: 50px;
    line-height: 59px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 50px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chat-popup-active1 i {
    color: #fff;
    font-size: 1.35rem;
}

.text-fixed-white {
    color: #fff !important;
}
.chat-popup-active1.chat-popup-active {
    bottom: 80px;
    /* transition: all 0.5s; */
    /* border: 2px solid rgba(255, 255, 255, 0.3); */
}
.chat-popup-active1 .chat-messages-count {
    position: absolute;
    inset-inline-end: -5px;
    inset-block-start: -5px;
}
#chat-popup i {
    color: #fff;
    font-size: 1.25rem;
}
#chat-popup svg {
    color: #fff;
    font-size: 1.25rem;
}

.chat-icon {
    z-index: 9999;
    display: block;
    text-align: center;
    height: 50px;
    width: 50px;
    line-height: 59px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    opacity: 0;
    transform: translateY(-30px);
    -webkit-animation: slideIn 0.5s ease forwards;
    animation: slideIn 0.5s ease forwards;
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}
.chat-icon.whatsapp {
    background-color: rgb(9, 173, 149);
    color: #fff !important;
}
.chat-icon.mailchat {
    background: linear-gradient(
        45deg,
        rgb(71, 155, 254) 0%,
        rgb(79, 191, 254) 100%
    ) !important;
    color: #fff !important;
}
.chat-icon.messanger {
    background: #f09433;
    background: linear-gradient(
        45deg,
        #f09433 0%,
        #e6683c 25%,
        #dc2743 50%,
        #cc2366 75%,
        #bc1888 100%
    );
    color: #fff !important;
}
.chat-icon.livechat {
    background-color: rgb(247, 183, 49) !important;
    color: #fff !important;
}

.whatsapp {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.mailchat {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.messanger {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.livechat {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    -webkit-animation-delay: 0.05s;
    animation-delay: 0.05s;
}

@-webkit-keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@-webkit-keyframes slideOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(30px);
    }
}
@keyframes slideOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(30px);
    }
}
.firstClass {
    bottom: 136px;
    inset-inline-end: 21px;
}
.chat-popup-list-lg.firstClass {
    bottom: 136px;
    inset-inline-end: 24px;
}
.chat-popup-list {
    display: none;
    position: fixed;
    list-style: none;
    transform: translateY(5px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.chat-popup-list.show {
    display: block;
    opacity: 1;
    transform: translateY(0px);
    z-index: 9999;
    -webkit-animation: slideIn 0.5s ease forwards;
    animation: slideIn 0.5s ease forwards;
}

.chat-popup-list {
    -webkit-animation: slideOut 0.5s ease forwards;
    animation: slideOut 0.5s ease forwards;
    display: block;
}

.close-icon {
    display: none;
}

#chat-popup.chat-popup-active {
    bottom: 80px;
    /* transition: all .3s; */
}

.chat-message-popup {
    background-color: #f1f4fb;
    border: 0px solid #e9ebfa;
    border-radius: 6px;
    bottom: -700px;
    height: 650px;
    position: fixed;
    inset-inline-end: 20px;
    width: 400px;
    z-index: 99999;
    box-shadow: 0px 16px 18px rgba(6, 10, 48, 0.1);
    transition: all 0.3s;
    overflow: hidden;
}

.chat-message-popup.card-fullscreen {
    height: 560px;
    position: fixed;
    inset-inline-end: 20px;
    width: 370px;
    z-index: 99999;
    top: 100vh;
    transition: none;
}

.chat-message-popup.active.card-fullscreen {
    display: block;
    width: 100%;
    height: 100vh;
    top: 0;
    transition: none;
    transition: none;
}

.chat-content {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 0px;
}

.card-fullscreen .chat-content {
    min-height: 90vh !important;
}

.popup-end-chat-main-body {
    display: none;
}

.popup-endchat .popup-end-chat-main-body {
    display: block;
}

.popup-endchat .popup-chat-main-body,
.popup-endchat .rating-chat-main-body {
    display: none;
}

.rating-section-body .popup-chat-main-body {
    display: none;
}

.rating-section-body .rating-chat-main-body {
    display: block;
}

.popup-minimize,
.popup-minimize-fullscreen {
    display: none;
}

.rating-section-body .popup-minimize {
    display: inline-block;
}

.rating-section-body.card-fullscreen .popup-minimize {
    display: none;
}

.rating-section-body.card-fullscreen .popup-minimize-fullscreen {
    display: inline-block;
}

.rating-section-body .feedBackBtn {
    display: none;
}

.chat-message-popup.card-fullscreen .popup-messages {
    max-height: 80vh;
}

.rating-section-body
    .stars-example-fontawesome-sm
    .br-theme-fontawesome-stars
    .br-widget
    a {
    font-size: 1.25rem;
    margin-inline-end: 4px;
}

.rating-section-body .br-theme-fontawesome-stars .br-widget a:after {
    color: #cec9e2;
}

.rating-chat-main-body {
    display: none;
}

.chat-message-popup.card-fullscreen .popup-messages-footer > textarea {
    width: 99% !important;
}

.chat-message-popup.active {
    display: block;
    bottom: 25px;
    transition: all 0.3s;
}

.chat-message-popup .popup-messages {
    max-height: 340px;
    overflow: auto;
    /* background: #f0edfb; */
    padding: 20px;
    padding-top: 0;
}

.chat-message-popup .user-header {
    box-shadow: 0px 16px 18px rgba(6, 10, 48, 0.05);
    background: #fff;
}

.chat-message-popup .dropdown {
    z-index: 99;
}

.popup-box .popup-head .popup-head-right {
    margin: 7px 7px 0;
}

.popup-head-left img {
    border-radius: 50%;
    width: 44px;
}

.popup-messages-footer {
    background: #fff none repeat scroll 0 0;
    bottom: 0;
    position: absolute;
    width: 100%;
}

.popup-messages-footer > textarea {
    height: 42px !important;
    margin: 7px;
    padding: 5px 15px !important;
    width: 95% !important;
    line-height: 30px;
}

.popup-messages-footer > textarea::placeholder {
    color: #bfbfc3;
}

.popup-messages-footer .btn-footer {
    overflow: hidden;
    padding: 2px 5px 10px 6px;
    width: 100%;
}

.simple_round {
    background: #d1d1d1 none repeat scroll 0 0;
    border-radius: 50%;
    color: #4b4b4b !important;
    height: 21px;
    padding: 0 0 0 1px;
    width: 21px;
}

.popup-box .popup-messages {
    background: #fff none repeat scroll 0 0;
    height: 275px;
    overflow: auto;
}

.direct-chat-messages {
    overflow: auto;
    transform: translate(0px, 0px);
}

.popup-messages .chat-box-single-line {
    height: 12px;
    margin: 7px 0 20px;
    position: relative;
    text-align: center;
}

.popup-messages abbr.timestamp {
    padding: 3px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.popup-head-right .btn-group {
    display: inline-flex;
    margin: 0 8px 0 0;
    vertical-align: top !important;
}

.chat-header-button {
    background: transparent none repeat scroll 0 0;
    border: 1px solid transparent;
    border-radius: 50%;
    font-size: 0.875rem;
    height: 30px;
    width: 30px;
    color: #fff;
    cursor: pointer;
}

.popup-messages-footer .btn-footer button {
    cursor: pointer;
}

.popup-head-right .btn-group .dropdown-menu {
    border: medium none;
    min-width: 122px;
    padding: 0;
}

.popup-head-right .btn-group .dropdown-menu li a {
    font-size: 0.75rem;
    padding: 3px 10px;
    color: #303030;
}

.popup-messages .direct-chat-messages {
    height: auto;
    width: 100%;
}

.popup-messages .direct-chat-text {
    background: #dfece7 none repeat scroll 0 0;
    border: 1px solid #dfece7;
    border-radius: 2px;
    color: #1f2121;
}

.popup-messages .direct-chat-timestamp {
    color: #68686b;
    opacity: 0.6;
}

.popup-messages .direct-chat-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #6e6e75;
    opacity: 0.9;
}

.popup-messages .direct-chat-info {
    display: block;
    font-size: 0.75rem;
    margin-bottom: 0;
}

.popup-messages .big-round {
    margin: -9px 0 0 !important;
}

.popup-messages .direct-chat-img {
    border: 1px solid #e6eaea;
    background: #3f9684 none repeat scroll 0 0;
    border-radius: 50%;
    float: left;
    height: 32px;
    width: 32px;
    position: absolute;
    top: 0;
}

.popup-messages .right .direct-chat-img {
    float: right;
    inset-inline-end: 0;
    top: 0;
}

.popup-messages .direct-chat-reply-name {
    color: #d8dede;
    font-size: 0.9375rem;
    margin: 0 0 0 10px;
    opacity: 0.9;
}

.popup-messages .direct-chat-img-reply-small {
    border: 1px solid #e6eaea;
    border-radius: 50%;
    float: left;
    height: 20px;
    margin: 0 8px;
    width: 20px;
    background: #3f9684;
}

.popup-messages .direct-chat-msg {
    margin-bottom: 10px;
    position: relative;
}

.popup-messages .doted-border::after {
    background: transparent none repeat scroll 0 0 !important;
    bottom: 0;
    content: "";
    inset-inline-start: 17px;
    margin: 0;
    position: absolute;
    top: 0;
    width: 2px;
    display: inline;
    z-index: -2;
}

.popup-messages .direct-chat-msg::after {
    border-inline-end: medium none;
    bottom: 0;
    /* content: ""; */
    inset-inline-start: 17px;
    margin: 0;
    position: absolute;
    top: 0;
    width: 2px;
    display: inline;
    z-index: -2;
}

.direct-chat-msg .direct-chat-text:nth-child(1)::before {
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 0 12px 12px 0;
    border-color: transparent rgba(var(--primary), 0.1) transparent transparent;
    position: absolute;
    inset-inline-start: -13px;
    top: -1px;
    /* content: ""; */
}
.direct-chat-msg.right .direct-chat-text {
    color: #313e6a;
}

.direct-chat-msg .direct-chat-text:nth-child(1)::after {
    /* content: ""; */
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 0 100% 0 0;
    inset-inline-start: -15px;
    top: -1px;
    position: absolute;
    background: transparent;
}

.direct-chat-msg.right .direct-chat-text:nth-child(1)::before {
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 0 12px 12px 0;
    border-color: transparent #fff transparent transparent;
    position: absolute;
    inset-inline-end: -12px;
    top: 0px;
    inset-inline-start: auto;
    /* content: ""; */
    transform: rotate(-90deg);
}

.direct-chat-msg.right .direct-chat-text:nth-child(1)::after {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 0 100% 0 0;
    inset-inline-start: auto;
    inset-inline-end: -12px;
    top: 0px;
    position: absolute;
    background: transparent;
    transform: rotate(-90deg);
}

.popup-messages .direct-chat-text {
    background: rgba(var(--primary), 0.1) none repeat scroll 0 0;
    border: 1px solid rgba(var(--primary), 0.1);
    border-radius: 2px;
    color: rgb(var(--primary));
    border-radius: 0 10px 10px 10px;
    padding: 10px 10px 10px 10px;
    position: relative;
    /* margin-inline-start: 50px; */
    max-width: 73%;
    box-shadow: 0 2px 3px 0px rgba(6, 10, 48, 0.2);
    margin-top: 4px;
}

.chat-message-popup .popup-head {
    display: block;
    padding: 15px 20px;
    font-weight: 700;
    background: #17263a;
    color: #fff;
    font-size: 1.125rem;
}

.time-text {
    font-size: 0.625rem;
    opacity: 1;
    margin-inline-start: 0px;
    margin-top: 6px;
    color: #9ba5ca;
    text-align: right;
    display: block;
}

.time-text-left {
    font-size: 0.625rem;
    opacity: 1;
    margin-inline-end: 9px;
    float: left;
    margin-top: 10px;
}

.direct-chat-msg.right {
    flex-direction: row-reverse;
    direction: rtl;
}

.direct-chat-msg.right .direct-chat-text {
    /* margin-inline-end: 50px; */
    max-width: 73%;
    background: #fff;
    border: #fff;
    border-radius: 10px 0 10px 10px;
    width: fit-content;
    direction: ltr;
}
.popup-messages-footer .expand-textarea textarea:focus {
    box-shadow: none;
}
.popup-messages-footer .expand-textarea {
    margin-bottom: 0 !important;
    border: 0;
    height: auto;
}
#status_message {
    padding: 1.25rem 0.75rem 1rem;
    line-height: 1.375rem;
    resize: none;
    overflow-y: auto;
}
.pulse {
    background-color: #0dcd94 !important;
    animation: pulse-success 1s infinite;
}
@keyframes pulse-success {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(13, 205, 148, 0.9);
        box-shadow: 0 0 #0dcd94b3;
    }

    70% {
        -moz-box-shadow: 0 0 0 10px rgba(13, 205, 148, 0);
        box-shadow: 0 0 0 10px #0dcd9400;
    }

    to {
        -moz-box-shadow: 0 0 0 0 rgba(13, 205, 148, 0);
        box-shadow: 0 0 #0dcd9400;
    }
}
.chat-footer-icons {
    padding: 0.75rem;
    width: 100%;
}
.chat-footer-icons a {
    padding: 10px !important;
    font-size: 1.25rem;
    line-height: 18px;
}
.chat-footer-icons .btn-list a:focus {
    box-shadow: none;
}
.chat-footer-icons .btn-list a {
    padding: 11px !important;
    font-size: 1.35rem;
    line-height: 18px;
    color: #9ba5ca;
}
.chat-footer-icons a.btn-primary svg {
    fill: #fff;
}
.chat-footer-icons a svg {
    fill: #9ba5ca;
    width: 20px;
    height: 20px;
}
.chat-footer-icons a i {
    margin: 0;
    display: inline-block;
    font-size: 1.25rem;
    line-height: 1;
}
.chat-footer-icons .btn-list a:hover svg {
    fill: rgb(var(--primary)) !important;
}
.chat-footer-icons .btn-list a:hover {
    background-color: rgba(var(--primary), 0.1);
}
.btn.btn-lg.btn-icon.send-icon {
    position: relative;
}
.send-icon::after {
    background: rgb(var(--primary));
}
.send-icon::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 100px;
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    z-index: -1;
    transition: all 1s;
    opacity: 1;
}
.send-icon:hover::after {
    transform: scaleX(1.5) scaleY(1.5);
    opacity: 0;
}
.send-icon:hover {
    /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); */
    transform: translateX(2px);
}
/* .chat-footer-icons {
    position: absolute;
    bottom: 13px;
    inset-inline-end: 22px;
  }

  .chat-footer-icons a {
    padding: 5px 7px;
    font-size: 1.25rem;
    line-height: 18px;
  } */

.chat-footer-icons a i {
    /* transform: rotate(45deg); */
    display: inline-block;
}

.chat-message-header-icons a {
    width: 34px;
    height: 34px;
    display: inline-block;
    background: 1px solid #e9ebfa;
    line-height: 36px;
    margin: 0 auto;
    text-align: center;
    border-radius: 50%;
    border: 1px solid 1px solid #e9ebfa;
}

.message-popup-left {
    position: absolute;
    top: 18px;
    inset-inline-start: 20px;
    width: auto;
}

.message-popup-right {
    position: absolute;
    top: 18px;
    inset-inline-end: 20px;
}

.more-images {
    position: absolute;
    width: 4rem;
    height: 4rem;
    top: 0;
    border: 0;
    inset-inline-start: 0;
    bottom: 0;
    inset-inline-end: 0;
    margin: 0.25rem;
    text-align: center;
    line-height: 4rem;
    background: rgba(0, 0, 0, 0.51);
    color: #fff;
    cursor: pointer;
    border-radius: 2px;
    font-weight: 600;
}

.jvectormap-zoomin,
.jvectormap-zoomout {
    display: none;
}

.direct-chat-text iframe {
    width: 100%;
}

.rating-chat-main-body .star-ratings .stars {
    width: inherit;
    margin: 0;
    text-align: inherit;
}

.rating-chat-main-body .star-ratings .stars select {
    width: 50%;
    padding: 5px;
    border: 1px solid #d3dfea !important;
}

.rating-chat-main-body .br-theme-fontawesome-stars-o .br-widget a {
    font-size: 16px;
}

@media (max-width: 768px) {
    .chat-message-popup {
        width: auto !important;
        inset-inline-end: 5px;
        inset-inline-start: 5px;
    }

    .ms-menu .tab-menu-heading {
        width: 100%;
    }
}

/*------ Popup Chat -------*/

/* Live Chat */
.main-chart-wrapper {
    position: relative;
    overflow: hidden;
    /* margin: 0 -1.25rem; */
}

.main-chart-wrapper .chat-info {
    background-color: #fff;
    height: calc(100vh - 8rem);
}

.main-chart-wrapper .chat-info {
    border-radius: 0.625rem;
}

.main-chart-wrapper .chat-users-tab {
    height: calc(100vh - 10rem);
}

.chat-opertaors-section {
    height: calc(100vh - 10rem);
}

.main-chart-wrapper .chat-content {
    height: calc(100vh - 22rem);
}

.main-chart-wrapper
    .chat-content
    .simplebar-content-wrapper
    .simplebar-content {
    margin-top: auto;
}

.main-chart-wrapper .chat-content ul li {
    margin-block-end: 1rem;
}

.main-chart-wrapper .chat-content ul li:last-child {
    margin-block-end: 0;
}

.main-chart-wrapper .responsive-chat-close,
.main-chart-wrapper button.responsive-userinfo-open {
    display: none;
}

.main-chart-wrapper .chat-info {
    position: relative;
}

.main-chart-wrapper .chat-info .chat-add-icon {
    position: absolute;
    inset-block-end: 0.75rem;
    inset-inline-end: 0.8rem;
    z-index: 1;
    box-shadow: 0 0 0.5rem rgba(var(--secondary-rgb), 0.5);
}

.main-chart-wrapper .chat-info ul li.checkforactive {
    border: 1px solid rgba(230, 235, 241, 0.6);
}

.main-chart-wrapper .chat-info .nav-link {
    color: #9ba5ca;
    border-radius: 0;
}

.main-chart-wrapper .chat-info .nav-link.active {
    background-color: rgba(var(--primary), 0.1);
}

.main-chart-wrapper .chat-info .tab-pane {
    padding: 0;
}

.main-chart-wrapper .chat-info .chat-users-tab li.checkforactive {
    padding: 0.75rem;
    border-radius: 0.45rem;
    margin-block-end: 0.5rem;
}

.main-chart-wrapper .chat-info .chat-users-tab li.checkforactive:last-child {
    margin-block-end: 0rem;
}

.main-chart-wrapper .chat-info .chat-users-tab li.checkforactive .chat-msg {
    color: #9ba5ca;
    max-width: 8.25rem;
    display: inline-block;
}

.main-chart-wrapper
    .chat-info
    .chat-users-tab
    li.checkforactive
    .chat-msg-typing
    .chat-msg {
    color: #0dcd94;
}

.main-chart-wrapper
    .chat-info
    .chat-users-tab
    li.checkforactive
    .chat-msg-typing
    .chat-read-icon {
    display: none;
}

.main-chart-wrapper
    .chat-info
    .chat-users-tab
    li.checkforactive
    .chat-read-icon {
    line-height: 1;
}

.main-chart-wrapper
    .chat-info
    .chat-users-tab
    li.checkforactive
    .chat-read-icon
    i {
    font-size: 1rem;
    /* color: #0dcd94; */
}

.main-chart-wrapper .chat-info .chat-users-tab li.checkforactive.chat-msg-read {
    background-color: #f1f4fb;
}

.main-chart-wrapper
    .chat-info
    .chat-users-tab
    li.checkforactive.chat-msg-unread {
    color: #263871;
}

.main-chart-wrapper
    .chat-info
    .chat-users-tab
    li.checkforactive.chat-msg-unread
    .chat-msg {
    color: #263871;
}

.main-chart-wrapper
    .chat-info
    .chat-users-tab
    li.checkforactive.chat-msg-unread
    .chat-read-icon
    i {
    color: #9ba5ca;
}

.main-chart-wrapper
    .chat-info
    .chat-users-tab
    li.checkforactive.chat-inactive
    .chat-read-icon {
    display: none;
}

.main-chart-wrapper .chat-user-details {
    padding: 1.5rem;
}

.main-chart-wrapper .chat-user-details .shared-files li {
    margin-block-end: 1rem;
}

.main-chart-wrapper .chat-user-details .shared-files li:last-child {
    margin-block-end: 0;
}

.main-chart-wrapper .chat-user-details .shared-files .shared-file-icon i {
    width: 1rem;
    height: 1rem;
    line-height: 1rem;
    border-radius: 0.3rem;
    border: 1px solid 1px solid #e9ebfa;
    display: flex;
    align-items: center;
    padding: 1.125rem;
    justify-content: center;
    font-size: 1.125rem;
    color: #9ba5ca;
}

.main-chart-wrapper .chat-user-details .chat-media img {
    width: 100%;
    border-radius: 0;
    margin-bottom: 1.25rem;
}

.main-chart-wrapper .main-chat-area {
    position: relative;
}

.main-chart-wrapper .main-chat-area .chat-content {
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 2.5rem;
}

.main-chart-wrapper .main-chat-area .chat-content .chatting-user-info {
    color: #263871;
    font-weight: 600;
    font-size: 0.813rem;
}

.main-chart-wrapper
    .main-chat-area
    .chat-content
    .chatting-user-info
    .msg-sent-time {
    color: #9ba5ca;
    font-size: 0.75rem;
    font-weight: 500;
}

.main-chart-wrapper .chat-read-mark i {
    color: #0dcd94;
    margin-inline-end: 0.3rem;
}

.chat-read-mark {
    .ri-check-double-fill {
        color: #0dcd94 !important;
    }
}

.main-chart-wrapper .main-chat-area .chat-content .main-chat-msg div {
    margin-block-start: 0.4rem;
    padding: 0.75rem;
    width: fit-content;
}

.main-chart-wrapper .main-chat-area .chat-content .main-chat-msg div p {
    font-size: 0.813rem;
}

.main-chart-wrapper
    .main-chat-area
    .chat-content
    .main-chat-msg
    div
    .chat-media-image {
    width: 6.25rem;
    height: 6.25rem;
    border-radius: 0;
}

.main-chart-wrapper
    .main-chat-area
    .chat-content
    .chat-item-start
    .main-chat-msg
    div {
    background-color: rgba(255, 255, 255, 0.4);
    color: #263871;
    border-start-start-radius: 0rem;
    border-start-end-radius: 0.3rem;
    border-end-end-radius: 0.3rem;
    border-end-start-radius: 0.3rem;
}

.main-chart-wrapper
    .main-chat-area
    .chat-content
    .chat-item-start
    .msg-sent-time {
    margin-inline-start: 0.25rem;
}

.main-chart-wrapper .main-chat-area .chat-content .chat-item-end {
    justify-content: end;
    text-align: end;
}

.main-chart-wrapper
    .main-chat-area
    .chat-content
    .chat-item-end
    .main-chat-msg
    div {
    background-color: rgba(112, 117, 131, 0.05);
    color: #263871;
    border-start-start-radius: 0.3rem;
    border-start-end-radius: 0px;
    border-end-end-radius: 0.3rem;
    border-end-start-radius: 0.3rem;
}

.main-chart-wrapper
    .main-chat-area
    .chat-content
    .chat-item-end
    .msg-sent-time {
    margin-inline-end: 0.25rem;
}

.main-chart-wrapper .main-chat-area .chat-content .chat-item-start,
.main-chart-wrapper .main-chat-area .chat-content .chat-item-end {
    display: flex;
}

.main-chart-wrapper
    .main-chat-area
    .chat-content
    .chat-item-start
    .chat-list-inner,
.main-chart-wrapper
    .main-chat-area
    .chat-content
    .chat-item-end
    .chat-list-inner {
    display: flex;
    align-items: top;
}

.main-chart-wrapper .main-chat-area .chat-footer {
    width: 100%;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
}

.main-chart-wrapper .main-chat-area .chat-footer {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    inset-inline-start: auto;
    inset-inline-end: auto;
    inset-block-end: 0;
    position: relative;
}

.main-chart-wrapper .main-chat-area .chat-day-label {
    text-align: center;
    color: #9ba5ca;
    margin-block-end: 2rem;
    opacity: 1;
    position: relative;
}

.main-chart-wrapper .main-chat-area .chat-day-label span {
    padding: 0.188rem 0.5rem;
    font-size: 0.7rem;
    background-color: rgba(var(--primary), 0.1);
    border-radius: 0.3rem;
    color: rgb(var(--primary));
}

/* @media (min-width: 992px) {
    .main-chart-wrapper .chat-info {
        min-width: 21.875rem;
        max-width: 21.875rem;
    }
  } */

.main-chart-wrapper .main-chat-area {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* .main-chart-wrapper .chat-user-details {
    min-width: 21.875rem;
    max-width: 21.875rem;
  } */

@media (max-width: 575.98px) {
    .main-chart-wrapper .chat-user-details {
        min-width: 17.875rem;
        max-width: 17.875rem;
    }
}

@media (max-width: 1275.98px) and (min-width: 992px) {
    /* .main-chart-wrapper .chat-info {
        min-width: 21.875rem;
        max-width: 21.875rem;
    } */

    .main-chart-wrapper .main-chat-area {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .main-chart-wrapper .chat-user-details {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .main-chart-wrapper .chat-info {
        width: 100%;
    }

    .main-chart-wrapper .main-chat-area {
        display: none;
        min-width: 100%;
        max-width: 100%;
    }

    .main-chart-wrapper .responsive-chat-close {
        display: block;
    }
}

@media (max-width: 1400px) {
    .main-chart-wrapper .chat-user-details {
        display: none;
        position: absolute;
    }

    .main-chart-wrapper .chat-user-details.open {
        display: block;
        inset-inline-end: 0;
        inset-block-start: 0.5rem;
        border-inline-start: 1px solid 1px solid #e9ebfa;
    }

    .main-chart-wrapper button.responsive-userinfo-open {
        display: block;
    }
}

@media (max-width: 991.98px) {
    .main-chart-wrapper.responsive-chat-open .chat-info {
        display: none;
    }

    .main-chart-wrapper.responsive-chat-open .main-chat-area {
        display: block;
    }
}

@media (max-width: 767.98px) {
    .main-chart-wrapper
        .main-chat-area
        .chat-content
        .main-chat-msg
        div
        .chat-media-image {
        width: 2.5rem;
        height: 2.5rem;
    }
}

@media (max-width: 354px) {
    .main-chart-wrapper .chat-users-tab {
        max-height: calc(100vh - 22rem);
    }
}

[data-page-style="modern"] .main-chat-area .rightIcons .btn-outline-light {
    border-color: 1px solid #e9ebfa;
}

[dir="rtl"] .chat-footer .btn-send {
    transform: rotate(180deg);
}

.main-chart-wrapper .badge {
    line-height: 1.1;
    padding: 0.25em 0.5em;
}

.unReadIndexNumber:empty {
    height: 16px;
    width: 16px;
    background-color: #0dcd94;
    border-radius: 50%;
    display: inline-block;
}

.main-chart-wrapper .list-unstyled li {
    border-bottom: 0;
}

.checkforactive.active {
    background-color: #f1f4fb;
}

.chat-client-info {
    margin-bottom: 0;
}

.chat-client-info li {
    margin-bottom: 1rem;
}

.chat-client-info li:last-child {
    margin-bottom: 0;
}

.chat-footer textarea {
    resize: none;
    overflow-y: auto;
    transition: height 0.2s;
    padding-inline-end: 150px;
    font-size: 14px;
    padding: 0.9rem 7rem 0.9rem 0.9rem;
    border: 0;
    min-height: 3rem;
    border-radius: 10px;
    border: 1px solid #e9ebfa;
}

.chat-footer textarea::placeholder {
    font-size: 0.85rem;
}

.chat-reply-area {
    background-color: #fff;
    padding: 12px;
    border-radius: 10px;
}

.chat-reply-area a {
    color: #9ba5ca;
    font-size: 20px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.chat-reply-area a.btn-attach {
    bottom: 10px;
    inset-inline-end: 50px;
}

.chat-reply-area a.btn-reply {
    bottom: 10px;
    inset-inline-end: 12px;
}

.icon-style1 {
    padding: 6px;
    background-color: #f1f4fb;
    border-radius: 50px;
    font-size: 13px;
    color: #263871;
}

.select2-results__option span img,
.select2-selection__rendered span img {
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 1.25rem;
    margin-inline-end: 0.25rem;
    box-shadow: 0 0.125rem 0 rgba(10, 10, 10, 0.04);
}

.agents-list {
    margin-block-end: 0;
}

.agents-list li.agent-detail {
    margin-block-end: 1rem;
}

.agents-list li.agent-detail:last-child {
    margin-block-end: 0;
}

#agents-list {
    max-height: 260px;
}

.chat-users-tab li .chat-actions {
    display: none;
}

.chat-users-tab li:hover .chat-time {
    display: none;
}

.chat-users-tab li:hover .chat-actions {
    display: block;
}

.solved-chats li.chat-item-start:last-child .msg-sent-time {
    position: relative;
}

.solved-chats li.chat-item-start:last-child .msg-sent-time:before {
    position: absolute;
    content: "\eb7a";
    font-family: remixicon !important;
    font-size: 16px;
    color: #9ba5ca;
    inset-inline-end: -20px;
    top: -7px;
}

.agent-actions-dropdown {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f4fb;
    border-radius: 10px;
}

.agent-actions-dropdown a[data-bs-toggle="dropdown"] {
    padding: 6px;
}

.chat-reply-area {
    margin: 1.5rem 2.5rem;
}

#main-chat-agent {
    max-height: 38rem;
}

.chat-email-notify,
.chat-join-notify {
    font-size: 14px;
    color: #9ba5ca;
    text-align: center;
    font-weight: 300;
}

.select2-container .select2-dropdown {
    z-index: 10000;
}

/* Live Chat */

/* ###### custom ####### */
/*----- Avatars -----*/
.country-selector .avatar {
    width: 1.4rem;
    height: 1.2rem;
}

.avatar {
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    position: relative;
    text-align: center;
    display: inline-block;
    background: rgb(var(--primary)) no-repeat center/cover;
    color: #fff;
    font-weight: 600;
    vertical-align: bottom;
    font-size: 0.875rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.noborder {
    border-radius: 0;
}

.brround {
    border-radius: 50%;
}

.bradius {
    border-radius: 25%;
}

.avatar i {
    font-size: 125%;
    vertical-align: sub;
}

.avatar-status {
    position: absolute;
    inset-inline-end: -2px;
    bottom: -2px;
    width: 0.75rem;
    height: 0.75rem;
    border: 2px solid #fff;
    background: #868e96;
    border-radius: 50%;
}

.avatar-sm {
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    font-size: 0.75rem;
}

.avatar-md {
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    font-size: 1rem;
}

.avatar-lg {
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    font-size: 1.25rem;
}

.avatar-xl {
    width: 4rem !important;
    height: 4rem !important;
    line-height: 4rem;
    font-size: 1.75rem;
}

.avatar-xxl {
    width: 5rem;
    height: 5rem;
    line-height: 5rem;
    font-size: 2rem;
}

.avatar-placeholder {
    background: #ced4da
        url('data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" width="134" height="134" viewBox="0 0 134 134"><path fill="#868e96" d="M65.92 66.34h2.16c14.802.42 30.928 6.062 29.283 20.35l-1.618 13.32c-.844 6.815-5.208 7.828-13.972 7.866H52.23c-8.764-.038-13.13-1.05-13.973-7.865l-1.62-13.32C34.994 72.4 51.12 66.76 65.92 66.34zM49.432 43.934c0-9.82 7.99-17.81 17.807-17.81 9.82 0 17.81 7.99 17.81 17.81 0 9.82-7.99 17.807-17.81 17.807-9.82 0-17.808-7.987-17.808-17.806z"/></svg>')
        no-repeat center/80%;
}

.avatar-list {
    margin: 0 0 -0.5rem;
    padding: 0;
    font-size: 0;
}

.avatar-list .avatar {
    margin-bottom: 0.5rem;
}

.avatar-list .avatar:not(:last-child) {
    margin-inline-end: 0.5rem;
}

.avatar-list-stacked .avatar {
    margin-inline-end: -0.9em !important;
    box-shadow: 0 0 0 2px #fff;
}

.avatar-blue {
    background-color: #083dc1;
    color: #467fcf;
}

.avatar-indigo {
    background-color: #d1d5f0;
    color: #6574cd;
}

.avatar-purple {
    background-color: #e4cff9;
    color: #aa4cf2;
}

.avatar-pink {
    background-color: #fcd3e1;
    color: #ef4eb8;
}

.avatar-red {
    background-color: #f0bcbc;
    color: #dc0441;
}

.avatar-orange {
    background-color: #fee0c7;
    color: #f34932;
}

.avatar-yellow {
    background-color: #fbedb7;
    color: #e3b113;
}

.avatar-green {
    background-color: #cfeab3;
    color: #0dcd94;
}

.avatar-teal {
    background-color: #bfefea;
    color: #17d1dc;
}

.avatar-cyan {
    background-color: #b9e3ea;
    color: #17a2b8;
}

.avatar-white {
    background-color: white;
    color: #fff;
}

.avatar-gray {
    background-color: #dbdde0;
    color: #868e96;
}

.avatar-gray-dark {
    background-color: #c2c4c6;
    color: #353a40;
}

.avatar-azure {
    background-color: #c7e6fb;
    color: #128af9;
}

.avatar-lime {
    background-color: #d7f2c2;
    color: #7bd235;
}

.product-price {
    font-size: 1rem;
}

.product-price strong {
    font-size: 1.5rem;
}

@-webkit-keyframes indeterminate {
    0% {
        inset-inline-start: -35%;
        inset-inline-end: 100%;
    }

    100%,
    60% {
        inset-inline-start: 100%;
        inset-inline-end: -90%;
    }
}

@keyframes indeterminate {
    0% {
        inset-inline-start: -35%;
        inset-inline-end: 100%;
    }

    100%,
    60% {
        inset-inline-start: 100%;
        inset-inline-end: -90%;
    }
}

@-webkit-keyframes indeterminate-short {
    0% {
        inset-inline-start: -200%;
        inset-inline-end: 100%;
    }

    100%,
    60% {
        inset-inline-start: 107%;
        inset-inline-end: -8%;
    }
}

@keyframes indeterminate-short {
    0% {
        inset-inline-start: -200%;
        inset-inline-end: 100%;
    }

    100%,
    60% {
        inset-inline-start: 107%;
        inset-inline-end: -8%;
    }
}

#chatRoom {
    .modal-content {
        width: 400px;
    }
    .modal-body {
        height: 400px;
        overflow-y: scroll;
    }
}

/*----- Custom control -----*/

/* chat styles start */

.chat-message-popup .popup-head {
    display: block;
    padding: 15px 20px;
    font-weight: 700;
    background: #17263a;
    color: #fff;
    font-size: 1.125rem;
}
.chat-message-popup .message-popup-left {
    position: absolute;
    top: 18px;
    inset-inline-start: 20px;
    width: auto;
}
.chat-message-popup .dropdown {
    z-index: 99;
}

.chat-message-popup .dropdown-menu {
    box-shadow: 0 2px 3px rgba(108, 117, 125, 0.16);
    border-radius: 0;
}

.chat-message-popup .dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}

.chat-message-popup .dropdown-menu.show {
    display: block;
}

.chat-message-popup .dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529 !important;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}
.chat-message-popup .font-weight-bold {
    font-weight: 700 !important;
}
.chat-message-popup .text-center {
    text-align: center !important;
}
.chat-message-popup .text-end {
    text-align: right !important;
}
.chat-message-popup .message-popup-right {
    position: absolute;
    top: 18px;
    inset-inline-end: 20px;
}
.chat-message-popup .popup-minimize,
.chat-message-popup .popup-minimize-fullscreen {
    display: none;
}
.chat-message-popup .user-header {
    box-shadow: 0px 16px 18px rgba(6, 10, 48, 0.05);
    background: #fff;
}
.chat-message-popup .p-3 {
    padding: 1rem !important;
}
.chat-message-popup .border-bottom {
    border-bottom: 1px solid #ebf1ff !important;
}
.chat-message-popup .border-top {
    border-top: 1px solid #ebf1ff !important;
}
.chat-message-popup .d-flex {
    display: flex !important;
}
.chat-message-popup .ms-auto,
.chat-message-popup .mx-auto {
    margin-inline-start: auto !important;
}
.chat-message-popup .avatar-md {
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    font-size: 1rem;
}
.chat-message-popup .brround {
    border-radius: 50%;
}
.chat-message-popup .avatar {
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    position: relative;
    text-align: center;
    display: inline-block;
    background: rgb(var(--primary)) no-repeat center/cover;
    color: #fff;
    font-weight: 600;
    vertical-align: bottom;
    font-size: 0.875rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.chat-message-popup small,
.chat-message-popup .small {
    font-size: 80%;
    font-weight: 400;
}
.chat-message-popup .chat-message-header-icons a {
    width: 34px;
    height: 34px;
    display: inline-block;
    line-height: 36px;
    margin: 0 auto;
    text-align: center;
    border-radius: 50%;
}
.chat-message-popup .popup-messages {
    max-height: 407px;
    overflow: auto;
    padding: 20px;
    /* padding-top: 13px !important; */
    padding-block-start: 24px;
    padding-block-end: 50px;
}
.chat-message-popup .popup-messages .direct-chat-msg {
    margin-bottom: 10px;
    position: relative;
}
.chat-message-popup .popup-messages .direct-chat-img {
    border: 1px solid #e6eaea;
    background: #3f9684 none repeat scroll 0 0;
    border-radius: 50%;
    float: left;
    height: 32px;
    width: 32px;
    position: absolute;
    top: 0;
}
.chat-message-popup .popup-messages .direct-chat-msg::after {
    border-inline-end: medium none;
    bottom: 0;
    content: "";
    inset-inline-start: 17px;
    margin: 0;
    position: absolute;
    top: 0;
    width: 2px;
    display: inline;
    z-index: -2;
}
.chat-message-popup .popup-messages .direct-chat-msg::after {
    border-inline-end: medium none;
    bottom: 0;
    content: "";
    inset-inline-start: 17px;
    margin: 0;
    position: absolute;
    top: 0;
    width: 2px;
    display: inline;
    z-index: -2;
}
.chat-message-popup .flex-wrap {
    flex-wrap: wrap !important;
}
.chat-message-popup .card-footer:last-child {
    border-radius: 0 0 2px 2px;
}
.chat-message-popup .popup-messages-footer {
    background: #fff none repeat scroll 0 0;
    bottom: 0;
    position: absolute;
    width: 100%;
}
.chat-message-popup .popup-messages-footer > textarea {
    height: 48px !important;
    margin: 7px;
    padding: 5px 15px !important;
    width: 96%;
    line-height: 30px;
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    border-color: #ced4da;
    border-radius: 5px;
}
/* .chat-message-popup .chat-footer-icons {
    position: absolute;
    bottom: 13px;
    inset-inline-end: 22px;
  }
  .chat-message-popup .chat-footer-icons a {
    padding: 5px 7px;
    line-height: 36px;
  }
  .chat-message-popup .chat-footer-icons a i {
    transform: rotate(45deg);
    display: inline-block;
  } */

/* .chat-message-popup .btn, .sp-container button {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 3px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
} */

.chat-message-popup .btn-outline-primary {
    cursor: pointer;
    color: #0d6efd;
    background-color: transparent;
    background-image: none;
    border-color: #0d6efd;
}
.chat-message-popup .btn {
    padding: 0.375rem 0.75rem;
}
.chat-message-popup .rounded-pill {
    border-radius: 50rem !important;
}
.chat-message-popup .mb-0 {
    margin-bottom: 0 !important;
}
.chat-message-popup h6 {
    margin-top: 0 !important;
}
.chat-message-popup {
    font-family: "Roboto", sans-serif;
}

.chat-message-popup h6,
.chat-message-popup .h6 {
    font-size: 0.875rem;
}
.chat-message-popup .direct-chat-text {
    font-size: 14px;
}
.chat-message-popup .m-1 {
    margin: 0.25rem !important;
}
.chat-message-popup .popup-head a:-webkit-any-link {
    color: #fff;
    text-decoration: none;
}
/* .chat-message-popup .popup-chat-main-body a:-webkit-any-link {
    color: #000;
    text-decoration: none;
} */
.chat-message-popup .me-2,
.chat-message-popup .mx-2 {
    margin-inline-end: 0.5rem !important;
}

.chat-message-popup textarea.form-control {
    min-height: calc(1.5em + 0.75rem + 2px);
}

.chat-message-popup .form-control.textarea-chatoptions {
    border: 0;
}

.chat-message-popup .form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.chat-message-popup textarea {
    overflow: auto;
    resize: vertical;
}

.chat-message-popup .avatar-list {
    margin: 0 0 -0.5rem;
    padding: 0;
    font-size: 0;
}

.chat-message-popup .avatar-list-stacked:last-child {
    margin-inline-end: 0 !important;
}

.chat-message-popup .avatar-list-stacked .avatar {
    margin-inline-end: -0.9rem !important;
    box-shadow: 0 0 0 2px #fff;
}

.chat-message-popup .avatar-list .avatar {
    margin-bottom: 0.5rem;
}

.chat-message-popup .brround {
    border-radius: 50%;
}
.chat-message-popup .avatar {
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    position: relative;
    text-align: center;
    display: inline-block;
    background: #17263a no-repeat center/cover;
    color: #fff;
    font-weight: 600;
    vertical-align: bottom;
    font-size: 0.875rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.chat-message-popup .text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 16rem;
}

.chat-message-popup .ms-4,
.mx-4 {
    margin-inline-start: 1.5rem !important;
}

.chat-message-popup .w-2 {
    width: 0.5rem !important;
}

.chat-message-popup .h-2 {
    height: 0.5rem !important;
}

#chat-popup .position-absolute {
    position: absolute !important;
}

#chat-popup .bg-danger {
    background-color: #e82646 !important;
    color: #fff;
}

#chat-popup .badge {
    display: inline-block;
    padding: 5px 5px;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}
#chat-popup .rounded-pill {
    border-radius: 50rem !important;
}
#chat-popup .bg-danger {
    --bs-bg-opacity: 1;
}
#chat-popup .translate-middle {
    transform: translate(-50%, -50%) !important;
}
#chat-popup .start-100 {
    inset-inline-start: 100% !important;
}
#chat-popup .top-0 {
    top: 0 !important;
}

/* #chat-popup .d-none {
    display: none !important;
} */

.chat-message-popup img {
    max-width: 100%;
}

.chat-message-popup .file-img {
    position: relative;
}
.chat-message-popup .file-img button {
    position: absolute;
    inset-block-start: -4px;
    inset-inline-end: -4px;
    height: 20px;
    width: 20px;
    padding: 0px;
    border: 0;
}

/* @media (min-width: 768px) {
    .chat-message-popup-right {
        inset-inline-start: 40px;
    }
} */

/* .chat-popup-right {
    inset-inline-start: 40px ;
} */
.chat-popup-lg {
    height: 65px !important;
    width: 65px !important;
    line-height: 4.8 !important;
    /* padding: 12px; */
}
.chat-popup-lg i {
    font-size: 2rem !important;
}
.chat-popup-list-lg.firstClass.chat-popup-list[appearance="left"] {
    inset-inline-start: 22px;
    inset-inline-end: auto;
}
.chat-popup-list-lg.firstClass{
    bottom: 150px;
}

.chat-popup-list-lg .chat-icon{
    height: 60px !important;
    width: 60px !important;
}

/* chat styles End */

a {
    text-decoration: none !important;
}

.bg-success {
    background-color: green !important;
}

.bg-danger {
    background-color: red !important;
}

.chat-message-popup {
    color: #0d0c22;
}

.p-6 {
    padding: 2rem !important;
}
.stars-example-fontawesome .rating-fontawesome {
    padding: 2px;
    border-radius: 4px;
    border-color: rgba(255, 255, 255, 0.1);
}

.start-ratings-main .ratingIcon {
    height: 22px;
    width: 22px;
    fill: rgba(23, 38, 58, 0.17);
}
.start-ratings-main .ratingIcon.checked {
    fill: orange;
}

.text-red {
    color: #dc0441 !important;
}

.bg-green {
    background-color: #0dcd94 !important;
    color: #000 !important;
}
.chat-message-popup .popup-head a.feedBackBtn {
    margin-inline-start: 10px;
    margin-inline-end: -10px;
}
.popup-chat-main-body .popup-messages .direct-chat-text {
    box-shadow: none;
}
.popup-chat-main-body .popup-messages abbr.timestamp {
    font-weight: 400;
}

.offline-msg {
    padding: 10px;
    background-color: #d4f5e5;
    position: absolute;
    top: 62px;
    width: 100%;
    inset-inline: 0;
    z-index: 1;
    font-size: 14px !important;

    padding-inline-start: 33px;
}

.user-header {
    position: relative;
}

.popup-messages .direct-chat-messages {
    overflow: visible !important;
}

.offline-msg.offline-infor {
    background-color: #f7e0e0;
}
.offline-msg.offline-infor .bg-secondary {
    position: absolute;
    inset-inline-start: 15px;
    top: 17px;
}

.offline-msg .bg-success {
    background-color: #0dcd94 !important;
    position: absolute;
    inset-inline-start: 15px;
    top: 17px;
    box-shadow: 0 0 #0dcd94e6;
    animation: pulse-success 1s infinite;
}

.rating-chat-main-body .p-3 {
    max-height: 500px;
    overflow: auto;
}

@keyframes pulse-success {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(13, 205, 148, 0.9);
        box-shadow: 0 0 #0dcd94b3;
    }

    70% {
        -moz-box-shadow: 0 0 0 10px rgba(13, 205, 148, 0);
        box-shadow: 0 0 0 10px #0dcd9400;
    }

    to {
        -moz-box-shadow: 0 0 0 0 rgba(13, 205, 148, 0);
        box-shadow: 0 0 #0dcd9400;
    }
}

.errorFormMessage {
    border: 1px solid red !important;
}

.chat-message-popup .popup-head {
    display: block;
    padding: 25px;
    background: rgb(var(--primary));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../../../assets/images/pattern/2.png);
}

.chat-message-popup .popup-head {
    position: relative;
    z-index: 1;
}

.chat-message-popup .popup-head:before {
    position: absolute;
    z-index: -1;
    content: "";
    width: 100%;
    height: 100%;
    inset-inline-start: 0;
    inset-inline-end: 0;
    inset-block-start: 0;
    inset-block-end: 0;
    background: rgb(var(--primary));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
}

/* .online-status-indicator {
	background-color: rgba(13, 205, 148, 0.2);
	color: #263871;
	font-weight: 500;
	i {
	  color: #0dcd94;
	}
} */
.online-status-indicator.online {
    background-color: rgba(13, 205, 148, 0.2);
    color: #263871;
}
.online-status-indicator.offline {
    background-color: rgba(232, 38, 70, 0.1) !important;
    color: rgb(85, 84, 82) !important;
}

.chat-icon-text {
    position: absolute;
    width: 100%;
    min-width: 150px;
    inset-inline-start: -11rem;
    background-color: #fff;
    height: 44px;
    display: flex;
    bottom: 0;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    color: #263871;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    &::before,
    &::after {
        content: "";
        display: block;
        position: absolute;
        width: 0;
        height: 0;
        border-style: solid;
        inset-inline-start: 100%;
    }
    &:after {
        border-color: transparent transparent transparent #fff;
        border-width: 10px;
    }
    &:before {
        border-color: transparent transparent transparent #fff;
        border-width: 0.6875rem;
    }
}

.chat-popup-right .chat-icon-text:before {
    border-color: transparent #fff transparent transparent;
    inset-inline-end: 100%;
    inset-inline-start: auto;
}
.chat-popup-right .chat-icon-text:after {
    border-color: transparent #fff transparent transparent;
    inset-inline-end: 100%;
    inset-inline-start: auto;
}
.chat-popup-right .chat-icon-text {
    inset-inline-end: -11rem;
    inset-inline-start: auto;
}

.btn-primary {
    color: #fff !important;
    background-color: rgb(var(--primary));
    border-color: rgb(var(--primary));
    &:hover {
        color: #fff !important;
        background-color: rgb(var(--primary));
        border-color: rgb(var(--primary));
        opacity: 0.7;
    }
    &:focus,
    &.focus {
        color: #fff !important;
        background-color: rgb(var(--primary));
        border-color: rgb(var(--primary));
        opacity: 0.6;
    }
    &.disabled,
    &:disabled {
        color: #fff;
        background-color: rgb(var(--primary));
        border-color: rgb(var(--primary));
        opacity: 0.5;
    }
    &:not(:disabled):not(.disabled) {
        &:active,
        &.active {
            color: #fff;
            background-color: rgb(var(--primary));
            border-color: rgb(var(--primary));
            opacity: 0.7;
        }
    }
}
.popup-entry-fields {
    min-height: 41rem;
}
.popup-fields-bg-top {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    width: 100%;
    opacity: 0.25;
}
.popup-fields-bg-bottom {
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    width: 100%;
    opacity: 0.25;
}
.popup-entry-fields .popup-minimize-normal-fields {
    position: absolute;
    inset-block-start: 0.5rem;
    inset-inline-end: 0.5rem;
    padding: 5px;
    font-size: 1.25rem;
    line-height: 1;
    border-radius: 50%;
    background-color: rgb(var(--primary));
    z-index: 2;
}
.chat-message-popup.popup-fields {
    bottom: 25px;
}
#emojiGrid {
    top: -215px;
    width: 100%;
    inset-inline-start: 0;
    border: 1px solid #ebf1ff;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
}

.editable-container {
    position: relative;
    width: 100%;
    height: auto;
}

.editable-container::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    bottom: 0;
    padding: 8px;
    color: #aaa;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.2s ease;
}

.editable-container div[contenteditable]:empty::before {
    content: "Type message";
    opacity: 0.6;
}

.editable-container div[contenteditable]:not(:empty)::before {
    content: "";
}

.editable-container div[contenteditable] {
    padding: 8px;
    box-sizing: border-box;
}
.popup-messages-footer .textarea-chatoptions {
    max-height: 100px;
    overflow-y: auto;
}
.chat-message-popup {
    position: fixed !important;
}
.chat-message-popup[appearance="left"] {
    inset-inline-start: 20px;
    inset-inline-end: auto;
}
.chat-popup-list[appearance="left"] {
    inset-inline-start: 20px;
    inset-inline-end: auto;
}
[appearance="left"] .direct-chat-msg.right {
    direction: rtl;
}
#chat-popup[appearance="left"] {
    inset-inline-start: 20px;
    inset-inline-end: inherit;
}
.chat-message-popup[dir="ltr"] .popup-head {
    direction: rtl;
}
.chat-message-popup[dir="ltr"] .online-status-indicator {
    direction: rtl;
}
.chat-message-popup[dir="ltr"] .popup-chat-main-body {
    direction: rtl;
}
.chat-message-popup[dir="ltr"] .popup-chat-main-body .direct-chat-msg.right {
    direction: ltr;
}
.chat-message-popup[dir="ltr"]
    .popup-chat-main-body
    .direct-chat-msg.right
    .direct-chat-text:nth-child(1)::after {
    border-radius: 0 0 0 100%;
    inset-inline-end: auto;
    inset-inline-start: -12px;
    transform: rotate(90deg);
}
.chat-message-popup[dir="ltr"]
    .popup-chat-main-body
    .direct-chat-msg.right
    .direct-chat-text {
    border-radius: 0 10px 10px 10px;
}
.chat-message-popup[dir="ltr"]
    .popup-chat-main-body
    .direct-chat-msg.right
    .direct-chat-text:nth-child(1)::before {
    border-width: 0 0 12px 12px;
    border-color: transparent transparent transparent #fff;
    inset-inline-start: -12px;
    inset-inline-end: auto;
    transform: rotate(90deg);
}
.chat-message-popup[dir="ltr"] .popup-messages .direct-chat-text {
    border-radius: 10px 0 10px 10px;
}
.chat-message-popup[dir="ltr"]
    .direct-chat-msg
    .direct-chat-text:nth-child(1)::before {
    border-width: 0 0 12px 12px;
    border-color: transparent transparent transparent rgba(var(--primary), 0.1);
    inset-inline-start: -12px;
}
.chat-message-popup[dir="ltr"]
    .popup-chat-main-body
    .popup-messages-footer
    .chat-footer-icons
    a {
    transform: rotate(180deg);
}
.chat-message-popup[dir="ltr"] .online-status-indicator span.bg-secondary {
    margin-left: 0.25rem;
    margin-right: 0;
}
.chat-message-popup .popup-messages::-webkit-scrollbar {
    width: 5px !important;
}
.chat-message-popup .popup-messages::-webkit-scrollbar-thumb {
    background-color: #c1c1c1;
    border-radius: 5px; /* Optional: gives a rounded appearance */
}

/* Styling the scrollbar track (optional) */
.chat-message-popup .popup-messages::-webkit-scrollbar-track {
    background-color: #f0f0f0; /* Optional: track color */
}
.chat-message-popup .popup-messages .direct-chat-msg:last-child {
    margin-bottom: 30px;
}
.liveChatOptionBtn .btn {
    padding: 10px;
    font-size: 14px;
    border-radius: 10px;
    text-align: start;
}
.typing-indicator {
    display: flex;
    padding: 15px 0px;
}

.typing-indicator .dot {
    width: 5px;
    height: 5px;
    margin: 0 4px;
    background-color: #9298c7;
    border-radius: 50%;
    animation: bounce 1.5s infinite;
}

.typing-indicator .dot:nth-child(2) {
    animation-delay: 0.3s;
}

.typing-indicator .dot:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-7px);
    }
}
.popup-messages .liveChatOptionBtn:last-child {
    margin-bottom: 1rem;
}
/* @keyframes scaleUp {
    0% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}
.direct-chat-msg .direct-chat-text {
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.direct-chat-msg .direct-chat-text {
    animation: scaleUp 0.3s ease-in-out;
}
.direct-chat-msg .direct-chat-text {
    animation: scaleUp 0.3s ease-in-out;
    animation-delay: 0.2s;
    animation-iteration-count: 1;
} */
@media (max-width: 575.98px) {
    .chat-message-popup.active {
        bottom: -24px !important;
    }
    .chat-message-popup {
        width: 100% !important;
        height: 100% !important;
        bottom: -1000px !important;
        border-radius: 0 !important;
        inset-inline-start: 0;
        inset-inline-end: 0;
    }
    .chat-message-popup.popup-fields {
        bottom: -24px !important;
    }
    .chat-message-popup.popup-fields .popup-entry-fields {
        height: 100%;
        margin-bottom: 0 !important;
        border-radius: 0;
    }
    .chat-message-popup .popup-messages {
        max-height: calc(100vh - 14rem);
    }
}
.popup-minimize-normal,
.feedBackBtn {
    padding-inline-start: 4px;
    padding-inline-end: 4px;
    padding-block-start: 4px;
    padding-block-end: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    font-size: 16px;
    line-height: 1;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
li #chat-popup {
    position: static;
}
.cursor-pointer {
    cursor: pointer;
}
.voiceRecorderButton.btn-active {
    background-color: rgba(var(--primary), 0.1);
    color:var(--primary);
    cursor: pointer;
    animation: pulse-info 2s infinite;
    box-shadow: 0 0 0 rgba(var(--primary), 0.2);
}
.voiceRecorderButton.btn-active svg {
    color:rgba(var(--primary),1);
    fill:rgba(var(--primary),1);
}

@keyframes pulse-info {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary), 0.2);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(var(--primary), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary), 0);
    }
}
.audio-container {
    background: rgba(var(--primary), 0.1file-image-1 imageshowdiv w-auto h-auto);
    margin-block-end: 10px;
    border-radius: 0.5rem;
    position: relative;
    display: flex;
    align-items: start;
    margin-block-start: 10px;
}
.audio-container svg {
    position: absolute;
    inset-inline-end: 13px;
    inset-block-start: 19px;
}
.audio-container #audio-player {
    flex-grow: 1;
    margin-inline-end: 20px;
}
.audio-container audio::-webkit-media-controls-enclosure {
    background-color: transparent;
}
.chat-popup-lg .chat-icon-text {
    bottom: 10px;
}
.direct-chat-msg audio {
    margin-block-start: 0rem;
}
.direct-chat-msg audio::-webkit-media-controls {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0.5rem;
}
.direct-chat-msg audio::-webkit-media-controls-enclosure {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0rem;
}
.direct-chat-msg audio::-webkit-media-controls-play-button, .direct-chat-msg audio::-webkit-media-controls-mute-button {
    background-color: #f1f4fb;
    border-radius: 50%;
    opacity: 1;
}
.direct-chat-msg audio::-webkit-media-controls-current-time-display {
    color: var(--primary);
}

.audio-container{
    margin-inline: 0.75rem !important;
}

.imageshowdiv .delete-image{
  padding: 2px 6px !important;
}

.imageshowdiv .delete-image i{
    font-size: 12px !important;
  }

/* .chat-popup-list.show .chat-popup-active.unreadIndexNumberPopup {
    display: block !important;
} */
