@import url(__presets-app.css);

/* #################################### */
/* #################################### */
/* #################################### */
/*  GLOBAL  ######### */
/*  GLOBAL  ######### */
/* #################################### */
/* #################################### */
/* #################################### */

body {
  background-color: #fff;
  font-family: var(--font);
  overflow-x: hidden;
}
.container {
  width: 100%;
  min-height: 100%;
  margin: 0 auto;
}
.box-container {
  width: 100%;
  display: flex;
}

.opacity-0 {
  opacity: 0;
}
.opacity-5 {
  opacity: 0.5;
}
.opacity-1 {
  opacity: 1;
}

/* BOTÕES */
/* BOTÕES */
.btn-primary {
  background-color: var(--primary);
  height: 45px;
  color: var(--white);
  font-size: 1.3em;
  font-family: var(--font);
  border-radius: 8px;
  transition: 0.4s;
}
.btn-primary:hover {
  background-color: #31005f;
}

.btn-red {
  background-color: #ff2e2e;
  height: 45px;
  color: var(--white);
  font-size: 1.2em;
  font-family: var(--font);
  border-radius: 8px;
  transition: 0.4s;
}
.btn-red:hover {
  background-color: #dd1414;
}
.btn-gray {
  background-color: #ccc;
  height: 45px;
  color: var(--black);
  font-size: 1.2em;
  font-family: var(--font);
  border-radius: 8px;
  transition: 0.4s;
}
.btn-gray:hover {
  background-color: #aaaaaa;
}
.btn-white {
  background-color: transparent;
  border: 1px solid var(--white);

  padding: 10px 16px;
  color: var(--white);
  font-size: 1.1em;
  font-family: var(--font);
  border-radius: 8px;
  transition: 0.4s;
}
.btn-white:hover {
  background-color: var(--white);
  border: 1px solid transparent;
  color: var(--primary);
}
.cursor-pointer {
  cursor: pointer !important ;
}

.box-img-profile-user {
  width: 52px;
  height: 52px;
  background-color: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}
.box-img-profile-user img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* #################################### */
/*  CHAT APP  ######################### */
/*  CHAT APP  ######################### */
/*  CHAT APP  ######################### */
/* #################################### */

/* #################################### */
/*  MENU LATERAL  ######### */
/*  MENU LATERAL  ######### */
/* #################################### */
.menu-toggle-open {
  position: absolute;
  top: 28px;
  left: 28px;
  cursor: pointer;
  z-index: 999;
}
.menu-sidebar {
  user-select: none;
  width: 350px;
  background-color: var(--primary);
  box-shadow: 2px 0px 10px 1px #00000046;
  z-index: 1;
  transition: 0.4s;
  white-space: nowrap;
  /* overflow: hidden; */
  flex-shrink: 0;
  position: fixed;
  bottom: 0;
  top: 0;
  z-index: 999;
}

.menu-sidebar.hide {
  width: 0px;
}
.menu-sidebar.hide ~ .content-system {
  margin-left: 0px;
}
.menu-sidebar.hide ~ .content-system .header-title-chat-folder {
  margin-left: 64px;
}
.box-logo-toggle {
  height: 30px;
}

.box-menu-sidebar {
  padding: 24px;
  padding-right: 0;
  height: 100%;
}
.menu-toggle {
  cursor: pointer;
  width: 28px;
}
.btn-new-chat {
  font-size: 1.1em;
  color: var(--white);
}
.line-divider {
  opacity: 0.1;
  height: 2px;
  outline: none;
  background-color: var(--white);
  border: none;
}

.box-rodape-infos-menu {
  position: absolute;
  bottom: 64px;
}
/* NOVO CSS DO CHAT FOLDER  */
/* NOVO CSS DO CHAT FOLDER  */
/* NOVO CSS DO CHAT FOLDER  */

.chat-folder.hide {
  background-color: var(--white);
  padding-bottom: 0px !important;
  min-height: 90px;
  max-height: 600px;
  transition: max-height 0.3s ease;
}
.content-chat-folder {
  height: 100%;
  max-height: 500px;
  overflow-y: auto;
}
.header-chat-folder {
  height: 25px;
}
.chat-folder.hide .header-chat-folder {
  padding-bottom: 6px;
}

.chat-folder.hide .content-chat-folder::-webkit-scrollbar {
  width: 6px;
}

.chat-folder.hide .content-chat-folder::-webkit-scrollbar-track {
  background: var(--white);
  border: 3px solid var(--white);
  border-radius: 5px;
}

.chat-folder.hide .content-chat-folder::-webkit-scrollbar-thumb {
  background-color: #0e1597;
  border-radius: 10px;
  border-right: 2px white solid;
}

.chat-folder {
  background-color: #131a94;
  border-radius: 5px;
  cursor: pointer;
  min-height: 49px;
  max-height: 45px;
  transition: min-height 0.3s ease;
  overflow: hidden;
}
/* .chat-folder.hide {
  background-color: var(--white);
  padding-bottom: 24px;
} */
.chat-folder.hide.one-file {
  height: 60px;
}
.chat-folder.hide.two-file {
  height: 90px;
}
.chat-folder.hide.three-file {
  height: 125px;
}
.chat-folder.hide.four-file {
  height: 155px;
}
.chat-folder.hide.five-file {
  height: 185px;
}
.chat-folder.hide.multifiles {
  height: 185px;
  padding: 0;
  overflow-y: auto;
}

.chat-folder.hide.multifiles .content-chat-folder {
  padding: 0 16px;
}
.chat-folder.hide.multifiles .header-chat-folder {
  background-color: #ffffff;
  box-shadow: 0px 0px 5px #00000018;
  position: sticky;
  top: 0;
  padding: 12px;
  padding-top: 12px;
  padding-bottom: 6px;
}

.header-chat-folder {
  margin-bottom: 0;
  position: relative;
  top: 0;
}
.chat-folder.hide .title-chat-folder {
  color: #000;
  position: relative;
  width: 100%;
  white-space: nowrap; /* Impede que o texto quebre em várias linhas */
  overflow: hidden; /* Esconde o excesso de texto que não cabe no contêiner */
  text-overflow: ellipsis; /* Adiciona "..." no final do texto quando ele for muito longo */
}
.chat-folder.hide .more-option-folder {
  display: block;
  rotate: 90deg;
  padding: 5px;
  background-color: #cccccc73;
  border-radius: 50%;
}
.chat-folder.hide .add-option-popup {
  display: flex;
  justify-content: center;
}
.chat-folder.hide .icon-folder-close {
  display: none;
}
.chat-folder.hide .icon-folder-open {
  width: 20px !important;
  display: block !important;
}
.chat-folder.hide .content-chat-folder {
  display: flex !important;
}

.chat-folder.hide.multifiles::-webkit-scrollbar {
  width: 6px; /* Largura da barra de rolagem */
}

.chat-folder.hide.multifiles::-webkit-scrollbar-track {
  background: var(--white); /* Cor de fundo da track (trilho) */
  border: 3px solid var(--white); /* Espaçamento ao redor da thumb */
  border-radius: 5px; /* Bordas arredondadas */
}

.chat-folder.hide.multifiles::-webkit-scrollbar-thumb {
  background-color: var(--purple-light);
  border-radius: 10px; /* Bordas arredondadas */
  border-right: 2px white solid;
}

.box-chats-folders::-webkit-scrollbar {
  width: 5px; /* Largura da barra de rolagem */
}

.box-chats-folders::-webkit-scrollbar-track {
  background: var(--purple-light); /* Cor de fundo da track (trilho) */
  border: 3px solid var(--purple-light); /* Espaçamento ao redor da thumb */
}

.box-chats-folders::-webkit-scrollbar-thumb {
  background-color: var(--white); /* Cor da thumb (indicador de rolagem) */
  border-radius: 10px; /* Bordas arredondadas */
  border: 3px solid var(--white); /* Espaçamento ao redor da thumb */
}

.box-chats-folders::-webkit-scrollbar-thumb:hover {
  background: #555; /* Cor da thumb ao passar o mouse */
}
.font-system {
  font-family: var(--font-system);
}

.title-chats {
  font-size: 1em;
  color: var(--white);
  font-weight: 400;
}
.box-chats-folders {
  /* height: 650px;
  min-height: 100px;
  overflow-x: hidden;
  overflow-y: auto; */
  margin-right: 16px;
}
.title-chat-folder {
  font-size: 1.3em;
  line-height: 1.1em;
  font-weight: 400;
  color: var(--white);
  position: relative;
  top: 2px;
  width: 100%;
  max-width: 230px;
  white-space: nowrap; /* Impede que o texto quebre em várias linhas */
  overflow: hidden; /* Esconde o excesso de texto que não cabe no contêiner */
  text-overflow: ellipsis; /* Adiciona "..." no final do texto quando ele for muito longo */
}
.delete-file-chat-folder {
  display: none;
  position: relative;
  transition: 0.3s;
  right: 0px;
}
.files-chat-folder {
  height: 18px;
  padding-right: 6px;
}
.files-chat-folder:hover .delete-file-chat-folder {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--black);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1px;
}
.files-chat-folder p {
  font-size: 1.1em;
}
.position-relative {
  position: relative;
}
.toggle-password {
  position: absolute;
  top: 38px;
  right: 15px;
}
.toggle-password img {
  width: 28px;
  cursor: pointer;
}
.hide-password {
  position: relative;
  top: 3px;
}
.btn-link-primary {
  background-color: var(--primary);
  height: 45px;
  display: flex;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-size: 1.2em;
  transition: 0.4s;
}
.btn-link-primary:hover {
  background-color: #31005f;
}

.show-mobile {
  display: none;
}

.more-option-folder {
  width: 15px;
  height: 15px;
  display: none;
  justify-content: center;
}
.add-option-popup {
  width: 25px;
  height: 15px;
  display: none;
  justify-content: center;
}

.box-popup-more-options {
  background-color: var(--white);
  box-shadow: 0px 0px 5px #0000002d;
  border-radius: 10px;
  padding: 16px 12px;
  position: fixed;
  z-index: 999;
}
.box-popup-add-files-chat-folder {
  background-color: var(--white);
  box-shadow: 0px 0px 5px #0000002d;
  border-radius: 10px;
  padding: 16px 12px;
  position: fixed;
  z-index: 999;
}
.item-more-option {
  cursor: pointer;
}
.item-more-option img {
  width: 16px;
}
.icon-delete-size img {
  width: 12px;
  padding-left: 2px;
  margin-right: 2px;
}
.item-more-option:hover {
  color: var(--primary);
}
.item-toggle-section-upload {
  cursor: pointer;
  font-size: 1.3em;
  color: #7a7a7a;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
  padding-bottom: 3px;
}
.item-toggle-section-upload.active {
  border-bottom: 2px solid var(--primary);
  color: var(--primary);
}

.box-fixed-btns-modal {
  position: absolute;
  bottom: 0px;
  right: 0;
  display: flex;
  gap: 16px;
}
.close-popup-add-files {
  width: 120px;
  font-size: 1.1em;
  height: 35px;
}
.btn-submit-modal-files {
  width: 120px;
  font-size: 1.1em;
  height: 35px;
}
.content-item {
  height: 350px;
}

.link-underline-white {
  text-decoration: underline;
  color: var(--white);
}
/* ###################### */
/* ###################### */
/* ###################### */
/* ###################### */
/* CHAT */
/* CHAT */
/* CHAT */

.content-system {
  width: 100%;
  background-color: #ffffff;
  transition: 0.4s;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin-left: 350px;
}

.container-header {
  height: 80px;
  background-color: var(--white);
  box-shadow: 0px 0px 5px #0000003d;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 1;
}
.header {
  width: 100%;

  height: 70px;
  display: flex;
  align-items: center;
  padding: 8px 16px;
}

.search-bar {
  border: 1px solid transparent;
  transition: 0.1s;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  padding: 6px;
}

.search-bar input {
  width: 0px;
  transition: 0.3s;
}
.search-bar:focus-within {
  border-bottom: 1px solid var(--primary);
}
.search-bar:focus-within input {
  width: 300px;
}
.icon-search-bar {
  position: relative;
  top: 2px;
}
.search-bar:focus-within .icon-search-bar {
  display: none;
}
.search-bar:focus-within .btn-submit-search-bar {
  display: block;
  position: relative;
  top: 4px;
}
.btn-submit-search-bar {
  display: none;
}

.container-chat {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat {
  width: 100%;
  max-width: 700px;
  display: flex;
  padding: 8px 16px;
}
.fixed-container-chat {
  width: 100%;
  max-width: 700px;
}
.container-input-chat {
  width: 100%;
  position: fixed;
  bottom: 0px;
  width: inherit;
  max-width: inherit;
  background-color: var(--white);
  padding-bottom: 16px;
  padding-top: 16px;
  display: flex;
}
.input-chat {
  margin: 0;
  max-width: 700px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid var(--primary-light);
  border-radius: 10px;
  transition: 0.3s;
}
.input-chat-click {
  padding: 12px 16px;
  user-select: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.input-chat:hover {
  border: 2px solid var(--primary);
}
.input-chat:focus-within {
  border: 2px solid var(--primary);
}
.input-chat textarea {
  display: flex;
  align-items: center;
  height: 18px;
  font-family: var(--font);
  font-size: 1.2em;
  width: 90%;
  resize: none; /* Remove a capacidade de redimensionar manualmente */
}

.input-chat textarea::-webkit-scrollbar {
  width: 6px; /* Largura da barra de rolagem */
}

.input-chat textarea::-webkit-scrollbar-track {
  background: #ccc; /* Cor de fundo da track (trilho) */
  border-radius: 5px; /* Bordas arredondadas */
}

.input-chat textarea::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  border-radius: 10px; /* Bordas arredondadas */
}
#btn-submit {
  width: 24px;
  height: 24px;
  display: flex;
  background-color: var(--primary);
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.btn-disabled-input-chat {
  background-color: #585858 !important;
  opacity: 0.5;
  pointer-events: none;
}
.shake {
  -webkit-animation: shake-horizontal 0.8s
    cubic-bezier(0.455, 0.03, 0.515, 0.955) both;
  animation: shake-horizontal 0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955) both;
}

.btn-more-option {
  transition: 0.3s;
}

.select-assistant {
  position: relative;
  background-color: #e0e0e0;
  display: flex;
  justify-content: center;
  border-radius: 5px;
}
.select-assistant select {
  appearance: auto !important;
  font-size: 14px;
  padding-left: 6px;
  padding-right: 6px;
  font-family: var(--font-system);
}
.select-assistant option {
  font-size: 14px;
}
option.teste {
  font-size: 1px !important;
}

.arrow-select-assistant {
  position: absolute;
  right: 6px;
  top: 8px;
}

.box-popup-more-options-input {
  width: 100%;
  max-width: 350px;
  background-color: var(--white);
  box-shadow: 0px 0px 5px #0000002d;
  border-radius: 10px;
  padding: 24px 16px;
  position: absolute;
  z-index: 999;
  right: 60px;
  bottom: 90px;
}
.popup-assistant {
  width: 100%;
  max-width: 350px;
  background-color: var(--white);
  box-shadow: 0px 0px 5px #0000002d;
  border-radius: 10px;
  padding: 24px 16px;
  position: fixed;
  z-index: 999;
}
.dropdown-options-user {
  position: absolute;
  right: 0px;
  top: 0px;
}
.area-dropdown-options-header {
  position: absolute;
  background-color: var(--white);
  box-shadow: 0px 0px 5px #00000042;
  border-radius: 10px;
  padding: 16px 20px;
  right: 52px;
  top: 64px;
  display: none;
  width: 100px;
}
.list-dropdown-options-user {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.list-dropdown-options-user a {
  font-size: 1.3em;
}

.box-dropdown-options-user {
  width: 60px;
  padding: 12px;
  display: flex;
  justify-content: flex-end;
}
.box-dropdown-options-user:hover .area-dropdown-options-header {
  display: flex;
}
.box-dropdown-options-user:active .area-dropdown-options-header {
  display: flex;
}

.switch {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 18px;
  top: -2px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #d6d6d6;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  border-radius: 50%;
  left: 4px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(12px);
}

.slider:before {
  background-color: var(--white);
}
.header-title-chat-folder {
  transition: 0.3s;
}
.header-title-chat-folder.hide {
  margin-left: 64px;
}
.tooltip-consulta-off {
  display: none;
  position: absolute;
  background-color: var(--primary);
  border-radius: 5px;
  padding: 6px;
  color: var(--white);
  width: 100%;
  max-width: 180px;
}
.box-tooltip-consulta-off:hover .tooltip-consulta-off {
  display: block;
}

.box-indication-assistant-search-web {
  position: absolute;

  right: 0px;
  top: -22px;
}
.baloon-assistant,
.baloon-busca-web {
  background: #f2e2ff;
  user-select: none;
  padding: 8px 10px;
  padding-bottom: 8px;
  font-size: 14px;
  color: var(--black);
  border-radius: 5px;
  box-shadow: 0px 0px 5px #00000028;
}
.baloon-assistant {
  cursor: pointer !important;
}
.file-processing {
  border: 4px solid #f3f3f3; /* Cor de fundo do loader */
  border-top: 4px solid var(--primary); /* Cor da borda animada */
  border-radius: 50%;
  width: 14px;
  height: 14px;
  animation: spin 2s linear infinite;
}

.title-default {
  font-size: 3.5em;
}
/* CONVERSA CHAT */
/* CONVERSA CHAT */
/* CONVERSA CHAT */
.talk-chat {
  padding-top: 24px;
  padding-bottom: 200px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  font-family: var(--font-system);
  z-index: 0;
}

/* MESSAGE USER */
.message-user {
  border-radius: 15px 5px 15px 15px; /* Padrão para larguras menores */
}

/* Quando a largura do elemento é entre 100px e 300px */
.message-user {
  max-width: 300px; /* Definir um limite de largura */
  border-radius: 15px 5px 15px 15px;
}

/* Quando a largura do elemento é entre 300px e 500px */
@media (min-width: 301px) and (max-width: 500px) {
  .message-user {
    border-radius: 20px 5px 20px 20px;
  }
  .container-message-ai {
    border-radius: 20px 5px 20px 20px;
  }
}

/* Quando a largura do elemento é entre 500px e 700px */
@media (min-width: 501px) and (max-width: 700px) {
  .message-user {
    border-radius: 20px 5px 20px 20px;
  }
  .container-message-ai {
    border-radius: 20px 5px 20px 20px;
  }
}

.box-message-user {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}
.message-user {
  background-color: #eaf5ff;
  padding: 20px;
  max-width: 80% !important;
  text-align: left;
}
.message-user p {
  width: 100%;
}
.img-message-user {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
}
.img-message-user img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* MESSAGE IA */
.box-message-ai {
  display: flex;
  justify-content: flex-start;
  gap: 6px;
}
.container-message-ai {
  max-width: 300px;
  background-color: var(--white);
  border: 1px solid #caccf3;
  padding: 20px;
  border-radius: 5px 15px 15px 15px;
  max-width: 80% !important;
  text-align: left;
}
.img-message-ai {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  /* border-radius: 50%; */
}
.img-message-ai img {
  width: 100%;
  height: 100%;
  /* border-radius: 50%; */
}

.tooltip-copy {
  background-color: var(--primary);
  padding: 6px;
  color: var(--white);
  position: absolute;
  left: -24px;
  top: 28px;
  border-radius: 3px;
  z-index: 1;
}
.tooltip-copy::before {
  content: "";
  z-index: -1;
  width: 10px;
  position: absolute;
  left: 42%;
  rotate: 45deg;
  top: -3px;
  height: 10px;
  background-color: var(--primary);
}

.alert-processing-files {
  background-color: #00000091;
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(3px);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fade-in-popup 0.4s ease;
  z-index: 999;
}
.text-alert-file {
  color: var(--white);
  font-size: 1.5em;
  text-align: center;
}
.img-aviso {
  -webkit-animation: pulsate-fwd 0.8s ease-in-out infinite both;
  animation: pulsate-fwd 0.8s ease-in-out infinite both;
}
/* #################################### */
/* #################################### */
/* #################################### */
/* POPUP  ######### */
/* POPUP  ######### */
/* #################################### */
/* #################################### */
/* #################################### */
/* CONFIGURAÇÃO DEFAULT */
.container-popup {
  background-color: #00000091;
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(3px);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fade-in-popup 0.4s ease;
  z-index: 999;
}
@keyframes fade-in-popup {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.box-popup {
  width: 100%;
  margin: 0 16px;
  border-radius: 10px;
  max-width: 600px;
  background-color: #fff;
}
.popup {
  padding: 24px;
  position: relative;
}

/* PERSONALIZAÇÃO POPUP */
/* PERSONALIZAÇÃO POPUP */
/* PERSONALIZAÇÃO POPUP */
/* PERSONALIZAÇÃO POPUP */

.box-popup-delete-account {
  max-height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.popup-delete-account {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.close-button-popup {
  position: absolute;
  right: 24px;
  font-size: 1.5em;
  cursor: pointer;
  color: #ff2e2e;
  font-weight: 600;
}
.box-popup-add-files {
  max-width: 700px;
}
.input-upload-file {
  width: 1px;
  opacity: 0;
}
.input-add-file {
  font-size: 1.1em;
}
.input-add-link {
  width: calc(100% -20px);
  border: 1px solid #ccc;
  padding: 10px 6px;
  border-radius: 5px;
  transition: 0.3s;
}
.input-add-link:focus {
  border: 1px solid var(--primary);
}
.file-name {
  width: 100%;
  max-width: 250px;
  white-space: nowrap; /* Impede que o texto quebre em várias linhas */
  overflow: hidden; /* Esconde o excesso de texto que não cabe no contêiner */
  text-overflow: ellipsis; /* Adiciona "..." no final do texto quando ele for muito longo */
}
.file-name.links {
  width: 100%;
  max-width: 400px;
  white-space: nowrap; /* Impede que o texto quebre em várias linhas */
  overflow: hidden; /* Esconde o excesso de texto que não cabe no contêiner */
  text-overflow: ellipsis; /* Adiciona "..." no final do texto quando ele for muito longo */
}
.list-files-modal {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 110%;
  max-height: 200px;
  padding: 6px 16px;
  padding-left: 0;
  overflow-y: auto;
  overflow-x: hidden;
}
.list-files-modal::-webkit-scrollbar {
  width: 6px; /* Largura da barra de rolagem */
}

.list-files-modal::-webkit-scrollbar-track {
  background: #ccc; /* Cor de fundo da track (trilho) */
  border-radius: 5px; /* Bordas arredondadas */
}

.list-files-modal::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  border-radius: 10px; /* Bordas arredondadas */
}
.input-add-file-extra {
  position: sticky;
  background-color: #ccc;
  text-align: center;
  padding: 16px;
  margin-left: 0px;
  bottom: 0px;
  width: calc(100% - 32px);
  border-radius: 5px;
  transition: 0.3s;
}
.input-add-file-extra:hover {
  background-color: #afafaf;
}
.file-upload.loading .status-upload {
  border: 4px solid #f3f3f3; /* Cor de fundo do loader */
  border-top: 4px solid var(--primary); /* Cor da borda animada */
  border-radius: 50%;
  width: 18px;
  height: 18px;
  animation: spin 2s linear infinite;
}
.file-upload.loading .file-title {
  opacity: 0.5;
}
.file-upload.complete .status-upload {
  width: 26px;
  height: 26px;
  background-color: #4caf50; /* Cor verde para o círculo de sucesso */
  border-radius: 50%;
  position: relative;
}
.file-upload.complete .status-upload::before {
  content: "L";
  color: var(--white);
  position: absolute;
  top: 5px;
  left: 8px;
  /* border-left: 2px solid white;
  border-bottom: 2px solid white; */
  transform: scaleX(-1) rotate(-46deg);
}
.file-upload.complete .file-title {
  opacity: 1;
}

.delete-file-modal {
  width: 24px;
  height: 24px;
  background-color: var(--black);
  color: var(--white);
  font-size: 1em;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.box-popup-rename-chat-folder {
  max-height: 160px;
}
.box-popup-delete {
  max-height: 130px;
}
.popup-delete h2 {
  font-weight: 500;
}
/* TOAST CSS */
/* TOAST CSS */
/* TOAST CSS */
#toast-container {
  position: fixed;
  top: 20px;
  right: 0px;
  margin: 0 6px;
  z-index: 1000;
}

.toast {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  margin-top: 10px;
  border-radius: 5px;
  opacity: 0;
  transform: translateY(-12px);
  transition: transform 0.3s ease, opacity 0.3s ease;
  font-size: 1.1em;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Estilização específica para cada tipo de toast */
.toast.success {
  background-color: #4caf50;
  color: white;
}

.toast.error {
  background-color: #f44336;
  color: white;
}

.toast.alerta {
  background-color: #ff9800;
  color: white;
}

.text-error-ai {
  font-family: var(--font-system);
  font-weight: 500;
  color: #888888;
  font-size: 12px;
  line-height: 16px;
}

/* #################################### */
/* #################################### */
/* #################################### */
/* RESPONSIVE  ######### */
/* RESPONSIVE  ######### */
/* #################################### */
/* #################################### */
/* #################################### */

@media screen and (max-height: 715px) {
  .box-chats-folders {
    height: 70dvh;
  }
}

/* DESKTOP */
@media screen and (max-width: 1280px) {
}

/* DEKTOP SMALL */
@media screen and (max-width: 1024px) {
  .talk-chat {
    padding-top: 32px;
  }
  .show-mobile {
    display: block;
  }
  .btn-primary {
    font-size: 1.1em;
    font-weight: 500;
  }
  .w-100-mobile {
    width: 100%;
  }
  .show-desktop {
    display: none;
  }
  .flex-column-mobile {
    flex-direction: column;
  }
  .container-content-screens-forms {
    flex-direction: column;
    background-color: var(--primary);
  }
  .box-logo-didocs-forms,
  .box-didocs-forms {
    width: 100%;
  }
  .box-didocs-forms {
    align-items: start;
    padding-top: 64px;
    padding-bottom: 100px;
  }
  .box-logo-didocs-forms {
    margin-top: 64px;
  }
  .box-logo-didocs-forms img {
    width: 200px;
    position: relative;
    left: -0px;
  }
  .box-logo-didocs-forms .logo-branco {
    display: block !important;
  }
  .box-logo-didocs-forms .logo-preto {
    display: none;
  }
  .container-form {
    max-width: 100%;
    margin: 0 24px;
  }
  .box-form {
    padding: 32px 16px;
  }
  .box-form h2 {
    font-size: 1.5em;
  }

  .cadastro-aprovado h2 {
    color: var(--white);
    font-size: 1.5em;
  }
  .cadastro-aprovado img {
    width: 80px;
  }
  .container-settings-users h2 {
    font-size: 1.5em;
  }

  .delete-file-chat-folder {
    display: flex;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #000;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .content-system {
    margin-left: 0;
  }

  .container-input-chat {
    flex-direction: column;
    gap: 16px;
  }

  .menu-sidebar {
    width: 50%;
  }
  .header-title-chat-folder {
    margin-left: 64px;
  }

  .box-menu-sidebar {
    padding-left: 16px;
  }

  .box-planos {
    flex-direction: column;
    width: calc(100% - 48px);
    gap: 24px;
  }
  .card-plano {
    user-select: none;
    border-radius: 10px !important;
    border: 2px solid var(--primary);
  }

  .card-plano h3 {
    font-size: 1em;
  }

  .area-dropdown-options-header {
    top: 32px;
  }

  .btn-back-chat {
    padding-bottom: 12px;
  }
}
/* TABLET */
@media screen and (max-width: 768px) {
  .input-chat {
    width: calc(100% - 32px);
    margin: 0 16px !important;
  }
  .file-name.links {
    width: 100%;
    max-width: 300px !important;
  }
  .box-indication-assistant-search-web {
    right: 16px;
  }
  .header-title-chat-folder {
    margin-left: 50px;
  }
}
/* TABLET 2 */
@media screen and (max-width: 600px) {
  .title-default {
    font-size: 2em;
  }
  .btn-user-screen {
    background-color: var(--white);
    padding: 12px;
    border-radius: 5px;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 500;
    font-size: 1em;
    transition: 0.4s;
  }
  .btn-user-screen:hover {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
  }
  .btn-user-screen.active {
    background-color: var(--primary);
    padding: 12px;
    font-weight: 500;
    border-radius: 5px;
    color: var(--white);
    font-size: 1em;
  }
  .chat-folder.hide {
    background-color: var(--white);
    padding-bottom: 0px !important;
    min-height: 90px;
    max-height: 480x;
    transition: max-height 0.3s ease;
  }
  .content-chat-folder {
    height: 100%;
    max-height: 380px;
    overflow-y: auto;
  }
  .box-chats-folders {
    /* max-height: 250px;
    min-height: 100px;
    overflow: hidden;
    overflow-y: auto; */
    /* margin-right: 5px; */
  }
  .box-limits-assinatura {
    width: 100%;
  }
  .menu-sidebar {
    height: 100dvh;
  }
  .img-message-ai {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 50%;
  }
  .img-message-user {
    width: 24px;
    height: 24px;
    border-radius: 50%;
  }
  .container-message-ai {
    padding: 12px;
  }
  .message-user {
    padding: 16px;
  }
  .box-input-upload-popup {
    flex-direction: column;
  }

  .box-popup-add-files {
    max-height: 500px !important;
  }
  .box-popup-rename-chat-folder {
    max-height: 200px;
  }
  .box-popup-delete {
    max-height: 190px;
  }

  .search-bar:focus-within input {
    width: 200px;
  }
  .menu-sidebar {
    width: 80%;
  }
}
/* MOBILE */
@media screen and (max-width: 495px) {
  .menu-toggle {
    width: 20px;
  }
  .menu-toggle-open {
    position: absolute;
    top: 30px;
    left: 16px;
    cursor: pointer;
  }
  .menu-toggle-open img {
    width: 24px;
  }

  .container-input-chat {
    padding-bottom: 24px;
  }

  .input-add-file {
    font-size: 1em;
  }
  .popup-add-files {
    padding: 24px 16px !important;
  }
  .popup-add-files h2 {
    font-size: 1.2em;
  }
  .header-title-chat-folder {
    margin-left: 32px;
  }
  .box-img-profile-user {
    width: 32px;
    height: 32px;
  }

  .box-popup-more-options-input {
    max-width: 300px;
    bottom: 85px;
    right: 32px;
  }
  .popup-assistant {
    max-width: 300px;
    bottom: 85px;
    right: 32px;
  }
  .box-popup-more-options-input p {
    font-size: 14px;
  }
  .popup-assistant p {
    font-size: 14px;
  }
  .arrow-select-assistant {
    top: 6px;
  }
  .box-indication-assistant-search-web {
    font-size: 12px;
    top: -18px;
    right: 16px;
  }
  .search-bar:focus-within input {
    width: 180px;
  }
  .search-bar:focus-within input {
    font-size: 14px;
  }
  .box-dropdown-options-user {
    width: 30px;
    padding-right: 0;
  }
  .area-dropdown-options-header {
    right: 36px;
  }
  .titlechat-folder-mobile {
    font-size: 14px;
  }
  .item-toggle-section-upload {
    font-size: 1.1em;
  }
  .text-error-ai {
    padding: 0 16px;
    font-family: var(--font-system) !important;
  }
  .list-files-modal {
    max-height: 180px;
  }
  .file-name.links {
    width: 100%;
    max-width: 180px !important;
  }

  .menu-sidebar.hide ~ .content-system .header-title-chat-folder {
    margin-left: 36px;
  }
}

/* MOBILE 2 */
@media screen and (max-width: 430px) {
  .file-name {
    max-width: 120px !important;
  }
  .file-name.links {
    width: 100%;
    max-width: 150px !important;
  }
  .files-chat-folder p {
    width: 100%;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
/* MOBILE 3 */
@media screen and (max-width: 375px) {
  .btn-user-screen {
    background-color: var(--white);
    padding: 12px 6px;
    border-radius: 5px;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 500;
    font-size: 1em;
    transition: 0.4s;
  }
  .btn-user-screen:hover {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
  }
  .btn-user-screen.active {
    background-color: var(--primary);
    padding: 12px 6px;
    font-weight: 500;
    border-radius: 5px;
    color: var(--white);
    font-size: 1em;
  }
  .box-popup-add-files {
    max-height: 485px !important;
  }

  .box-popup-more-options-input {
    max-width: 250px;
    bottom: 64px;
    right: 16px;
  }
  .box-popup-more-options-input p {
    font-size: 14px;
  }
  .popup-assistant {
    max-width: 250px;
    bottom: 64px;
    right: 16px;
  }
  .popup-assistant p {
    font-size: 14px;
  }
  .arrow-select-assistant {
    top: 12px;
  }
  .search-bar:focus-within input {
    width: 150px;
  }
  .titlechat-folder-mobile {
    font-size: 14px;
  }
  .files-chat-folder p {
    width: 100%;
    max-width: 135px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .file-name.links {
    width: 100%;
    max-width: 120px !important;
  }
  .text-footer-menu-lateral {
    font-size: 14px;
  }
  .text-footer-menu-lateral a {
    font-size: 14px;
  }
}

/* ANIMAÇÕES */
/* ANIMAÇÕES */
/* ANIMAÇÕES */
/* ANIMAÇÕES */
/* ANIMAÇÕES */

@-webkit-keyframes shake-horizontal {
  0%,
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70% {
    -webkit-transform: translateX(-10px);
    transform: translateX(-10px);
  }
  20%,
  40%,
  60% {
    -webkit-transform: translateX(10px);
    transform: translateX(10px);
  }
  80% {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }
  90% {
    -webkit-transform: translateX(-8px);
    transform: translateX(-8px);
  }
}
@keyframes shake-horizontal {
  0%,
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70% {
    -webkit-transform: translateX(-10px);
    transform: translateX(-10px);
  }
  20%,
  40%,
  60% {
    -webkit-transform: translateX(10px);
    transform: translateX(10px);
  }
  80% {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }
  90% {
    -webkit-transform: translateX(-8px);
    transform: translateX(-8px);
  }
}

@-webkit-keyframes pulsate-fwd {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@keyframes pulsate-fwd {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

/* PROGRESS STYLE BAR */
.progress-0 {
  width: 0%;
}
.progress-1 {
  width: 1%;
}

.progress-2 {
  width: 2%;
}

.progress-3 {
  width: 3%;
}

.progress-4 {
  width: 4%;
}

.progress-5 {
  width: 5%;
}

.progress-6 {
  width: 6%;
}

.progress-7 {
  width: 7%;
}

.progress-8 {
  width: 8%;
}

.progress-9 {
  width: 9%;
}

.progress-10 {
  width: 10%;
}

.progress-11 {
  width: 11%;
}

.progress-12 {
  width: 12%;
}

.progress-13 {
  width: 13%;
}

.progress-14 {
  width: 14%;
}

.progress-15 {
  width: 15%;
}

.progress-16 {
  width: 16%;
}

.progress-17 {
  width: 17%;
}

.progress-18 {
  width: 18%;
}

.progress-19 {
  width: 19%;
}

.progress-20 {
  width: 20%;
}

.progress-21 {
  width: 21%;
}

.progress-22 {
  width: 22%;
}

.progress-23 {
  width: 23%;
}

.progress-24 {
  width: 24%;
}

.progress-25 {
  width: 25%;
}

.progress-26 {
  width: 26%;
}

.progress-27 {
  width: 27%;
}

.progress-28 {
  width: 28%;
}

.progress-29 {
  width: 29%;
}

.progress-30 {
  width: 30%;
}

.progress-31 {
  width: 31%;
}

.progress-32 {
  width: 32%;
}

.progress-33 {
  width: 33%;
}

.progress-34 {
  width: 34%;
}

.progress-35 {
  width: 35%;
}

.progress-36 {
  width: 36%;
}

.progress-37 {
  width: 37%;
}

.progress-38 {
  width: 38%;
}

.progress-39 {
  width: 39%;
}

.progress-40 {
  width: 40%;
}

.progress-41 {
  width: 41%;
}

.progress-42 {
  width: 42%;
}

.progress-43 {
  width: 43%;
}

.progress-44 {
  width: 44%;
}

.progress-45 {
  width: 45%;
}

.progress-46 {
  width: 46%;
}

.progress-47 {
  width: 47%;
}

.progress-48 {
  width: 48%;
}

.progress-49 {
  width: 49%;
}

.progress-50 {
  width: 50%;
}

.progress-51 {
  width: 51%;
}

.progress-52 {
  width: 52%;
}

.progress-53 {
  width: 53%;
}

.progress-54 {
  width: 54%;
}

.progress-55 {
  width: 55%;
}

.progress-56 {
  width: 56%;
}

.progress-57 {
  width: 57%;
}

.progress-58 {
  width: 58%;
}

.progress-59 {
  width: 59%;
}

.progress-60 {
  width: 60%;
}

.progress-61 {
  width: 61%;
}

.progress-62 {
  width: 62%;
}

.progress-63 {
  width: 63%;
}

.progress-64 {
  width: 64%;
}

.progress-65 {
  width: 65%;
}

.progress-66 {
  width: 66%;
}

.progress-67 {
  width: 67%;
}

.progress-68 {
  width: 68%;
}

.progress-69 {
  width: 69%;
}

.progress-70 {
  width: 70%;
}

.progress-71 {
  width: 71%;
}

.progress-72 {
  width: 72%;
}

.progress-73 {
  width: 73%;
}

.progress-74 {
  width: 74%;
}

.progress-75 {
  width: 75%;
}

.progress-76 {
  width: 76%;
}

.progress-77 {
  width: 77%;
}

.progress-78 {
  width: 78%;
}

.progress-79 {
  width: 79%;
}

.progress-80 {
  width: 80%;
}

.progress-81 {
  width: 81%;
}

.progress-82 {
  width: 82%;
}

.progress-83 {
  width: 83%;
}

.progress-84 {
  width: 84%;
}

.progress-85 {
  width: 85%;
}

.progress-86 {
  width: 86%;
}

.progress-87 {
  width: 87%;
}

.progress-88 {
  width: 88%;
}

.progress-89 {
  width: 89%;
}

.progress-90 {
  width: 90%;
}

.progress-91 {
  width: 91%;
}

.progress-92 {
  width: 92%;
}

.progress-93 {
  width: 93%;
}

.progress-94 {
  width: 94%;
}

.progress-95 {
  width: 95%;
}

.progress-96 {
  width: 96%;
}

.progress-97 {
  width: 97%;
}

.progress-98 {
  width: 98%;
}

.progress-99 {
  width: 99%;
}

.progress-100 {
  width: 100%;
}

.talk-chat-tutorial {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  font-family: var(--font-system);
  z-index: 0;
}

.loader {
  width: 30px;
  aspect-ratio: 2;
  --_g: no-repeat radial-gradient(circle closest-side, #010551 90%, #0000);
  background: var(--_g) 0% 50%, var(--_g) 50% 50%, var(--_g) 100% 50%;
  background-size: calc(100% / 3) 50%;
  animation: l3 1s infinite linear;
}
@keyframes l3 {
  20% {
    background-position: 0% 0%, 50% 50%, 100% 50%;
  }
  40% {
    background-position: 0% 100%, 50% 0%, 100% 50%;
  }
  60% {
    background-position: 0% 50%, 50% 100%, 100% 0%;
  }
  80% {
    background-position: 0% 50%, 50% 50%, 100% 100%;
  }
}
.tooltip-reference {
  position: relative;
  cursor: pointer;
  color: #0009b6;
  text-decoration: underline;
  user-select: none;
}
.box-tooltip-reference{
  width: 50%;
  flex-wrap: wrap;
}
.tooltip-reference::after {
  content: attr(data-tooltip);
  position: absolute;
  background-color: #333;
  text-align: center;
  color: #fff;
  padding: 12px 10px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  bottom: 100%;
  transform: translateX(-30%);
  z-index: 1;
  min-width: 200px !important;
  width: 100%;
}

/* Exibe o tooltip ao passar o mouse */
.tooltip-reference:hover::after {
  opacity: 1;
  visibility: visible;
}


.message-ai ol {
  margin: 16px;
}
.message-ai ol li {
  margin: 6px 0;
}
.message-ai p,
.message-ai h3 {
  margin: 12px 0;
}
