.chat-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background: #0f0;
  color: #000;
  font-size: 28px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
  box-shadow: 0 0 12px #0f0;
}

.chat-panel {
  position: fixed;
  right: 20px;
  bottom: 90px;
  width: 320px;
  max-height: 75vh;
  background: #111;
  border: 2px solid #0f0;
  border-radius: 16px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
  box-shadow: 0 0 20px #0f0;
}

.chat-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: #000;
  color: #0f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.msg {
  padding: 10px;
  border-radius: 12px;
  max-width: 85%;
  white-space: pre-wrap;
}

.msg.user {
  align-self: flex-end;
  background: #0f0;
  color: #000;
  border-bottom-right-radius: 4px;
}

.msg.bot {
  align-self: flex-start;
  background: #222;
  border-bottom-left-radius: 4px;
}

.chat-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.chat-buttons button {
  background: transparent;
  border: 1px solid #0f0;
  color: #0f0;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  flex: 1 1 auto;
}

.chat-buttons button:hover {
  background: #0f0;
  color: #000;
}

.chat-input {
  display: flex;
  border-top: 1px solid #0f0;
  background: #111;
}

.chat-input input {
  flex: 1;
  padding: 12px;
  background: #000;
  border: none;
  color: #0f0;
}

.chat-input button {
  background: #0f0;
  border: none;
  color: #000;
  padding: 0 18px;
  font-weight: bold;
  cursor: pointer;
}

.chat-header {
  padding: 10px 14px;
  background: #111; /* fundo escuro */
  color: #e6e6e6;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #0f0; /* detalhe neon */
}

.chat-title {
  color: #00ff88;                 /* texto neon */
  font-weight: 700;
  letter-spacing: .2px;
  text-shadow:
    0 0 5px #00ff88,
    0 0 10px #00ff88,
    0 0 20px #00ff88,
    0 0 40px rgba(0,255,136,.65);
}

.chat-close {
  color: #e6e6e6;                 /* X em cor visível */
  cursor: pointer;
}

/* Responsivo */
@media (max-width: 500px) {
  .chat-panel {
    width: calc(100% - 24px);
    left: 12px;
    right: 12px;
    bottom: 100px;
  }
  
}
