.chat-bubble {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #1a202c;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 2000;
}
.chat-bubble:hover {
  transform: scale(1.1);
}
.chat-box {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 350px;
  height: 450px;
  background-color: rgba(26, 29, 44, 0.95); /* Changed to match site’s dark theme */
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1999;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}
.chat-box.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.chat-header {
  background-color: #1a202c;
  padding: 15px;
  display: flex;
  align-items: center;
}
.chat-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.message {
  margin-bottom: 15px;
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 15px;
  line-height: 1.4;
}
.user-message {
  background-color: #e2e8f0;
  color: #1a202c;
  align-self: flex-end;
  margin-left: auto;
}
.jett-message {
  background-color: #1a202c;
  color: white;
  align-self: flex-start;
}
.chat-input-container {
  padding: 15px;
  border-top: 1px solid rgba(58, 69, 99, 0.2); /* Matches site’s neutral-800 */
  display: flex;
  background-color: rgba(26, 29, 44, 0.95); /* Consistent with chat-box */
}
.chat-input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid rgba(58, 69, 99, 0.2); /* Matches neutral-800 */
  border-radius: 20px;
  outline: none;
  background-color: rgba(44, 49, 71, 0.5); /* Slightly lighter than chat-box */
  color: #F8F9FC; /* Matches site’s text color */
}
.chat-input:focus {
  border-color: #448EFF; /* Matches primary-500 */
  box-shadow: 0 0 0 2px rgba(68, 142, 255, 0.3); /* Matches focus ring */
}
.send-button {
  margin-left: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #1a202c;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.loading-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}
.cat-silhouette {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  background-color: black;
}
.dot {
  width: 8px;
  height: 8px;
  background-color: #1a202c;
  border-radius: 50%;
  margin: 0 3px;
  opacity: 0.6;
  animation: dot-flashing 1s infinite alternate;
}
.dot:nth-child(2) {
  animation-delay: 0.2s;
}
.dot:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes dot-flashing {
  0% {
      opacity: 0.2;
  }
  100% {
      opacity: 1;
  }
}