:root {
    --chat-text: #222;
    --chat-toolbar-bg: #1d93d0;
    --chat-toolbar-text: #ffffff;
    --chat-message-area-bg: #f3f4f8;
    --chat-user-bg: #ffffff;
    --chat-user-text: #222222;
    --chat-user-active-bg: #f3f4f8;
    --chat-user-active-text: #222222;
    --chat-sent-bg: #29ade5;
    --chat-sent-text: #ffffff;
    --chat-sent-time: #ffffff;
    --chat-recieved-bg: #1d93d0;
    --chat-recieved-text: #ffffff;
    --chat-recieved-time: #ffffff;
    --chat-input-area-bg: #f3f4f9;
    --chat-input-bg: #ffffff;
    --chat-input-text: #444444;
    --chat-input-placeholder: #cccccc;
    --chat-button-bg: #319adb;
    --chat-button-text: #ffffff;
    --chat-button-hover-bg: #1d93d0;
    --chat-unread-bg: #3299e0;
    --chat-unread-text: #ffffff;
}

.vexpo-chat {
    /* Deepak Dubey 27-03-2026 : New Registration System */
    background-color: #ffffff;
    width: 350px !important;
    position: relative;
    box-sizing: border-box;
    /* Deepak Dubey 27-03-2026 : New Registration System End */
    color: var(--chat-text);
    box-shadow: -1px -1px 2px 0 rgba(0, 0, 0, .15);
    border-radius: 7px 7px 0 0px;
    overflow: hidden;
}

.vexpo-chat-wrapper.open .vexpo-chat {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vexpo-chat .scrollable {
    overflow-y: auto;
}

.vexpo-chat .scrollable::-webkit-scrollbar {
    width: 4px;
}

.vexpo-chat .scrollable::-webkit-scrollbar-thumb {
    background-color: var(--chat-text);
    border-radius: 2px;
}

.vexpo-chat-wrapper {
    margin: 0;
}

.vexpo-chat-wrapper.open {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vexpo-chat-bar {
    background-color: var(--chat-toolbar-bg);
    color: var(--chat-toolbar-text);
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    border-radius: 5px;
    flex: 0 0 auto;
    min-height: 46px;
}

.vexpo-chat-wrapper.open .vexpo-chat-bar {
    border-radius: 0px;
}

.vexpo-chat-toggle {
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    display: flex;
    font-size: 16px;
    cursor: pointer;
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    transition: linear 0.25s all;
    -webkit-transition: linear 0.25s all;
    -moz-transition: linear 0.25s all;
}

.vexpo-chat-wrapper.open .vexpo-chat-toggle,
.vexpo-chat-toggle.open {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
}

.vexpo-chat-title {
    font-size: 16px;
    font-weight: 600;
    padding: 12px 15px;
}

.vexpo-chat-user-message {
    clear: both;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    min-height: 0px;
    height: 0;
    display: none;
    background-color: var(--chat-message-area-bg);
}

/* Deepak Dubey 03-04-2026 :  Chat on request */
.vexpo-chat-wrapper.open .vexpo-chat-user-message,
.vexpo-chat-user-message.open {
    /* Deepak Dubey 27-03-2026 : New Registration System */
    min-height: calc(100vh - 200px) !important;
    height: calc(100vh - 200px) !important;
    display: block !important;
    visibility: visible;
    opacity: 1;
    overflow: hidden;
    /* Deepak Dubey 27-03-2026 : New Registration System End */
}

/* Deepak Dubey 03-04-2026 :  Chat on request end */

.vexpo-chat-messages {
    padding: 0;
    position: relative;
    width: 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.vexpo-chat-user-message-container {
    /* Deepak Dubey 27-03-2026 : New Registration System */
    height: 500px;
    position: relative;
    overflow: hidden;
    background-color: #fff;
    /* Deepak Dubey 27-03-2026 : New Registration System End */
}

/* Deepak Dubey 18-03-2026 :  woc india New Updation */
.vexpo-chat-users {
    padding: 0;
    background-color: var(--chat-user-bg);
    position: relative;
    width: 100%;
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
    height: 100%;
    max-height: calc(100% - 90px);
    overflow-y: auto;
    border-right: 1px solid rgba(0, 0, 0, .07);
}

/* Deepak Dubey 03-04-2026 :  Chat on request */
.expo-chat-stick.expanded .vexpo-chat-search-container {
    display: block;
}

.vexpo-chat-search-container {
    border-bottom: 1px solid #eee;
    background: #fff;
    display: none;
}

/* Deepak Dubey 03-04-2026 :  Chat on request End */

.vexpo-chat-users::-webkit-scrollbar {
    width: 4px;
}

.vexpo-chat-users::-webkit-scrollbar-thumb {
    background-color: var(--chat-text);
    border-radius: 2px;
}

/* Deepak Dubey 18-03-2026 :  woc india New Updation End */
.chat-user {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    color: var(--chat-user-text);
    position: relative;
    border-bottom: 1px solid var(--chat-user-active-bg);
}

/* Deepak Dubey 03-04-2026 :  Chat on request */
.chat-user.active,
.chat-user.hovering {
    cursor: pointer;
    background-color: var(--chat-user-active-bg);
    color: var(--chat-user-active-text);
}

.chat-user-name {
    font-size: 13px;
    font-weight: 600;
}

.form-control:focus {
    border: 1px solid #ced4da;
    box-shadow: none;
    background-color: #fff !important;
}

.chat-user-designation {
    font-size: 11px;
    font-weight: 500;
}

.chat-user-company {
    font-size: 10px;
    font-weight: 500;
}

/* Deepak Dubey 03-04-2026 :  Chat on request end */

.chat-user-avtar {
    width: 26px;
    margin-right: 10px;
    border-radius: 50%;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .15);
    position: relative;
}

.chat-user-avtar img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
}

.chat-user-status {
    position: absolute;
    bottom: 0;
    right: 0;
}

.chat-user-status.online::after {
    content: " ";
    background-color: #1eec4d;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .15);
    width: 8px;
    height: 8px;
    display: block;
    border-radius: 50%;
}

.visit-user-status {
    display: inline-block;
    margin-left: 8px;
}

.visit-user-status.online::after {
    content: " ";
    background-color: #1eec4d;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .15);
    width: 8px;
    height: 8px;
    display: block;
    border-radius: 50%;
}


.chat-unread-count span {
    display: block;
    color: var(--chat-unread-text);
    background-color: var(--chat-unread-bg);
    padding: 5px 2px;
    border-radius: 20px;
    font-size: 8px;
    line-height: 1;
    text-align: center;
    width: 18px;
    height: 18px;
    position: absolute;
    top: -6px;
    right: -6px;
}

/* Deepak Dubey 18-03-2026 :  woc india New Updation */
/* Deepak Dubey 27-03-2026 : Chat Height Fix */
.vexpo-chat-messages,
.vexpo-chat-users {
    height: 100% !important;
}

/* Deepak Dubey 27-03-2026 : Chat Height Fix End */

.chat-message-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#chat-message-list {
    padding: 0px 15px;
    flex: auto;
    overflow: auto;
}

.chat-message-input-wrapper {
    background-color: var(--chat-input-area-bg);
    flex: 0 0 auto;
    height: 80px;
    padding: 10px 5px;
}

.chat-message {
    margin: 5px 0;
}

.chat-message.recieved {
    text-align: left;
}

.chat-message.sent {
    text-align: right;
}

.chat-message.info {
    text-align: center;
    margin: 10px 0;
}

.chat-message .chat-message-content {
    clear: both;
    display: inline-block;
    border-radius: 5px;
    min-width: 100px;
    max-width: 85%;
    position: relative;
    padding: 5px 7px;
    text-align: left;
    font-size: 12px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .15);
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.chat-message.recieved .chat-message-content {
    background-color: var(--chat-recieved-bg);
    color: var(--chat-recieved-text);
}

.chat-message.recieved .chat-message-content:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: -10px;
    right: auto;
    top: 0px;
    bottom: auto;
    border: 10px solid;
    border-color: var(--chat-recieved-bg) transparent transparent transparent;
}

.chat-message.sent .chat-message-content {
    background-color: var(--chat-sent-bg);
    color: var(--chat-sent-text);
}

.chat-message.sent .chat-message-content:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    right: -10px;
    left: auto;
    bottom: 0px;
    top: auto;
    border: 10px solid;
    border-color: transparent transparent var(--chat-sent-bg) transparent;
}

.chat-message.info .chat-message-content {
    background-color: #ffffff;
    color: var(--chat-text);
    text-align: center;
}

.chat-message.info.clickable .chat-message-content {
    cursor: pointer;
}

.chat-message-time {
    font-size: 8px;
    margin-top: 2px;
    text-align: right;
    font-weight: 300;
}

.chat-message.recieved .chat-message-time {
    color: var(--chat-sent-time);
}

.chat-message.sent .chat-message-time {
    color: var(--chat-sent-time);
}

.chat-message.info .chat-message-time {
    text-align: center;
    margin-top: 0;
}


.chat-message-input-group {
    display: flex;
}

.chat-message-input-box {
    width: 100%;
    max-width: calc(100% - 40px);
    padding: 0 5px;
}

.chat-message-input-group {
    background: #ffffff;
    border-radius: 46px;
    padding: 2px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .15);
}

.chat-message-input {
    width: 100% !important;
    background-color: var(--chat-input-bg);
    color: var(--chat-input-text);
    height: 38px !important;
    border-radius: 46px;
    outline: none;
    border: none;
    padding: 5px 7px;
    margin-bottom: -4px;
    font-size: 12px;
    line-height: 1.5;
}

.chat-message-send-box {
    width: 36px;
    height: 36px;
    margin: 2px;
}

.chat-message-button {
    background-color: var(--chat-button-bg);
    color: var(--chat-button-text);
    border: none;
    border-radius: 46px;
    width: 100%;
    height: 100%;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .15);
}

.chat-message-button:hover {
    background-color: var(--chat-button-hover-bg);
    color: var(--chat-button-text);
}

.expo-chat-stick {
    /* Deepak Dubey 27-03-2026 : New Registration System */
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9999;
    width: 350px !important;
    height: auto !important;
    max-width: 350px !important;
    /* Deepak Dubey 27-03-2026 : New Registration System End */
}

.expo-chat-stick.expanded {
    width: 450px;
    max-width: none;
    height: 450px;
    max-height: 90vh;
    min-width: 350px;
    min-height: 300px;
    bottom: 0;
    right: 0;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
}

@media (max-width: 520px) {
    .expo-chat-stick.expanded {
        width: 100%;
        max-width: none;
        height: 450px;
        max-height: 90vh;
        min-width: 350px;
        min-height: 300px;
        bottom: 0;
        right: 0;
    }
}

.chat-resize-handle {
    width: 20px;
    height: 20px;
    position: absolute;
    left: -5px;
    top: -5px;
    cursor: nw-resize;
    z-index: 1001;
    display: none;
}

.expo-chat-stick.expanded .chat-resize-handle {
    display: block;
}

.chat-resize-handle::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    opacity: 0.6;
}


.exh-call-ringing {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.26)
}

.exh-ringing-block {
    background: #ffffff;
    padding: 25px;
    min-width: 300px;
    border: 1px solid #f5f5f5;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .15);
    -moz-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .15);
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .15);
}

.exh-caller-name {
    font-size: 18px;
    text-transform: capitalize;
    font-weight: 600;
    margin-bottom: 15px;
}

.exh-call-action {
    display: flex;
    align-items: center;
    justify-content: center;
}

.exh-call-action-button {
    background: #dddddd;
    margin: 10px;
    cursor: pointer;
    width: 42px;
    height: 42px;
    align-items: center;
    display: flex;
    justify-content: center;
    border-radius: 42px;
    font-size: 16px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .15);
    -moz-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .15);
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .15);
}

.exh-call-action-button.exh-accept {
    background: #1eec4d;
    color: #ffffff;
}

.exh-call-action-button.exh-reject {
    background: #e41515;
    color: #ffffff;
}

.chat-video-call-icon .video-call-btn {
    display: block;
    padding: 7px 5px;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    width: 24px;
    height: 24px;
    position: absolute;
    top: 16px;
    right: 4px;
    z-index: 1;
    cursor: pointer;
    color: var(--chat-button-bg);
}

.chat-video-call-icon .video-call-btn:hover {
    color: var(--chat-button-hover-bg);
}


.header-right-list .messages-count {
    position: absolute;
    right: -8px;
    top: 0px;
    background: #ff0000;
    color: #fff;
    font-size: 8px;
    width: 15px;
    height: 15px;
    text-align: center;
    border-radius: 12px;
    padding: 2px 0;
}

.messages-count {
    font-weight: 600;
}

.messages-count.hidden {
    visibility: hidden;
    opacity: 0;
}

.vexpo-chat-bar .messages-count {
    position: static;
    display: inline-block;
    width: auto;
    height: auto;
    background: #ff0000;
    color: #ffffff;
    font-size: 10px;
    padding: 2px 6px;
    vertical-align: middle;
    margin-left: 12px;
    margin-top: -2px;
    border-radius: 30px;
    min-width: 18px;
    text-align: center;
}



/* ---------------------------- CSS NOTE ------------------------------ */
.notes-wrapper {
    height: 75vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
}

.notes-wrapper .note-list {
    height: calc(100% - 60px);
    padding: 0px 15px;
    flex: auto;
    max-height: calc(100% - 60px);
    overflow: auto;
    overflow-y: auto;
}

.notes-wrapper .note-list::-webkit-scrollbar {
    width: 4px;
}

.notes-wrapper .note-list::-webkit-scrollbar-thumb {
    background-color: var(--chat-text);
    border-radius: 2px;
}

.notes-wrapper .note-add {
    flex: 0 0 auto;
    height: 70px;
    padding: 12px 15px;
    background: var(--chat-input-area-bg);
    box-shadow: 0 -1px 2px 0 rgba(0, 0, 0, .15);
}

.notes-wrapper .note-form {
    display: flex;
    align-items: center;
}

.notes-wrapper .note-input-con {
    width: 100%;
    max-width: calc(100% - 90px);
    padding: 0 5px;
}

.notes-wrapper .note-input-field {
    width: 100% !important;
    height: 46px !important;
    border-radius: 46px;
    outline: none;
    border: none;
    padding: 5px 15px;
    margin-bottom: -4px;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .15);
}

.notes-wrapper .note-submit-con {
    width: 90px;
}

.notes-wrapper .note-submit-button {
    background-color: var(--chat-button-bg);
    color: var(--chat-button-text);
    border: none;
    width: 100%;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .15);
    height: 47px;
    border-radius: 32px;
    outline: none;
}

.notes-wrapper .note-submit-buttons:hover {
    background-color: var(--chat-button-hover-bg);
    color: var(--chat-button-text);
}

.notes-wrapper .note-list-row {
    margin: 5px 0;
    padding: 7px 0;
    border-bottom: 1px solid #ddd;
}

.notes-wrapper .note-date {
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 3px;
    color: #4c4c4c;
}

.notes-wrapper .note-conetent {
    font-size: 15px;
}

.modal-loader {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 1;
    background: rgba(255, 255, 255, 0.7);
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
}


/* -------------------------------- */
.leave-message-form {
    padding: 20px;
}

.leave-message-info {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.leave-message-label {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

#leave-message-message {
    width: 100% !important;
}

/* Deepak Dubey 18-03-2026 :  woc india User Detail Popover */
.chat-user-popover {
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    padding: 10px;
    z-index: 1000;
    width: 220px;
    display: none;
    pointer-events: auto;
}

.chat-user-popover::after {
    content: '';
    position: absolute;
    left: 30px;
    border-width: 5px;
    border-style: solid;
}

.chat-user-popover.arrow-top::after {
    top: -10px;
    border-color: transparent transparent #fff transparent;
}

.chat-user-popover.arrow-bottom::after {
    bottom: -10px;
    border-color: #fff transparent transparent transparent;
}

.chat-user-popover .popover-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.chat-user-popover .popover-name {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
    text-align: center;
    color: #333;
}

.chat-user-popover .popover-company {
    font-size: 12px;
    color: #555;
    text-align: center;
    font-weight: 500;
}

.chat-user-popover .popover-designation {
    font-size: 11px;
    color: #777;
    margin-bottom: 12px;
    text-align: center;
}

.chat-user-popover .popover-actions {
    text-align: center;
}

.chat-user-popover .btn-view-profile {
    background-color: var(--chat-toolbar-bg);
    color: #fff;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.chat-user-popover .btn-view-profile:hover {
    background-color: var(--chat-button-hover-bg);
    color: #fff;
}

/* Deepak Dubey 18-03-2026 : woc india User Detail Popover End */

/* Deepak Dubey 18-03-2026 : woc india New Updation */
.chat-active-user-info {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 0 0 auto;
}

.chat-user-header-details {
    overflow: hidden;
    flex: 1;
    margin-right: 10px;
}

.chat-user-header-name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-user-header-designation {
    font-size: 12px;
    color: #777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-user-header-company {
    font-size: 10px;
    color: #777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-profile-header {
    font-size: 11px;
    background: var(--chat-toolbar-bg);
    color: #fff !important;
    padding: 4px 10px;
    border-radius: 4px;
    text-decoration: none !important;
    white-space: nowrap;
}

.btn-profile-header:hover {
    background: #177bb3;
}

/* Deepak Dubey 18-03-2026 : woc india New Updation End */
