@keyframes blink {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.loading-dot {
  display: inline-block;
  margin-left: 5px;
  animation: blink 1.5s infinite;
}

.loading-message .chat-bubble {
  display: flex;
  justify-content: center;
}

.loading-dot:nth-child(1) {
  animation-delay: 0s;
}

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

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

body {
  font-family: "Poppins", sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.chat-container {
  width: 90%;
  max-width: 400px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  box-sizing: border-box;
}

.chat-bubble {
  display: inline-block;
  padding: 10px 20px;
  margin: 10px 0;
  border-radius: 20px;
}
.title {
  padding: 10px 20px;
  margin: 10px 0;
  border-radius: 20px;
  box-sizing: border-box;
  display: inline-block;
  background-color: #fafafb;
  text-align: left;
  order: 1;
  width: 100%;
}
.user-bubble {
  display: inline-block;
  background-color: #8522be;
  color: white;
  text-align: right;
  order: 2;
}

.bot-bubble {
  background-color: #fafafb;
  text-align: left;
  order: 1;
  justify-content: flex-start;
}

.chat-input {
  width: calc(100% - 20px);
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 20px;
  background-color: #f8f9fa;
}

.send-button {
  width: 100%;
  padding: 10px;
  background-color: #8522be;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.send-button:hover {
  background-color: #4f017c;
}
.user-message-container {
  text-align: right;
}
.message-container.user-container {
  display: flex;
  justify-content: flex-end;
}

.message-container.bot-container {
  display: flex;
  justify-content: flex-start;
}
.input-container {
  margin-top: 20px;
}

.intro-container {
  max-width: 600px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  gap: 20px;
}
.intro-container img {
  width: 50%;
  min-width: 300px;
}
.intro-container h1 {
  color: #5a5a5a;
  margin: 0 0 20px 0;
}

.intro-container label {
  font-weight: bold;
  margin-bottom: 5px;
}

.intro-container input[type="date"],
.intro-container select {
  max-width: 300px;
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

.intro-container button {
  cursor: pointer;
  background-color: #8522be;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.intro-container button:hover {
  background-color: #4f017c;
}
