/* Bot Agent Styles */

.agent-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #f0c75e;
  color: #000;
  border: none;
  padding: 12px 16px;
  font-size: 14px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: background-color 0.3s ease;
  font-family: 'Orbitron', sans-serif;
}

.agent-button:hover {
  background-color: #ecb939;
  box-shadow: 0 0 20px #eee117;
}

.agent-box {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 420px;
  max-width: 450px;
  height: 520px;
  max-height: 85%;
  background: #111;
  border: 2px solid #34544F;
  border-radius: 10px;
  box-shadow: 0 0 20px #00ffff55;
  z-index: 1000;
  overflow: auto;
  resize: both;
  scrollbar-color: #ecb939 #111111;
  font-family: 'Share Tech Mono', monospace;
  animation: popIn 0.3s ease-out;
}

.agent-box.active {
  display:block;
}

.agent-header {
  background-color: #6d8a4d;
  color: #fff;
  padding: 10px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.agent-header button {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
}

.agent-body {
  padding: 15px;
  text-align: right;
}

.agent-body p {
  font-size: 15px;
  margin-bottom: 10px;
}

.agent-body button {
  background-color: #6d8a4d;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  margin-top: 5px;
}

.agent-body button:hover {
  background-color: 	#879d89;
}

/* Message Styling */

.user-message, .bot-message {
  margin: 8px 0;
  padding: 10px 12px;
  border-radius: 10px;
  max-width: 80%;
}

.user-message {
  background-color: #2e2e2e;
  color: #ffffff;
  text-align: right;
  margin-left: auto;
}

.bot-message {
  background-color: #444;
  color: #00ffd5;
  text-align: left;
  margin-right: auto;
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}