/* Chatbot container */
#chatbot {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 350px;
  max-height: 450px;
  background-color: #0f0f0f;
  color: #00ff00;
  font-family: 'Courier New', monospace;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  transform: translateY(250px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

/* Show chatbot */
#chatbot.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Chat header */
#chat-header {
  background-color: #020202;
  padding: 10px;
  font-weight: bold;
  text-align: center;
  border-bottom: 1px solid #00ff00;
}

/* Chat body */
#chat-body {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Chat input area */
#chat-input-area {
  display: flex;
  border-top: 1px solid #00ff00;
}

/* Chat input area */
#chat-input-area {
  display: flex;
  border-top: 1px solid #00ff00;
  background-color: #010101;
}

/* Input field */
#chat-input-area input {
  flex: 1; /* takes remaining space */
  padding: 10px;
  border: none;
  background-color: #010101;
  color: #00ff00;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  outline: none;
}

/* Send button */
#chat-input-area button {
  width: 50px;           /* fixed width so it doesn't cover input */
  border: none;
  background-color: #00ff00;
  color: #010101;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  flex-shrink: 0;        /* prevents shrinking */
}

/* Toggle button */
#chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #00ff00;
  color: #010101;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Messages */
.chat-msg {
  margin-bottom: 6px;
}

.chat-msg.user {
  color: #fff;
  text-align: right;
}

.chat-msg.bot {
  color: #00ff00;
}

/* Blinking cursor */
.cursor {
  display: inline-block;
  width: 10px;
  background-color: #00ff00;
  animation: blink 1s infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 50%, 100% { background-color: #00ff00; }
  25%, 75% { background-color: transparent; }
}

/* Quick-choice buttons */
.quick-btn {
  background-color: #010101;
  color: #00ff00;
  border: 1px solid #00ff00;
  border-radius: 4px;
  padding: 4px 8px;
  margin: 2px;
  cursor: pointer;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
}
.quick-btn:hover {
  background-color: #00ff00;
  color: #010101;
}