.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Floating Action Button */
.chatbot-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #891618; /* deep red */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  cursor: pointer;
  z-index: 9999;
}
.chatbot-fab:hover { filter: brightness(1.05); }
.chatbot-fab:focus { outline: 2px solid #fff; outline-offset: 2px; }
.chatbot-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #891618;
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* Slide-up Panel */
.chatbot-panel {
  position: fixed;
  right: 22px;
  bottom: 92px; /* leave space for FAB */
  width: 360px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: all .2s ease-in-out;
  overflow: hidden;
  z-index: 9999999999;
}
.chatbot-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.chatbot-header {
  background: #891618;
  color: #fff;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chatbot-header-left { display: flex; gap: 10px; align-items: center; }
.chatbot-header-right { display: flex; gap: 10px; align-items: center; }
.chatbot-title { font-weight: 700; font-size: 16px; }
.chatbot-brand { width: 28px; height: 28px; border-radius: 50%; background: #fff; object-fit: cover; }
.chatbot-logo { width: 40px; height: 40px; border-radius: 50%; background: #fff; padding: 4px; }
.chatbot-icon { background: transparent; border: none; color: #fff; cursor: pointer; font-size: 16px; }
.chatbot-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
.chatbot-box { height: 260px; overflow-y: auto; background: #fafafa; padding: 10px; }
.chatbot-welcome { text-align: center; padding: 16px 16px 8px; }
.chatbot-welcome-logo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; display: inline-block; }
.chatbot-welcome-title { font-size: 22px; font-weight: 800; margin: 10px 0 4px; color: #111827; }
.chatbot-welcome-sub { color: #6b7280; margin: 0 0 12px; }
.chatbot-controls { display: flex; gap: 6px; padding: 10px; border-top: 1px solid #eee; }
.chatbot-select { width: 100%; padding: 8px; border: 1px solid #ddd; border-radius: 6px; }

.user-msg { text-align: right; margin: 6px 0; padding: 8px 10px; background: #e6f7ff; border-radius: 12px; display: inline-block; max-width: 85%; }
.bot-row { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0; }
.bot-avatar { width: 28px; height: 28px; border-radius: 50%; flex: 0 0 28px; object-fit: cover; }
.bot-msg { text-align: left; padding: 8px 10px; background: #f5f5f5; border-radius: 12px; display: inline-block; max-width: 85%; }
.chatbot-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chatbot-chip { background: #e8efff; color: #1b1b1b; border: 1px solid #c7d6ff; padding: 8px 12px; border-radius: 12px; cursor: pointer; }
.chatbot-chip:hover { background: #dbe8ff; }

