.chatbot-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 350px;
  max-width: 90vw;
  height: 450px;
  max-height: 70vh;
  background-color: rgba(20, 20, 30, 0.95);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-container.active {
  transform: translateY(0);
  opacity: 1;
}

.chatbot-header {
  padding: 15px 20px;
  background: var(--gradient-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h3 {
  margin: 0;
  font-size: 18px;
  color: white;
}

.chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chatbot-message {
  max-width: 80%;
  padding: 12px 15px;
  border-radius: 15px;
  font-size: 14px;
  line-height: 1.4;
}

.chatbot-message.bot {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  align-self: flex-start;
  border-bottom-left-radius: 5px;
}

.chatbot-message.user {
  background: var(--gradient-primary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 5px;
}

.chatbot-input {
  padding: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 10px;
}

.chatbot-input input {
  flex: 1;
  padding: 12px 15px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 14px;
}

.chatbot-input input:focus {
  outline: none;
  border-color: var(--accent-color);
}

.chatbot-input button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.chatbot-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 999;
  font-size: 24px;
}

/* Move the chatbot up to avoid the watermark */
.chatbot-container {
  bottom: 70px;
}

.chatbot-button {
  bottom: 70px;
}

/* Hide the watermark */
a[href*="manus"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 768px) {
  .chatbot-container {
    width: 300px;
    height: 400px;
    bottom: 80px;
  }
  
  .chatbot-button {
    width: 50px;
    height: 50px;
    bottom: 80px;
  }
}
