/* ====== CHAT GLOBAL TOASTS ====== */

#chat-notifications-container {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none; /* só o conteúdo do toast recebe clique */
}

.chat-toast {
  min-width: 260px;
  max-width: 360px;
  background: #0f172a;
  color: #f9fafb;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
  padding: 10px 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
  pointer-events: auto;
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 13px;
}

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

.chat-toast-content {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.chat-toast-message {
  flex: 1;
}

.chat-toast-title {
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 13px;
}

.chat-toast-close {
  background: transparent;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0 2px;
  transition: color 0.15s ease;
}

.chat-toast-close:hover {
  color: #e5e7eb;
}

/* Variações por tipo */
.chat-toast-info {
  border-left: 3px solid #3b82f6;
}

.chat-toast-success {
  border-left: 3px solid #22c55e;
}

.chat-toast-warning {
  border-left: 3px solid #eab308;
}

.chat-toast-error {
  border-left: 3px solid #ef4444;
}

/* Dark/light se quiser adaptar no futuro
body.dark #chat-notifications-container .chat-toast {
  background: #020617;
}
*/
