.typing-indicator {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 0.875rem;
  color: #6c757d;
  font-style: italic;
  gap: 6px;
}

.typing-text {
  margin-right: 2px;
}

.typing-dots {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
}

.typing-dots .dot {
  width: 6px;
  height: 6px;
  background-color: #6c757d;
  border-radius: 50%;
  animation: typing-bounce 1.4s infinite ease-in-out;
  animation-fill-mode: both;
}

.typing-dots .dot:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-dots .dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typing-bounce {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  40% {
    transform: translateY(-6px);
    opacity: 1;
  }
}
