.message-wrapper {
  position: relative;
  display: inline-block;
  width: fit-content;
  height: fit-content;
  font-family: 'Gotham Thin';
  text-spacing: 3px;
}

.message-typing-indicator {
  display: inline-block;
  max-width: 70%;
  margin-bottom: 8px;
  clear: both; /* Add this line */
  float: left;
}


.typing {
  display: inline-block;
  margin-left: 5px;
  height: 1em;
  vertical-align: middle;
}

.typing-indicator-container {
  display: inline-block;
  margin-left: 5px;
  height: 1em;
  vertical-align: middle;
}


.typing .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background-color: currentColor;
  border-radius: 50%;
  animation: blink 1.4s infinite;
}

.typing.gpt .dot {
  animation-delay: 0.2s;
}

.typing.dalle .dot {
  animation-delay: 0.4s;
}

.typing .dot:nth-child(2) {
  margin-left: 3px;
  animation-delay: 0.2s;
}

.typing .dot:nth-child(3) {
  margin-left: 3px;
  animation-delay: 0.4s;
}

@keyframes blink {
  0% {
    opacity: 0.2;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}

.typing-indicator {
  background-color: #f1f1f1;
  color: #333;
  float: left;
}

.typing-message {
  background-color: #f1f1f1;
  color: #333;
  float: left;
  max-width: 70%;
  margin-bottom: 8px;
  clear: both;
  border-radius: 18px;
  padding: 12px 16px;
}

.message-inner-wrapper {
  position: relative;
  display: inline-block;
  text-spacing: 3px;
}

body *:not(input):not(textarea) {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

@keyframes glowingBorder {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}