.chatbot-launcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
}

.chatbot-launcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.chatbot-panel {
  position: fixed;
  right: 18px;
  bottom: 72px;
  width: min(420px, calc(100vw - 36px));
  max-height: min(560px, calc(100vh - 120px));
  background: var(--panel-bg, #0b1220);
  border: 1px solid var(--border-color, rgba(148,163,184,0.18));
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
  color: #e2e8f0;
}

.chatbot-panel[hidden] { display: none !important; }

.chatbot-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--border-color, rgba(148,163,184,0.18));
}

.chatbot-panel__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.chatbot-panel__body {
  padding: 0.85rem;
  overflow: auto;
  flex: 1;
}

.chatbot-msg {
  display: flex;
  margin: 0 0 0.65rem;
}

.chatbot-msg--user {
  justify-content: flex-end;
}

.chatbot-bubble {
  max-width: 85%;
  white-space: pre-wrap;
  line-height: 1.35;
  padding: 0.6rem 0.7rem;
  border-radius: 14px;
  border: 1px solid var(--border-color, rgba(148,163,184,0.18));
  background: rgba(15, 23, 42, 0.68);
}

.chatbot-msg--user .chatbot-bubble {
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(59, 130, 246, 0.24);
}

.chatbot-panel__footer {
  padding: 0.7rem;
  border-top: 1px solid var(--border-color, rgba(148,163,184,0.18));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.chatbot-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-color, rgba(148,163,184,0.18));
  background: rgba(15, 23, 42, 0.7);
  color: #f8fafc;
  caret-color: #f8fafc;
  padding: 0.55rem 0.65rem;
}

.chatbot-input::placeholder {
  color: rgba(226, 232, 240, 0.62);
}

.chatbot-quickreplies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 0.85rem 0.75rem;
}

.chatbot-quickreplies[hidden] { display: none !important; }

.chatbot-chip {
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--border-color, rgba(148,163,184,0.18));
  background: rgba(15, 23, 42, 0.55);
  cursor: pointer;
  font-size: 0.8rem;
}

.chatbot-chip:hover {
  background: rgba(148,163,184,0.12);
}
