.chatbot-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  padding: 16px;
  border-radius: 16px;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
}

.chatbot-panel textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 8px;
  font-size: 0.95rem;
}

#responseTextarea { height: 480px; resize: none; }
#mytextInput      { height: 70px;  resize: none; }

.chatbot-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Bouton (navbar + panneau) : fond transparent, juste l’icône */
.chatbot-toggle {
  background: transparent;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.chatbot-toggle svg {
  width: 36px;
  height: 36px;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25)); /* optionnel mais aide à la lisibilité */
}

/* Spinner */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-top-color: #0d1b2a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}