﻿.hub-chat-grid.e-grid {
    background-color: #1e1e1e;
    color: #f0f0f0;
}

.hub-chat-grid .e-gridheader {
    background-color: #252525;
    color: white;
}

.hub-chat-grid .e-headercell {
    background-color: #252525;
    color: white;
}

.hub-chat-grid .e-rowcell {
    background-color: #1e1e1e;
    color: #f0f0f0;
    border-color: #303030;
}

.hub-chat-grid .e-row:hover .e-rowcell {
    background-color: #2d2d2d;
}

.hub-chat-grid .e-selectionbackground .e-rowcell {
    background-color: #3b82f6;
    color: white;
}



.chat-session-item {
    display: flex;
    align-items: center;
    gap: 1px;
    height: 49px;
}

.chat-session-col-avatar {
    white-space: nowrap;
    width: 42px;
    flex-shrink: 0;
}

.chat-session-col-center {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.chat-session-col-right {
    flex: 0 0 auto;
    white-space: nowrap;
    flex-direction: column;
    width: 110px;
    font-size: 12px;
    flex-shrink: 0;
    white-space: nowrap;
    margin: 0 0 0 3px;
}

.chat-session-cell-name {
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
}

.chat-session-cell-provider {
    line-height: 14px;
    font-size: 11px;
}

.chat-session-cell-date {
    line-height: 17px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: lightgray;
}
.chat-session-cell-msg {
    line-height: 14px;
    font-size: 12px;
    color: gray;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-session-msg-new {
    min-width: 18px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #FFE188, #FFB475);
    border-color: #FFB475;
    color: black;
    font-size: 12px;
    font-weight: bold;
}

.chat-session-msg-count {
    color: var(--bs-secondary-color);
}

.chat-session-msg-wait-default {
    color: lightgray;
    display: inline-flex;
}

.chat-session-msg-wait-agent {
    color: #f4d03f;
    font-size: 11px;
    font-weight: 500;
}

.chat-session-msg-wait-user {
    color: #5dade2;
    font-size: 11px;
    font-weight: 500;
}

.chat-session-msg-wait-approval {
    color: #f39c12;
    font-size: 11px;
    font-weight: 500;
}
.chat-session-msg-wait-client {
    color: #f39c12;
    font-size: 11px;
    font-weight: 500;
}
.chat-session-msg-wait-supervisor {
    color: #f39c12;
    font-size: 11px;
    font-weight: 500;
}

.chat-session-msg-wait-closed {
    color: #95a5a6;
    font-size: 11px;
    font-weight: 500;
}

.chat-session-status {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: lightgray;
    font-size: 12px!important;
    font-weight: 300;
}

/*---------------------------*/
/* CHAT UI */
/*---------------------------*/

/*------------------------------------*/
/*  MODIFICACION DEL BORDE del CHAT  */
/* 1. Outer Container Border */
.hub-chatui.e-chat-ui {
    border: 0px solid #0078d4 !important;
    border-radius: 0px !important;
}
/* 2. Header Bottom Border */
    .hub-chatui.e-chat-ui .e-chat-header {
        border-bottom: 0px dashed #0078d4 !important;
    }
/* 3. Footer Top Border (Input Area) */
    .hub-chatui.e-chat-ui .e-chat-footer {
        border-top: 0px solid #e0e0e0 !important;
    }
    .hub-chatui.e-chat-ui .e-chat-content {
        padding-bottom: 3px;
    }
/*------------------------------------*/

.hub-chatui .e-left .message-items {
    border-radius: 16px 16px 16px 2px;
    padding: 6px 8px 0px 10px;
    background-color: #505050;
    color: #fff;
}
.hub-chatui .e-left .message-user {
    font-size: 12px !important;
    font-weight: 500;
    color: darkgray;
}
.hub-chatui .e-left .message-date {
    font-size: 12px!important;
    font-weight: 350;
    color: darkgray;
}

.hub-chatui .e-right .message-items {
    border-radius: 16px 16px 2px 16px;
    padding: 6px 8px 0px 10px!important;
    background-color: #0847a0;
}
.hub-chatui .e-right .message-user {
    font-size: 12px !important;
    font-weight: 500;
    color: darkgray;
}
.hub-chatui .e-right .message-date {
    font-size: 12px!important;
    font-weight: 350;
    color: darkgray;
}

.hub-chatui .message-items {
    padding: 0px;
    font-size: 15px;
    font-weight: 300;
    line-height: 20px;
}

