@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  zoom: 1;
  font-family: "Roboto", sans-serif;
  height: 100%;
  /* Garante que o html e o body ocupem pelo menos a altura total da tela */

  min-height: 100vh;
  /* Garante que o mínimo seja a altura da viewport, útil para conteúdo menor que a tela */
}

body {
  font-family: "Roboto", sans-serif;
  padding: 10px;
  color: rgba(255, 255, 255, 0.605);
  overflow-x: hidden;
  /* Impede o overflow horizontal */

  /* background-color: #08090a; */

  background-color: #00050a;
  background-image: url("/images/texture.png");
}

.tira-esquerda {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 40px;
  /* Ajuste a largura conforme necessário */
  /* Cor cinza */
  z-index: 1000;
  /* Garante que as tiras fiquem acima de outros elementos */
  left: 0;

  background-image: radial-gradient(circle, #252525 1.2px, transparent 1px);
  background-size: 10px 10px;
}

.tira-direita {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 40px;
  /* Ajuste a largura conforme necessário */

  /* Cor cinza */
  z-index: 1000;
  /* Garante que as tiras fiquem acima de outros elementos */
  right: 0;

  background-image: radial-gradient(circle, #252525 1.2px, transparent 1px);
  background-size: 10px 10px;
}

.container {
  max-width: 1850px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

textarea {
  background-color: #13161a;
  font-size: xx-large;
  color: rgba(255, 255, 255, 0.605);
  width: 95%;
  padding: 10px;
  margin: 20px;
  border: 5px solid rgba(255, 255, 255, 0.605);
  border-radius: 10px;
  resize: none;
  height: 280px;
  margin-bottom: 15px;
}

/* Reduz um pouco a fonte do texto inserido no input principal do sistema */
#inputText {
  font-size: x-large;
}

.buttons-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  margin-bottom: 15px;
}

.btn-adicionar,
.btn-adicionar2,
.btn-copiar-mensagens-formatadas {
  padding: 10px;
  background-color: #13161a;
  color: #ffffff9a;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: "Roboto", sans-serif;
  border: 0px solid rgba(255, 255, 255, 0.605);
  font-weight: 500;
  /* Define a largura mínima para 50px */
}

.btn-adicionar:hover,
.btn-adicionar2:hover,
.btn-copiar-mensagens-formatadas:hover {
  background-color: #0e141f;
}

.btn-adicionar {
  min-width: 150px;
  margin-top: 0px;
}

.btn-adicionar2 {
  min-width: 180px;
  margin-top: 0px;
}

.button-content {
  display: flex;
  align-items: center;
}

.button-icon {
  width: 24px;
  height: 24px;
  margin-right: 15px; /* Aumenta o espaço entre o ícone e o texto */
}

.btn-copiar-mensagens-formatadas {
  min-width: 480px;
}

.info-container-triplo,
.info-container {
  display: flex;
  flex-direction: line;
  justify-content: space-around;
  gap: 20px;
  width: 80%;
  margin-top: 120px;
}

.pop-up {
  position: fixed;
  bottom: 10px;
  left: 5px;
  background-color: #2f2f37;
  color: #ffffff9a;
  padding: 5px 10px;
  border-radius: 2px;
  z-index: 1000;
  transition: opacity 0.5s ease-in-out;
  opacity: 0;
  pointer-events: none;
  max-width: 400px; /* Ajuste conforme necessário */
  width: auto;
  /* ... outras propriedades ... */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-size: 14px; /* Ajuste conforme necessário */
}

.pop-up.active {
  opacity: 1;
  pointer-events: auto;
}

button {
  background: #13161a;
  color: rgba(255, 255, 255, 0.605);
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: "Roboto", sans-serif;
  border: 0px solid #84b5ff;
  text-wrap: none;
  max-height: 50px;
}

button:hover {
  background: #121212;
}

#econodata {
  width: 100px;
  display: block;
  margin: 0 auto;
  /* Centraliza horizontalmente o ícone dentro do botão */
  transition: transform 0.5s;
  /* Mantém a transição suave */
}

/* Layout principal */
.exibir-textos-formatados {
  display: flex;
  justify-content: space-around;
  /* Espaçamento uniforme */
  width: 100%;
  padding: 0px 0;

  /* Padding superior e inferior */
}

.resultado,
.info-econodata,
.containerExibirTextosFormatados,
.mensagem-consultor {
  background-color: transparent;
  height: 250px;
  align-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.605);
  border-radius: 10px;
  /* Padding uniforme */
  text-align: center;
  /* Centraliza o texto horizontalmente */
  width: calc(100%);
  /* Largura total */
  align-items: first baseline;
}

/* Estilos para caixas de texto */
.info-div,
.info-div2 {
  color: rgba(255, 255, 255, 0.605);
  border-radius: 10px;
  padding: 10px;
  /* Padding uniforme */
  text-align: center;
  /* Centraliza o texto horizontalmente */
  width: calc(100%);
  /* Largura total */
  background: #13161a;
  border: 0px solid rgba(255, 255, 255, 0.605);
}

/* Ajuste para caixas de detalhes do lead, informações adicionais e exibir-textos-formatados */
.containerExibirTextosFormatados,
.info-econodata,
.mensagem-consultor {
  display: flex;
  text-align: center;
  justify-content: center;
  /* Centraliza o conteúdo horizontalmente */
  align-items: first baseline;
  /* Centraliza o conteúdo verticalmente */
  flex: 1;
  /* Distribuição igual do espaço */
  min-width: 500px;
  /* Largura mínima */
  max-width: 100%;
  /* Evita sobreposição */
  padding: 0px 0px;
  /* Ajuste para igualar o padding superior */
  border: 0px solid #02112e;
  border-radius: 0px;
  white-space: pre-wrap;
}

/* Media query para ajustes em telas menores */
@media (max-width: 768px) {
  .exibir-textos-formatados {
    flex-direction: column;
  }
}

.mensagem-consultor {
  padding-top: 0px;
  padding-left: 10.5%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.exibir-textos-formatados {
  padding-right: 10%;
}

.consultores {
  display: flex;
  max-width: 1900px;
  flex-direction: row;
  /* Corrigido de 'line' para 'row' */
  justify-content: space-around;
  gap: 0%;
  margin-top: 20px;
  align-items: baseline;
  /* Corrigido de 'first baseline' para 'baseline' */
  flex: 1;
  margin-left: auto;
  margin-right: auto;
  font-size: 30px;
}

.column {
  flex: 1;
  padding: 0px;
  margin: 0 0px 15px;
  background: transparent;
  color: rgba(255, 255, 255, 0.605);
  border: 0px solid rgba(255, 255, 255, 0.605);
  border-radius: 10px;
  text-align: center;
  height: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: pre-wrap;
}

.column:first-child {
  margin-left: 0;
}

.column:last-child {
  margin-right: 0;
}

.ChatGPT-btn {
  position: fixed;
  display: flex;
  right: 3%;
  top: 65%;
  width: auto;
  height: 67px;
  z-index: 1;
  transition: transform 0.3s ease;
  /* Adiciona uma transição suave */
}

.ChatGPT-btn:hover {
  transform: scale(1.1);
  /* Move o botão para cima ao passar o mouse */
}

.whatsapp-btn {
  position: fixed;
  display: flex;
  right: 3%;
  top: 77%;
  width: auto;
  height: 67px;
  z-index: 1;
  transition: transform 0.3s ease;
  /* Adiciona uma transição suave */
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  /* Move o botão para cima ao passar o mouse */
}

.question-btn {
  position: fixed;
  display: flex;
  right: 3%;
  top: 89%;
  width: auto;
  height: 67px;
  z-index: 1;
  transition: transform 0.3s ease;
  /* Adiciona uma transição suave */
}

.question-btn:hover {
  transform: scale(1.1);
  /* Aplica um efeito de zoom de 10% ao passar o mouse */
}

.copy-btn {
  position: fixed;
  display: flex;
  left: 3%;
  width: auto;
  height: 85px;
  z-index: 1;
  transition: transform 0.3s ease;
}

.copy-btn:hover {
  transform: scale(1.1);
}

/* Posicionamento específico para cada botão de cópia */
#copiarS2 .copy-btn {
  top: 79%; /* Ajuste este valor conforme necessário */
  height: 42px;
}

#copiarS4 .copy-btn {
  top: 65%; /* Ajuste este valor conforme necessário */
}


/* Novo botão para download de markdown */
.btn-download {
  position: fixed;
  top: 55%;
  right: 3%;
  transform: translateY(-50%);
  padding: 30px 10px;
  background: #13161a;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.btn-download:hover {
  background: #0e141f;
}
.btn-download svg {
  width: 50px;
  height: 50px;
  fill: rgba(255, 255, 255, 0.605);
}

/* Novo botão para o popup do editor, posicionado à esquerda */
.btn-editor {
  position: fixed;
  top: 92.5%;
  left: 3%;
  transform: translateY(-50%);
  padding: 30px 10px;
  background: #13161a;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.btn-editor:hover {
  background: #0e141f;
}
/* Ajustando o SVG do ícone */
.btn-editor svg {
  width: 50px;
  height: 50px;
  fill: rgba(255, 255, 255, 0.605);
}

.system-popup {
  display: none;
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Ajuste a opacidade do fundo aqui */
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.system-popup.active {
  display: flex;
}

.system-popup-content {
  background: rgba(19, 22, 26, 0.6); /* Ajuste a opacidade do conteúdo aqui */
  color: rgba(255, 255, 255, 0.605);
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 1000px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(5px); /* Adiciona um efeito de desfoque */
}

.system-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.system-textarea {
  width: 100%;
  min-height: 400px;
  padding: 12px;
  font-size: 16px;
  font-family: 'Arial', sans-serif; /* Família da fonte */
  border: 1px solid rgba(255,255,255,0.605);
  border-radius: 4px;
  resize: vertical;
  box-sizing: border-box;
  margin-bottom: 15px;
  background-color: rgba(19, 22, 26, 0.6); /* Ajuste a opacidade do textarea */
  color: rgba(255,255,255,0.605);
}

.system-button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background-color: rgba(1, 28, 63, 0.9); /* Ajuste a opacidade do botão */
  color: rgba(255,255,255,0.605);
  transition: background-color 0.3s;
}

.system-button:hover {
  background-color: rgba(8, 15, 24, 0.9);
}

h2 {
  text-align: center;
  width: 100%;
  margin-bottom: 15px;
}