.open-popup-btn-container {
  position: fixed;
  bottom: 10px;
  right: 10px;
}



.image-button:hover {
  opacity: 1.0;
}

.chat-container {
  position: fixed;
  padding: 10px;
  width: 800px;
  bottom: 40px;

  height: auto;

  left: 50%; /* Position the container 50% from the left of the viewport */
  transform: translateX(-50%);


  color: #333333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-family: "MontserratRegular", sans-serif;
  font-size: 15px;
  display: block;
  border-width: 0;
}

@media screen and (max-width: 800px) {
  .chat-container {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .chat-container {
    bottom: 20px;
    right: 20px;

  }
}

@media screen and (max-width: 650px) {
  .chat-container {
    bottom: 10px;
    right: 10px;

  }
}

@media screen and (max-width: 480px) {
  .chat-container {
    bottom: 0;
    right: 0;

  }
}

.popup-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}





.popup-content {
  padding: 30px 0 10px 0;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: opacity 200ms ease-in-out 0s;
  opacity: 1;
  line-height: 1.5;
}

.popup-content a {
  color: #12d5c4;
}

.conversation {
  overflow: auto;
}

.input-text {
  display: flex;
  margin: 15px;
}

.input-text textarea {
  flex: auto;
  border-radius: 10px;
  border-width: 1px;
  border-color: #cccccc;

  outline: none;
  color: #000;
  padding: 20px;
  overflow: hidden;
  resize: none;
  height: auto;
}

.input-text button {
  margin-left: 15px;
  background-color: #343541;
  border: 1px solid #454654;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  font-size: 100%;
  width: 90px;
}

.reply {
  padding: 15px;
  display: flex;
}

 /*
.reply.ai {
 background-color: #aaaaaa;
}

.reply.user {
  background-color: #343541;
}

  */



span.name {
  margin-right: 10px;
  opacity: 0.50;
}

/*pre {
  font-family: system-ui;
  background: #343541;
  line-height: 1.42857143;
  border-radius: 10px;
  padding: 0 20px 20px 20px;
  color: #ffffff;
}*/

pre {
    padding: 10px 0;
}

code {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    color: #000;
}

pre code {
  font-family: system-ui;
  background-color: #222;
  color: #DDD;
  border-radius: 8px;
  padding: 10px;
  display: block;
  overflow-x: auto;
}

#loadingOverlay {
  display: none;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.spinner {
  position: absolute;
  top: 14px;
  left: 27px;
  transform: translate(-50%, -50%);
  border: 2px solid #f3f3f3;
  border-top: 2px solid #007bff; /* Adjusted for missing SASS variable */
  border-radius: 50%;
  width: 27px;
  height: 27px;
  animation: spin 1s linear infinite;
  opacity: 0.5;
}

.loadingTimeWrapper {
  position: absolute;
  top: 28px;
  left: 40px;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  margin-top: 0;
  margin-left: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.beta-text {
  padding-left: 10px;
}
