#chat-interno {
    position: fixed;
    top: 12.5%;
    left: 12.5%;
    z-index: 999;
    background-color: white;
    width: 75%;
    height: 75%;
    border: 1px soliD #dfe4ed;
    border-radius: var(--panel-border-radius);
    box-shadow: 4px 2px 6px #edeaea;
}

.actions-header-chat-interno {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.chat_interno_header {
    width: 100%;
    background: #ffffff;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-radius: var(--panel-border-radius) var(--panel-border-radius) 0px 0px;
    position: relative;
    border-bottom: 1px solid var(--content-border-color);
    color: var(--main-color);
    font-size: 16px;
    height: 50px;
    font-weight: 500;
}

.chat_interno_header .count-notification-chat-interno {
    bottom: 27px;
    left: 1px;
}

#chat-interno:empty {
    display: none;
}

.chat_interno {
    display: flex;
    flex-direction: column;
    height: 100%;
    
}

.chat_interno>div:last-child {
    flex: 1;
    height: calc(100% - 42px);
    width: 100%;
    overflow-x: auto;
}
.chat_interno>div {
    display: flex;
    flex-direction: row;
}

.chat_interno .actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 12.5px 5px;
}

.chat_interno .actions i {
    color: white;
    cursor: pointer;
    position: relative;
    background: #2ecc71;
    height: 30px;
    min-width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    max-width: 30px;
}

/* .chat_interno .actions i:after {
    content: '+';
    position: absolute;
    top: -10px;
    right: -6px;
    font-weight: bolder;
    color: white;
} */

.chat_interno .chat-title {
    font-weight: 500;
    position: relative;
}

.chat_interno .chat-title .chat-detalhe {
    font-weight: 100;
    font-size: 75%;
}

.chat_interno .chat-filter {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    width: 300px;
    padding: 0px;
    max-width: 35%;
    overflow: auto;
}

.chat-empty {
    width: 100%;
    height: 100%;
    flex: 1;
    justify-content: center;
    align-items: center;
    display: flex;
    background-size: contain;
}

#chat_interno {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #f6f4f4;
}

.chat-title {
    background-color: white;
    color: #333;
    padding: 10px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    flex-direction: row;
    gap: 10px;
}


#panel_chat_interno .message {
    padding: 10px;
    background: #fff;
    color: #333;
    width: fit-content;
    max-width: 95%;
    height: fit-content;
    margin: 10px auto 10px 10px;
    border-radius: var(--panel-border-radius);
    transition: background .3s;
    border-top-left-radius: 0px;
}

#panel_chat_interno .message.me {
    background: #f6ffed;
    margin: 10px 10px 10px auto;
    border-top-right-radius: 0px;
    border-top-left-radius: var(--panel-border-radius);
    transition: background .3s;
}

#panel_chat_interno .me>.message-response,
#panel_chat_interno .message.me .options,
#panel_chat_interno .message.me .options .acoes-message {
    /* background: #f6ffed; */
    color: #333;
}

.nome-usuario-grupo {
    display: block;
    font-weight: 500;
    font-size: 85%;
    margin-top: -5px;
}

.chat-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    cursor: pointer;
    padding: 10px 5px 15px;
    border-bottom: 1px solid lightgray;
    position: relative;
}

.chat-item-detalhe {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    width: 100%;
}

.chat-item-detalhe .last-date {
    font-size: 65%;
    position: absolute;
    bottom: -15px;
    right: 2px;
    color: #999;
}

.chat-item-detalhe .last-message {
    font-size: 75%;
}

.chat-item .noreads:empty,
.chat-item .noreads[data-count="0"] {
    display: none;
}

.chat-item .noreads {
    top: 7px;
}

.chat-item.active,
.chat-item:hover {
    background-color: #f6f4f4;
}

.user-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    justify-content: center;
    padding: 0;
    display: flex;
    flex-shrink: 0;
    font-size: 12px !important;
    align-items: center;
    background: #fff;
    border: 2px solid grey;
    background-size: cover !important;
    background-position: center !important;
}

.user-photo.online {
    border-color: #00ff0a;
}

.user-photo.offline {
    border-color: #ff1c0b;
}

#notificacao_chat_interno {
    position: relative;
}

.count-notification-chat-interno[data-count="0"] {
    display: none;
}

.count-notification-chat-interno {
    background: red;
    font-weight: bolder;
    color: white;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    font-size: 7px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 30px;
    left: 20px;
}

.chat-group-actions {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    padding: 10px;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-group {
    cursor: pointer;
}

#chat_interno .message-response,
#chat_interno .chat-document {
    color: #333;
}

#chat_interno #text-message,
#chat_interno #voice-message {
    bottom: 7px;
    right: 7px;
}

#chat_interno  .chat-footer {
    border-top-right-radius: var(--panel-border-radius);
    background-color: #f6f4f4;
}