/* Chatbot styling */

/* Typing indicator animation */
.typing-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #3B82F6;
  margin: 0 3px;
  opacity: 0.6;
  animation: typing 1.4s infinite both;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
}

/* Chat window styling */
#chatWindow {
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

#chatMessages {
  scroll-behavior: smooth;
}

/* Message bubbles */
#chatMessages .bg-blue-100 {
  border-radius: 18px 18px 18px 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

#chatMessages .bg-accent {
  border-radius: 18px 18px 5px 18px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
