/* Chatbot container */
#chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  max-height: 480px;
  background: linear-gradient(135deg, #ff6f91, #ff9671, #ffc75f, #00bfae);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  z-index: 9999;
}

/* Particles */
#chatbot-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Messages */
#chatbot-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  color: white;
  backdrop-filter: blur(5px);
  background: rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
}

/* Message bubbles */
.chat-message.user {
  background: rgba(0,0,0,0.6);
  color: #fff;
  margin: 5px 0;
  padding: 8px 12px;
  border-radius: 12px;
  align-self: flex-end;
  max-width: 80%;
}

.chat-message.ai {
  background: rgba(255,255,255,0.1);
  color: #fff;
  margin: 5px 0;
  padding: 8px 12px;
  border-radius: 12px;
  align-self: flex-start;
  max-width: 80%;
}

/* Input + button */
#chatbot-input {
  padding: 10px;
  border: none;
  border-radius: 12px;
  margin: 8px;
  flex: none;
  width: calc(100% - 90px);
  background: rgba(0,0,0,0.3);
  color: white;
}

#chatbot-send {
  padding: 10px 15px;
  margin: 8px;
  border: none;
  border-radius: 12px;
  background: #ff6f91;
  color: white;
  font-weight: bold;
  cursor: pointer;
  flex: none;
}

#chatbot-send:hover {
  background: #ff9671;
}
