#chatview-finalizar-popover-container {
    min-width: 415px;
    min-height: 30px;
}

.i_chat_image {
  display: block;
  margin: auto auto;
  width: 100px;
}

.i_chat_file_name {
  display: block;
  text-align: center;
  width: 100%;
}

.i_chat_doc {
  color: white;
  display: block;
  font-size: 52px;
  text-align: center;
}

.message[data-send-message-input] {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  background-color: white;
  border: 2px solid #eee;
}

.message[data-send-message-input]:focus {
  border-bottom: 2px solid #2196f3;
  color: #464646;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  background: white;
  -webkit-box-shadow: 0 0px 2px 0 rgba(0, 0, 0, 0), 0 0px 0px 0px rgba(0, 0, 0, 0), 0 1px 5px 0 rgba(0, 0, 0, 0.1);
          box-shadow: 0 0px 2px 0 rgba(0, 0, 0, 0), 0 0px 0px 0px rgba(0, 0, 0, 0), 0 1px 5px 0 rgba(0, 0, 0, 0.1);
}

.chat-footer form {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
          position: relative;
}

.chat-footer #pergunta_resposta {
    position: absolute;
    width: 100%;
    bottom: 0px;
    left: 0px;
    opacity: 0;
}


.chat-footer form i {
  border-radius: 50%;
  font-size: 20px;
  margin-right: 10px !important;
  min-width: 40px;
  line-height: 2;
  text-align: center;
}

.chat {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: .5rem 1rem;
  padding: 10px;
}

.avatar img {
  border-radius: 50%;
  width: 40px;
}

.chat-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 1rem 1rem;
}

.chat-text p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  max-width: 400px;
  padding: .5rem 1rem;
  border-radius: 5px;
  background-color: whitesmoke;
}

.chat-text:first-child:before {
  width: 0;
  height: 0;
  margin-top: 10px;
  content: '';
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-transform-origin: 12px 18px;
          transform-origin: 12px 18px;
  border: 7px solid transparent;
  border-bottom-color: whitesmoke;
  border-left-color: whitesmoke;
}

.chat-text:not(:first-child) {
  margin-left: 2rem;
}

.chat.chat-right {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.chat.chat-right .chat-avatar {
  -webkit-box-ordinal-group: 3;
  /* -webkit-order: 2; */
  -ms-flex-order: 2;
  order: 2;
}

.chat.chat-right .chat-body .chat-text {
  flex-direction: row-reverse;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
}

.chat.chat-right .chat-body .chat-text p {
  color: #fff;
  background-color: #2196f3;
}

.chat.chat-right .chat-body .chat-text:first-child:before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transform-origin: 3px -5px;
  transform-origin: 3px -5px;
  border-top-color: #2196f3 !important;
  border-right-color: #2196f3 !important;
  border-bottom-color: transparent;
  border-left-color: transparent;
  -webkit-box-shadow: 2px -2px 4px -3px rgba(0, 0, 0, 0.4);
          box-shadow: 2px -2px 4px -3px rgba(0, 0, 0, 0.4);
}

.chat.chat-right .chat-body .chat-text:not(:first-child) {
  margin-right: 2rem;
}

.chat.chat-right .chat-body {
  display: block;
}

.chat-footer form {
  color: #6b6f82;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
      justify-content: space-between;
}

.message {
  overflow: visible;
  line-height: 1.15;
  margin-bottom: 0 !important;
  width: 100%;
  margin: 0 0 8px;
  border: none;
  padding: 0 1.5rem;
  color: var(--text-color);
  border-radius: 5px;
  background-color: white;
  font-weight: 100;
  position: relative;
  font-weight: 300;
}

.message strong {
    font-weight: bold;
}

.send {
  line-height: 36px;
  background-color: #ff4081;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  vertical-align: middle;
  text-transform: capitalize;
  height: 42px;
  padding: .3rem 3rem .3rem 2.5rem;
  border-radius: .25rem;
}

.i_hide {
  display: none;
}

.row_attachment {
  max-height: 0;
  opacity: 0;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.i_view_panel {
  border: unset;
  -webkit-box-shadow: unset;
          box-shadow: unset;
  margin: unset;
  padding-top: 1px;
}

.i_view_panel_body {
  background-color: white;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  overflow-y: auto;
  padding-bottom: unset;
}

.i_grid_picture {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 50%;
  color: white;
  font-size: 22px;
  font-weight: bold;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 40px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 40px;
}


.chat-footer {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    gap: 5px;
    flex-direction: row;
    position: relative;
}

.chat-footer .btn-circle {
    width: 35px;
    height: 35px;
}

.chat-footer .chat-actions .fi{
    padding-bottom: 6px;
}

#panel_chat .message {
    padding: 10px;
    background: white;
    color: #666;
    width: fit-content;
    max-width: 70%;
    height: fit-content;
    margin: 10px auto 10px 10px;
    border-radius: var(--button-border-radius);
    transition: background .3s;
    border-top-left-radius: 0px;
    box-shadow: 2px 0.1875rem 0.5rem 0 rgba(34, 48, 62, 0.1);
}

#panel_chat .message.me {
    box-shadow: -3px 4px 9px 0 #22303e40;
}

#panel_chat .message.me a {
    transition: all .2s ease-in-out;
}
#panel_chat .message.me a:hover {
    color: white;
    transform: var(--transform);
}

#panel_chat .message.me {
    background: var(--accent-color);
    color: white;
    margin: 10px 10px 10px auto;
    border-top-right-radius: 0px;
    border-top-left-radius: var(--button-border-radius);
    transition: background .3s;
}

#panel_chat .goto-message .message {
    background: #daffb6;
    transition: background .3s;
}

.container-message .time {
    padding: 2px 10px;
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
}

.container-message.me {
    justify-content: flex-end;
    align-items: flex-end;
}
.container-message {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    color: #a7acb2;
    font-size: 13px;
}

.container-chat {
    height: calc( 100vh - 170px );
    background: #f7f8f8;
    margin: 0px;
}

.container-chat-disabled {
    background: #f7f8f8;
    border: 1px solid #f7f8f8;
    height: calc( 100vh - 100px );
    position: absolute;
    width: 100%;
}

.container-chat-disabled-whatsapp-cloud {
    background: #f7f8f8;
    border: 1px solid #f7f8f8;
    height: calc(100vh - 230px);
    position: absolute;
    width: 100%;
}

.container-chat-disabled-messenger {
    background: #f7f8f8;
    border: 1px solid #f7f8f8;
    height: calc( 100vh - 150px );
    position: absolute;
    width: 100%;
}

.chat-image {
    max-width: 200px;
    max-height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    margin-bottom: 5px;
}
.chat-image img {
    object-fit: contain;
    width: -moz-available;
    width: -webkit-fill-available;
    width: fill-available;
    height: -moz-available;
    height: -webkit-fill-available;
    height: fill-available;
    max-height: 200px;
}

.chat-sticker {
    width: 75px;
    height: 75px;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
}

.chat-video {
    width: 350px;
    display: block;
    margin-bottom: 5px;
}

.chat-location-name {
    color: #79c2fc;
    font-size: 15px;
    margin: 4px 0px;
}

.chat-location-url {
    font-size: 12px;
    color: #c7bdbd;
}

.chat-contact {
    font-size: 15px;
    text-align: center;
}

.chat-contact h6 {
    border-bottom: 1px solid whitesmoke;
    padding-bottom: 10px;
    padding-top: 10px;
    margin-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.chat-contact-info {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin: 10px 0px;
}

.chat-contact-info div {
    display: flex;
    flex-direction: column;
    background: #f6ffed;
    padding: 10px;
    border-radius: 5px;
    gap: 6px;
}

.me>.message-response {
    background: #fff;
}

.message-response.me {
    border-left: 5px solid var(--accent-color);
}
.message-response.me {
    background: #fff;
}

.resposta {
    position: absolute;
    width: 100%;
    top: -100%;
    left: 0px;
    display: none;
    background: #f7f8f8;
    height: 70px;
    padding-top: 5px;
    padding-left: 15px;
    padding-right: 15px;
    justify-content: center;
    flex-direction: column;
    box-shadow: 2px -5px 2px #0000000f;
    align-items: center;
    z-index: 999999999;
}

.message-response {
    border-left: 5px solid var(--accent-color);
    border-radius: 5px;
    padding-left: 5px;
    margin-bottom: 5px;
    zoom: 0.8;
    opacity: .8;
    background: #fff;
    padding: 6px;
    color: #333;
}

.container-message:hover .options {
    display: block;
}

.message.me .acoes-message {
    align-items: flex-end;
}
.message .acoes-message {
    display: none;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
    padding: 2px;
}

.message .options {
    display: none;
    position: absolute;
    top: 10px;
    cursor: pointer;
    z-index: 99999999;
}

.message .options i {
    padding: 4px 10px;
    color: #666;
}

.message:not(.me) .options {
    right: -35px;
    text-align: right;
}

.acoes-message {
    display: none;
}

.acoes-message a:hover {
    opacity: 0.75;
}

.acoes-message a {
    color: #333;
    width: 100%;
    padding: 8px 10px;
    text-align: center;
}
.message.message-response {
    display: flex;
    align-items: start;
    overflow: hidden;
}
.message.me .options i {
    padding: 4px 10px;
}
.message.me .options {
    left: -35px;
    text-align: left;
}

.message .options .acoes-message {
    background: color-mix(in srgb, var(--accent-color) 20%, white);
    border-radius: var(--border-radius);
    margin-left: 0px;
    margin-right: -125px;
    width: 125px;
}

.message.me .options .acoes-message {
    margin-left: -125px;
    margin-right: 0;
}

.cancelar_resposta {
    display: none;
    position: absolute;
    right: 7px;
    top: -100%;
    justify-content: center;
    width: 40px;
    height: 40px;
    align-items: center;
    font-size: 20px;
    z-index: 99999999999999;
}

.container-message.deleted div {
    color: grey !important;
    pointer-events: none;
}

#text-message {
    display: flex;
    gap: 5px;
    display: none;
    align-items: flex-end;
}

#voice-message {
    justify-content: space-between;
    width: 300px;
    display: flex;
    margin-left: auto;
    max-width: fit-content;
    align-items: center;
    gap: 5px;
}

.button-list>div:first-child {
    color: #03a9f4;
    width: 100%;
    justify-content: center;
    display: flex;
    gap: 5px;
    padding: 5px;
    cursor: pointer;
}

.button-list>div:last-child {
    position: absolute;
    left: 25%;
    top: 50%;
    width: 50%;
    background: white;
    color: #333;
    z-index: 99999999;
    display: none;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
}

.lista-opcoes {
    width: calc( 100% + 28px);
    padding: 10px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    color: #00483a;
    font-size: 14px;
    background: #ebedef;
    margin-top: -14px;
    margin-bottom: 10px;
    margin-left: -14px;
}

.button-list>div:last-child>div:last-child {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.button-list>div:last-child>div:last-child>div {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.buttons.all>div:last-child {
    flex-direction: row;
    text-align: center;
    justify-content: center;
}

.buttons.all>div:last-child div {
    width: 100%;
}

.button-quick-reply {
    background: color-mix(in srgb, var(--accent-color) 20%, white);
    color: var(--accent-color);
    border-radius: var(--border-radius);
    box-sizing: border-box;
    opacity: 1;
    outline: 0 solid transparent;
    padding: 8px 18px;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: fit-content;
    word-break: break-word;
}

.message-response.me .message {
    margin: 0 !important;
    border-radius: var(--border-radius) !important;
    max-width: 100% !important;
}

.buttons>div:last-child {
    border-top: 1px solid #f5f5f591;
    padding-top: 5px;
    margin-top: 5px;
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.chat-file-dragover {
    outline: 3px dashed;
    opacity: 0.4;
}

.icon-chat-file-dragover {
    top: 50%;
    left: calc(50% - 40px);
    z-index: 10;
    position: absolute;
}

.icon-chat-file-dragover span {
    zoom: 3;
    margin-bottom: 5px;
}

.icon-chat-file-dragover p {
    font-size: 16px;
}

#preview_image {
    position: absolute;
    display: none;
    width: 200px;
    height: 150px;
    gap: 5px;
    padding: 5px;
    background: white;
    z-index: 999;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: -150px;
    left: 44px;
    justify-content: center;
    align-items: center;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    flex-direction: column;
    box-shadow: 0 -2px 5px 1px rgba(34, 48, 62, 0.1);
}

#preview_image .confirm {
    color: white;
    background: var(--accent-color);
    padding: 2px;
    border-radius: var(--border-radius);
    width: 50%;
    text-align: center;
    font-size: 12px;
    cursor: pointer;
}

#document-preview > i {
    font-size: 45px;
}
#document-preview > span {
    width: 100%;
    padding: 10px;
    text-align: center;
}

#document-preview {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#preview_image .image {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
}

#preview_image .close {
    position: absolute;
    top: 3px;
    right: 8px;
    z-index: 1;
    cursor: pointer;
    display: flex
;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
    font-size: 16px;
    font-weight: 300;
    text-shadow: none;
    opacity: 0.3;
}

#preview_image .close > span {
    font-size: 12px;
}

#status-chat {
    justify-content: center;
    flex-direction: row;
    gap: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#status-chat .ball {
    width: 15px;
    height: 15px;
    border-radius: 50px;
    display: block;
    border: 1px solid lightgrey;
}

#status-chat small {
    display: none;
}

#status-chat.active .ball {
    background-color: #00ff0a;
}

#status-chat.inactive .ball {
    background-color: #ff1c0b;
}


.mais_atendimentos {
    cursor: pointer;
    text-align: center;
    text-decoration: underline;
    color: #00c0ef;
}

.i_view_panel .mais_atendimentos {
    cursor: pointer;
    text-align: center;
    width: fit-content;
    margin: 5px auto 0px;
    text-decoration: none;
    background: #c0ebff9e;
    padding: 2px 10px;
    border-radius: var(--button-border-radius);
    font-size: 75%;
    color: #03A9F4;
}

.badge-atendimento {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 70%
}

.badge-atendimento + .mais_atendimentos {
    display: none;
}


audio.chat-audio {
    min-width: 300px;
    display: block;
}

.emojionearea-picker.emojionearea-picker-position-top .emojionearea-wrapper::after {
    display: none;
}

.temp_doc {
    width: 200px;
    height: 100px;
    background: #b7b7b7;
    border-radius: 7px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    color: #025c4b;
}

.temp_audio {
    width: 320px;
    height: 50px;
    background: white;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    color: #025c4b;
}

.skeleton {
      animation: skeleton-loading .7s linear infinite alternate;
      width: 275px !important;
      height: 35px !important;
}

.skeleton.me {
    animation: skeleton-loading-me .7s linear infinite alternate;
}

@keyframes skeleton-loading-me {
  0% {
    background-color: #f6ffed;
    opacity: .7;
  }
  100% {
    background-color: #f6ffed;
    opacity: 1;
  }
}


@keyframes skeleton-loading {
  0% {
    background-color: #8d8d8d;
    opacity: .7;
  }
  100% {
    background-color: #9e9e9e;
    opacity: 1;
  }
}

.icons-interaction {
    height: 35px;
}

.drop-actions {
    border-radius: 15px;
    margin: 0px 3px;
    padding: 5px;
    zoom: 140%;
    vertical-align: -webkit-baseline-middle;
    transition: 0.5s;
    color: black;
}

.drop-actions.active {
    background: #e3e4e6;
    transform: rotate(45deg);
    transition: 0.2s;
}

.dropup-actions {
    top: -90%;    
    padding: 10px;
    z-index: 10000;
    background: #cccc;
    border-radius: 3px;
    position: absolute;
}

.dropup-action:hover {
    background: grey;
    
}

.right-panel > .container-part[page-name=ChatView] .card-body {
    padding-top: 0 !important;
}

.right-panel > .container-part[page-name=ChatView] .card-header {
    background-color: white !important;
}

.right-panel > .container-part[page-name=ChatView] .card-body .tab-content>.active {
    margin-top: -10px !important;
}

.right-panel > .container-part[page-name=ChatView] .card-body .container-chat {
    height: calc( 100vh - 237px );
}

.right-panel > .container-part[page-name=ChatView] .card.panel {
    padding: 0px;
}

.avatar-default {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    color: white;
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
    border-radius: 50%;
}

input[type="checkbox"].check-message {
    position: absolute;
    left: -22px;
    bottom: calc(50% - 12px);
    width: 25px;
    height: 25px;
    display: none;
}

input[type="checkbox"].check-message::before {
    display: none;
}
input[type="checkbox"].check-message:checked::before {
    display: block;
    background: transparent;
    width: 55%;
    height: 119%;
    border-right: 5px solid var(--button-text-color-hover);
    transform: rotate(50deg);
    border-bottom: 5px solid var(--button-text-color-hover);
    position: absolute;
    bottom: 4px;
    left: 11px;
}

.i_view_panel.encaminhando {
    padding-left: 25px;
}

.i_view_panel.encaminhando input[type="checkbox"].check-message {
    display: inline-flex;
}

.encaminhar_detalhe.show {
    display: flex;
}

.encaminhar_detalhe {
    display: none;
    padding: 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: white;
    height: 150px;
    z-index: 999999999;
    justify-content: space-between;
    align-items: center;
}

.encaminhar_detalhe i:hover {
    color: var(--button-text-color-hover);
}

.encaminhar_detalhe i {
    font-size: 25px;
    cursor: pointer;
}

div#resumo {
    font-size: 75%;
}

.container-message.active::before {
    background: color-mix(in srgb, var(--accent-color) 20%, white);
    content: ' ';
    width: calc( 100% + 50px);
    height: 100%;
    display: block;
    position: absolute;
    left: -50px;
}

.chat-footer .emojionearea .emojionearea-editor::before,
.chat-footer .emojionearea.has-placeholder {
    display: none;
}
.chat-footer .emojionearea-editor.has-placeholder {
    display: none;
}

.chat-footer .emojionearea.emojionearea-standalone {
    width: 35px;
    min-width: 35px;
    height: 35px;
    display: block;
    border: unset;
    background: transparent;
}
.chat-footer .emojionearea.emojionearea-standalone .emojionearea-editor {
    width: 35px;
    overflow: hidden;
    display: none;
}

.chat-footer .emojionearea .emojionearea-button {
    opacity: 1 !important;
}
.chat-footer .emojionearea.emojionearea-standalone .emojionearea-button div {
    background: unset !important;
    font-size: var(--font-size) !important;
    color: #212529;
    opacity: 1 !important;
    transform: rotate(0deg) !important;
    width: 20px;
}

.chat-footer .emojionearea.emojionearea-standalone .emojionearea-button div:first-child::after {
    font-family: "Font Awesome 5 Free";
    content: "\f118";
    font-weight: 100;
}

.chat-actions {
    display: flex;
    position: absolute;
    bottom: 5px;
    right: 0;
    z-index: 998;
}

#message-default {
    position: relative;
}

#message-default button ul li:hover {
    color: var(--accent-color) !important;
}

#text-message,
#voice-message {
    /* position: absolute;
    z-index: 99;
    bottom: 21px;
    right: 21px; */
}

#message {
    z-index: 99;
    line-height: 1.5;
    padding: 12px 4px 4px 5px;
    background-color: white;
    resize: none;
    box-shadow: var(--box-shadow);
    overflow-y:auto; 
    min-height:50px;
    height:50px;
    max-height:125px;
}

.chat-footer {
    background-color: #f7f8f8;
    padding: 0 16px 16px 16px;
}

.title-clickable:hover {
    opacity: .75;
}
.title-clickable {
    cursor: pointer;
    font-weight: 500;
    color: black;
}

[form="chat"] .header-actions i {
    margin-right: 0;
}

#form-transferir {
    margin: -20px;
}

#form-transferir .toggle-wrapper > div {
    width: 100%;
}

#form-transferir .toggle-wrapper > div > label:hover {
    opacity: .75;
}
#form-transferir .toggle-wrapper > div > label {
    width: 100%;
    justify-content: space-between;
    display: flex;
}

span.info-circle {
    width: 15px;
    height: 15px;
    display: inline-block;
    border-radius: 50%;
    margin-left: 10px;
    margin-bottom: -3px;
}

[form=form-transferir] + .modal-footer {
    display: none !important;
}

.date-separator {
    display: flex;
    margin: auto;
    width: fit-content;
    background: #c0ebff9e;
    padding: 2px 10px;
    border-radius: var(--button-border-radius);
    font-size: 75%;
    color: #03A9F4;
}

.chat_historico {
    display: flex;
    margin: 10px 0;
    font-size: 12px;
    color: #616776;
    position: relative;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.chat_historico .badge {
    font-weight: 100;
    font-size: 10px;
    padding: 6px;
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 50%;
    margin: 0px 2px -1px;
}

.chat_historico > span {
    color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color) 20%, white);
    z-index: 1;
    padding: 5px 15px;
    border-radius: var(--button-border-radius);
}

.chat_historico::before {
    content: ' ';
    display: block;
    width: 90%;
    background: #d5d7db42;
    height: 1px;
    position: absolute;
}

.container-chat.f25 #message,
.container-chat.f25 .date-separator,
.container-chat.f25 .container-message {
    font-size: 25px !important;
}
.container-chat.f24 #message,
.container-chat.f24 .date-separator,
.container-chat.f24 .container-message {
    font-size: 24px !important;
}
.container-chat.f23 #message,
.container-chat.f23 .date-separator,
.container-chat.f23 .container-message {
    font-size: 23px !important;
}
.container-chat.f22 #message,
.container-chat.f22 .date-separator,
.container-chat.f22 .container-message {
    font-size: 22px !important;
}
.container-chat.f21 #message,
.container-chat.f21 .date-separator,
.container-chat.f21 .container-message {
    font-size: 21px !important;
}
.container-chat.f20 #message,
.container-chat.f20 .date-separator,
.container-chat.f20 .container-message {
    font-size: 20px !important;
}
.container-chat.f19 #message,
.container-chat.f19 .date-separator,
.container-chat.f19 .container-message {
    font-size: 19px !important;
}
.container-chat.f18 #message,
.container-chat.f18 .date-separator,
.container-chat.f18 .container-message {
    font-size: 18px !important;
}
.container-chat.f17 #message,
.container-chat.f17 .date-separator,
.container-chat.f17 .container-message {
    font-size: 17px !important;
}
.container-chat.f17 #message,
.container-chat.f17 .date-separator,
.container-chat.f17 .container-message {
    font-size: 17px !important;
}
.container-chat.f16 #message,
.container-chat.f16 .date-separator,
.container-chat.f16 .container-message {
    font-size: 16px !important;
}
.container-chat.f15 #message,
.container-chat.f15 .date-separator,
.container-chat.f15 .container-message {
    font-size: 15px !important;
}

.container-chat.f14 #message,
.container-chat.f14 .date-separator,
.container-chat.f14 .container-message {
    font-size: 14px !important;
}

.container-chat.f13 #message,
.container-chat.f13 .date-separator,
.container-chat.f13 .container-message {
    font-size: 13px !important;
}

.container-chat.f12 #message,
.container-chat.f12 .date-separator,
.container-chat.f12 .container-message {
    font-size: 12px !important;
}

.container-chat.f11 #message,
.container-chat.f11 .date-separator,
.container-chat.f11 .container-message {
    font-size: 11px !important;
}

.container-chat.f10 #message,
.container-chat.f10 .date-separator,
.container-chat.f10 .container-message {
    font-size: 10px !important;
}


[form="chat"] .panel-heading {
    height: 104px;
    align-items: flex-start;
}
#chat .input-group label, #chat .input-group select {
    background: white;
    font-size: 11px;
    padding: 3px 6px;
    height: 23px;
}

#chat .input-group i {
    font-size: 11px;
}

.atendimento-props {
    display: flex;
    gap: 6px;
    height: 104px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.chat-title {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    position: relative;
}

.chat-title .avatar-default,
.chat-title  img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
}

.icon-canal.whatsapp {
    background: #4CAF50;
}

.icon-canal.facebook {
    color: white;
    background: #457ff5;
}

.icon-canal.instagram {
    background: #f07df0;
}

.icon-canal {
    position: absolute;
    bottom: 20px;
    left: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    width: 22px;
    height: 22px;
}

.form-group.tformrow.row.row_actions {
    position: absolute;
    top: 0;
    width: 100%;
    margin: 0 !important;
    left: 0;
    height: 104px;
    display: flex;
    align-items: flex-end !important;
    padding: 0 10px 0 0;
}

.form-group.tformrow.row.row_actions .fb-field-container  {
    position: unset;
}

.atendimento-detalhes {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    margin-right: 10px;
}

.atendimento-detalhes>.title-clickable {
    font-size: 16px;
    margin: 5px 0 10px 0;
}

.atendimento-campos {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    flex-direction: row;
}

.atendimento-campos > div {
    display: flex;
    justify-content: flex-start;
    flex: 1;
    gap: 6px;
}

[form="chat"] .header-actions>* {
    z-index: 1;
}

.snackbar-messenger {
    width: 100%;
    height: 40px;
    text-align: center;
    border-radius: 2px;
    padding: 5px;
    background: #feebc8;
    color: black;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 10%), 0 1px 2px 0 rgb(0 0 0 / 6%);
    position: relative;
}

.snackbar-messenger i{
    padding: 10px;
    color: #dd6b20;
}

.atendimento-campos > div.chat-rotulos::-webkit-scrollbar {
    width: 8px;
    height: 2px;
}

.atendimento-campos > div.chat-rotulos {
    font-size: 10px;
    gap: 4px !important;
    flex: unset !important;
    max-width: 30%;
    overflow: auto;
}

.chat_historico[va][vn][type=ALTERACAO_FILA] + [type=ALTERACAO_RESPONSAVEL][va]:not([vn]) {
    display: none;
}

.contact-header-chat{
    min-width: 250px;
    width: 100%;
    display: flex;
    gap: 20px;
}

.contact-header-name{
    display: flex;
    align-items: center;
}
i.add-plus {
    position: relative;
}

i.add-plus:after {
    content: "\f067";
    /* display: block; */
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    position: absolute;
    top: -7px;
    right: -7px;
    font-size: 70%;
}

.icon-wp-business-side{
    position: absolute;
    bottom: 20px;
    left: 50px;
    cursor: pointer;
    background-image: url('../../../../app/images/whatsapp-business.png');
    background-size: 100%;
    background-repeat: no-repeat;
    width: 21px;
    height: 21px;
}

.chat-document{
    display: block;
    margin-bottom: 5px;
}

#variaveis_disponiveis {
    width: 200px;
    padding: 10px;
    border: 2px solid var(--main-color);
    border-radius: 8px;
    background-color: #f0f8ff;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    overflow-y: visible;
    position: absolute;
    bottom: 15px;
    left: 190px;
    display: none;
}

#variaveis_disponiveis div {
    padding: 8px;
    margin: 5px 0;
    background-color: #ffffff;
    border: 1px solid var(--main-color);
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

#variaveis_disponiveis div:hover {
    background-color: var(--button-text-color-hover);
    color: white;
}

.quick-search-container {
    display: flex;
    gap: 10px;
}

  /* Oculta elementos em telas menores que 768px */
  @media screen and (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }
    .quick_search_fila_atendimento_id
    {
        display: none !important;
    }
  }

.snackbar-info button {
    font-size: 12px !important;
}
.snackbar-info {
    font-size: 12px;
    line-height: 1;
}

.snackbar-whats-cloud {
    width: 100%;
    height: 120px;
    text-align: center;
    border-radius: 2px;
    padding: 5px;
    background: #feebc8;
    color: black;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 10%), 0 1px 2px 0 rgb(0 0 0 / 6%);
    position: relative;
    z-index: 9999;
}

.snackbar-whats-cloud i{
    padding: 10px;
    color: #dd6b20;
}


.window-modelos-chatview{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

[data-sigla]:not([data-sigla=""]).avatar-default::before {
    content: attr(data-sigla);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: var(--font-size);
}
[data-sigla]:not([data-sigla=""]).avatar-default::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0.2;
    background-color: currentColor;
}
[data-sigla]:not([data-sigla=""]).avatar-default {
    border: none;
    position: relative;
}

[data-sigla]:not([data-sigla=""]).avatar-default i {
    display: none;
}

.options-chat {
    position: relative;
}

.options-chat:hover > ul {
    display: flex;
    z-index: 999999;
}

.options-chat > ul {
    display: none;
    flex-direction: column;
    position: absolute;
    bottom: 21px;
    left: 0;
    background: white;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0px 10px 15px;
}

.options-chat > ul li {
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.transcricao-title {
    font-size: 10px;
}
 
.custom-select {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 30px !important; 
}