.chatbot-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #232f3e;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 22px;
  z-index: 2147483647; /* force above everything */
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

.chatbot-container {
  position: fixed; bottom: 20px; right: 20px;
  width: 350px; height: 500px; background: #fff; border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  display: flex; flex-direction: column; z-index: 2147483646;
}

.chatbot-container[hidden] { display: none !important; }

.chatbot-header {
  background: #232f3e; color: #fff;
  padding: 12px 14px; border-radius: 10px 10px 0 0;
  display: flex; justify-content: space-between; align-items: center;
}
.chatbot-close { background: none; border: 0; color: #fff; font-size: 20px; cursor: pointer; }

.chatbot-messages {
  flex: 1; padding: 14px; overflow-y: auto; max-height: 350px;
}

.message {
  margin-bottom: 10px; padding: 8px 12px; border-radius: 8px; max-width: 80%;
  font-size: .95rem; line-height: 1.4;
}
.user-message { background: #e3f2fd; margin-left: auto; text-align: right; }
.bot-message { background: #f5f5f5; margin-right: auto; }

.typing { opacity: .7; font-style: italic; }

.chatbot-input {
  display: flex; gap: 10px; padding: 12px; border-top: 1px solid #eee;
}
.chatbot-input input {
  flex: 1; padding: 10px; border: 1px solid #ddd; border-radius: 6px;
}
.chatbot-input button {
  padding: 10px 16px; background: #232f3e; color: #fff; border: none; border-radius: 6px; cursor: pointer;
}
.chatbot-input button[disabled] { opacity: .6; cursor: not-allowed; }