/* .popup-chat {
    z-index:118;
    top: 56px;
    right: 50px;
    position: absolute;
    min-height: 300px !important;
    border: 1px solid white;
    max-width: fit-content;
    border:2px solid var(--main);
    background: var(--main);
    color:var(--mainText) !important;
} */
.chat-body {
    height: 98%;
    padding: 1px 1px 10px 1px;
    background: var(--main);
}
.popup-chat .popup-chat-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2px 5px 2px 5px;
    background: var(--main);
    color:var(--mainText) !important;
}
.popup-chat .popup-chat-header .headerBtn {
    color:var(--mainText) !important;
}
.popup-chat  .chat-body {
    min-height: inherit;
}
.monitor_session_iframe {
    min-height: inherit;
    border: 1px solid var(--main);
    width: 100%;
    height: 90%;
}

td:has(> div.msg-box-div) {
    min-width: 200px;
    max-width: 250px;
    overflow: hidden !important;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.text-viber {
    color:#574e92;
    display: flex;
}

.back-viber {
    background: url(../images/icons/viber-mini.png);
    width: 12px;
    height: 12px;
    background-size: 100% 100% !important;
    display: inline-block;
    margin-right: 5px;
}

.back-website {
    background: url(../images/icons/website.png);
    width: 12px;
    height: 12px;
    background-size: 100% 100% !important;
    display: inline-block;
    margin-right: 5px;
}

.msg-box-div {
    max-width: 300px;
    overflow: auto;
    display: flex;
    flex-direction: row;
    background: none !important;
    align-items: center;
    justify-content: flex-start;
}
.cust-acc-id{
    max-width: 100px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.popup-chat {
    z-index: 9;
    background-color: #f1f1f1;
    border: 1px solid #d3d3d3;
    /* min-height: 250px !important;
    min-width: 200px !important; */
    /* top: 200px;
    left: 45px; */
    /* max-width: -moz-available;
    max-width: -webkit-fill-available;
    max-width: fill-available; */
    
}
.popup-chat {
    position: absolute;
    /*resize: both; !*enable this to css resize*! */
    overflow: hidden;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
    background-color: var(--themebgcolor2) !important;
    height:300px;
    /* max-width: -moz-available;
    max-width: -webkit-fill-available; */
    min-width: 360px !important;
}
.popup-chat * {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently supported by Chrome and Opera */
}
.popup-chat .resizer-right {
    width: 5px;
    height: 100%;
    background: transparent;
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: e-resize;
}

.popup-chat .resizer-bottom {
    width: 100%;
    height: 5px;
    background: transparent;
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: n-resize;
}

.popup-chat .resizer-both {
    width: 5px;
    height: 5px;
    background: transparent;
    z-index: 10;
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: nw-resize;
}
.chat-atchmnt {
    border: 1px solid var(--secondary);
    padding: 2px 4px 2px 4px;
    border-radius: 4px;
    background: var(--light);
    font-size: 10px;
}
pre {
    padding: 2px !important;
    margin: 0px !important;
    border: none !important;
    background: none !important;
    font-size: 11px !important;
    color: var(--gray-dark) !important;
}