.typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  background-color: #FAE920;
  border-radius: 10px;
  max-width: 50%;
  animation: fadeIn 0.2s ease-in;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background-color: #333;
  border-radius: 50%;
  display: inline-block;
  animation: bounce 1s infinite;
}

.typing-indicator span:nth-child(1) { animation-delay: 0s; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
