/* Chat Bubble (minimized trigger) */
.chatbot-bubble {
  position: fixed;
  top: 24px;
  right: 24px;
  background-color: #003366;
  color: #fff;
  font-size: 1.5rem;
  padding: 14px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none; /* hidden on page load */
}

#chatbot-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  max-width: 90vw;
  max-height: 90vh;
  background: #1a1a1a;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  z-index: 1001;
  overflow: hidden; /* prevent content from spilling */
}
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
}



.chat-header {
  padding: 10px 14px;
  background: #002244;
  font-weight: bold;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header span {
  font-size: 1.2rem;
  cursor: pointer;
}

.chat-body {
  max-height: 400px;
  overflow-y: auto;
  padding: 14px;
}

.chat-message {
  margin-bottom: 16px;
}

.chat-message.bot {
  background: #222;
  padding: 10px;
  border-radius: 8px;
}

.chat-options button {
  background: #004488;
  color: #fff;
  margin: 6px 4px 0 0;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.chat-options button:hover {
  background: #0066cc;
}

.chat-form {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
}

.chat-form input,
.chat-form textarea,
.chat-form select {
  margin-bottom: 10px;
  padding: 8px;
  border: none;
  border-radius: 6px;
  font-family: inherit;
}

.chat-form button {
  background: #0066cc;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.chat-form button:hover {
  background: #3399ff;
}
.form-close {
  color: #ccc;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}
.form-close:hover {
  color: #ff6666;
}

