﻿/* =========================
   BOTÃO PRINCIPAL DO CHAT
   ========================= */
/* Estilo para o contêiner do botão */
#ProcessChat_Id {
    width: 470px;height: 60vh;position: fixed !important;bottom: 100px;right: 20px;z-index: 10000;
}

.nb-chat-header-title {
  font-family: 'Open Sans', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  color: #FFFFFF;
  white-space: nowrap;
  flex: none;
  order: 1;
  flex-grow: 0;
  margin-left: 20px;
}

.chatbot-icon {
  position: fixed;
  top: 100px;
  right: 0;
  height: 45px;

  /* Seus estilos de borda e cor */
  border-radius: 30px 0 0 30px;
  background-color: #58b4e0;
  color: #fff;
  border: none;
  display: flex !important;
  align-items: center;
  cursor: pointer;
  box-shadow: -2px 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 9999;

  /* Transição para o hover e animação de entrada */
  transition: all 0.3s ease;
  animation: deslizarDaDireita 1s ease-out;

  /* Ajuste para o texto não sumir: */
  padding: 8px 3px;
  overflow: visible;
}

.chatbot-icon img {
  height: 55px;
  /* Valor que você passou */
  width: auto;
  margin-right: 30px;
  /* Valor que você passou - Espaço gigante entre ícone e texto */
  background: #007bff;
  border-radius: 30px;
  flex-shrink: 0;
  /* Impede a imagem de esmagar */
}

.chatbot-icon span {
  white-space: nowrap;
  /* OBRIGATÓRIO para o texto não quebrar linha e sumir */
  font-weight: bold;
  margin-right: 30px;
}

/* Hover com seu valor */
.chatbot-icon:hover {
  transform: scale(1.1);
  padding-left: 3px !important;
  /* Valor que você passou */
}

/* Animação que você pediu (da direita para a esquerda) */
@keyframes deslizarDaDireita {
  0% {
    transform: translateX(100%);
    /* Começa totalmente fora da tela à direita */
  }

  100% {
    transform: translateX(0);
    /* Para no limite da borda (right: 0) */
  }
}

/* =========================
   CONTEÚDO DO CHATBOT
   ========================= */
.chatbot-content {  
  display: none;
}

.chatbot-content.visible {
  display: block !important;
}

/* Animação de fade-in */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}