.chat-display {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px 0;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  flex-grow: 1;
  overflow-y: auto;
  min-height: 0;
}
.chat-display::-webkit-scrollbar {
  width: 6px;
}
.chat-display::-webkit-scrollbar-track {
  background: transparent;
}
.chat-display::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
.chat-display > :first-child {
  margin-top: auto;
}

.message-container {
  display: flex;
  width: 100%;
  margin-bottom: 12px;
}
.message-container:last-child {
  margin-bottom: 0;
}
.message-container.left {
  justify-content: flex-start;
}
.message-container.left .chat-message {
  background-color: #1e1f20;
  color: #e3e3e3;
  border-radius: 18px;
  border-bottom-left-radius: 4px;
}
.message-container.right {
  justify-content: flex-end;
}
.message-container.right .chat-message {
  background-color: #004a77;
  color: #ffffff;
  border-radius: 18px;
  border-bottom-right-radius: 4px;
}

.chat-message {
  max-width: 80%;
  padding: 12px 18px;
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  word-wrap: break-word;
}
.chat-message p {
  margin-bottom: 0.5rem;
}
.chat-message p:last-child {
  margin-bottom: 0;
}
.chat-message pre {
  background: rgba(0, 0, 0, 0.3);
  padding: 10px;
  border-radius: 8px;
  overflow-x: auto;
  color: #ddd;
}
.chat-message code {
  font-family: monospace;
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 4px;
  border-radius: 4px;
}

/* Chat Start Text Styles */
.chat-start-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 0 12px;
  margin-top: 10vh;
}

.chat-start-text {
  font-size: 72px;
  font-weight: 600;
  line-height: 90px;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 24px;
  font-family: "Poppins", sans-serif;
}
.chat-start-text span {
  background: linear-gradient(315deg, #21bdb8 0%, #280684 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .chat-display {
    padding: 10px;
  }
  .chat-message {
    max-width: 85%;
  }
  .chat-start-text {
    font-size: 32px;
    line-height: 44px;
  }
}
.rotating-text-container {
  height: 60px;
  /* Fixed height to reserve space */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* Align into the space */
  width: 80%;
  max-width: 800px;
}

.rotating-text {
  font-size: 1.2rem;
  color: #888;
  text-align: center;
  margin: 0;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
  font-weight: 300;
}

.rotating-text.fade-out {
  opacity: 0;
}

.rotating-text.fade-in {
  opacity: 1;
}

/* Thinking Indicator Styles */
.thinking-container {
  padding: 1rem;
  margin-left: 1rem;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #6c757d;
  font-size: 0.9em;
}

.thinking-dots span {
  animation: thinking-dots 1.4s infinite both;
}

.thinking-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.thinking-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes thinking-dots {
  0% {
    opacity: 0.2;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}
/*# sourceMappingURL=maps/chat-display.css.map */
