/* --- AI button --- */
#chat-toggle-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  width: 68px;
  position: fixed;
  bottom: 125px;
  right: 30px;
  /*padding: 2px 2px;*/
  border-radius: 50%;
  /* Ensure it's on top of other elements */
  z-index: 1000;
  cursor: pointer;
}
.tooltip {
  position: relative;
  display: inline-block;
  right: 205%;
  top: 30%;
}

.tooltip #tooltip-text {
  width: 200px;
  visibility: visible;
  background-color: white;
  color: black;
  text-align: center;
  padding: 10px;
  border-radius: 50px;
  line-height: 1.2;
  font-size: 14px;
  font-family: Montserrat, sans-serif;
  /* Position the tooltip */
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  white-space: normal;
  /* Fade in animation */
  opacity: 1;
  transition: opacity 0.3s, visibility 0.3s;
  /* Ensure it appears above other elements */
  z-index: 1;
}

/* Create a tooltip small arrow pointing down */
.tooltip #tooltip-text::after {
  content: "";
  position: absolute;
  left: 102%;
  top: 35%;
  transform: rotate(-90deg);
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: white transparent transparent transparent;
}
/* Show the tooltip when hovering over the container */
.tooltip #tooltip-text.tooltip-visible {
  visibility: visible;
  opacity: 1;
}
#chat-toggle-button.chat-button-start {
  background-color: #01AFAB;
}
#chat-toggle-button.chat-button-stop {
  background-color: #00e600;
}
#chat-toggle-button.chat-button-start:not(.no-hover):hover {
  background-color: #01e4e1;
}
#chat-toggle-button.chat-button-stop:not(.no-hover):hover {
  background-color: #ff3300;
}