
/* body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 20px;
} */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-container {
  max-width: 700px;
  height: 300px;
  overflow-y: auto;
  margin: auto;
  background: white;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.chat-row {
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeInUp 0.5s cubic-bezier(0.4,0,0.2,1) forwards;
}

.chat-bubble {
  padding: 10px 15px;
  border-radius: 20px;
  max-width: 70%;
  animation: fadeIn 0.5s ease-in-out;
}

.user .chat-bubble {
  background-color: #163A76;
  margin-left: auto;
  text-align: right;
}

.ai .chat-bubble {
  background-color: #F46D24;
  margin-right: auto;
  text-align: left;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 10px;
  flex-shrink: 0;
  object-fit: cover;
}

.user {
  flex-direction: row-reverse;
  justify-content: flex-end;
}
