/* ==========================================================================
   HELLOBOTZ - INTERACTIVE ROBOT MASCOT & AI CHATBOX (robot-chatbot.css)
   ========================================================================== */

:root {
  --hb-primary: #8B5CF6;
  --hb-primary-dark: #6D28D9;
  --hb-accent: #06B6D4;
  --hb-glow: #22C55E;
  --hb-bg: #FFFFFF;
  --hb-dark: #0F172A;
  --hb-border: #E2E8F0;
  --hb-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* Container */
.hellobotz-robot-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  user-select: none;
}

/* ==========================================================================
   HELLOBOTZ INTERACTIVE MASCOT TRIGGER
   ========================================================================== */
.hellobotz-trigger {
  position: relative;
  width: 76px;
  height: 76px;
  cursor: pointer !important;
  pointer-events: auto !important;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10001;
}

.hellobotz-trigger * {
  pointer-events: none !important;
}

/* Floating Physics Animation */
.hellobotz-character {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: hellobotz-float 3.5s ease-in-out infinite;
  filter: drop-shadow(0 12px 20px rgba(139, 92, 246, 0.45));
  transition: transform 0.3s ease;
}

.hellobotz-trigger:hover .hellobotz-character {
  animation: hellobotz-excited-bounce 0.8s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite alternate;
  filter: drop-shadow(0 16px 28px rgba(6, 182, 212, 0.6));
}

/* Character Body/Head SVG */
.hellobotz-svg {
  width: 72px;
  height: 72px;
  overflow: visible;
}

/* Eye Elements & Expressions */
.hb-eye-normal {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hb-eye-excited {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hb-eye-bored {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hb-antenna-glow {
  transition: fill 0.3s ease, filter 0.3s ease;
  animation: hb-antenna-pulse 2s infinite ease-in-out;
}

.hb-mouth {
  transition: d 0.3s ease, stroke 0.3s ease;
}

/* ==========================================================================
   EMOTION STATES
   ========================================================================== */

/* 1. BLINKING STATE (Runs periodically) */
.hellobotz-character.is-blinking .hb-eye-normal {
  transform: scaleY(0.08);
  transform-origin: center;
}

/* 2. EXCITED STATE (Hover, Click, Happy) */
.hellobotz-character.state-excited .hb-eye-normal {
  opacity: 0 !important;
}
.hellobotz-character.state-excited .hb-eye-excited {
  opacity: 1 !important;
}
.hellobotz-character.state-excited .hb-antenna-glow {
  fill: #F59E0B !important;
  filter: drop-shadow(0 0 6px #F59E0B) !important;
}
.hellobotz-character.state-excited {
  animation: hellobotz-excited-bounce 0.5s ease-in-out infinite alternate !important;
}

/* 3. BORED / SLEEPY STATE (When Idle for 12+ seconds) */
.hellobotz-character.state-bored {
  animation: hellobotz-bored-sway 4s ease-in-out infinite !important;
  filter: drop-shadow(0 8px 15px rgba(100, 116, 139, 0.35)) !important;
}
.hellobotz-character.state-bored .hb-eye-normal {
  opacity: 0 !important;
}
.hellobotz-character.state-bored .hb-eye-bored {
  opacity: 1 !important;
}
.hellobotz-character.state-bored .hb-antenna-glow {
  fill: #94A3B8 !important;
  filter: none !important;
}

/* Floating Sleep 'Z Z Z' for Bored State */
.hb-sleep-zzz {
  position: absolute;
  top: -8px;
  right: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #8B5CF6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.hellobotz-character.state-bored .hb-sleep-zzz {
  opacity: 1;
  animation: hb-zzz-drift 2.5s infinite ease-out;
}

/* Close Icon (shown when chat is open) */
.hellobotz-close-circle {
  display: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4);
  transition: transform 0.2s;
}
.hellobotz-close-circle:hover {
  transform: scale(1.08);
}
.hellobotz-close-circle svg {
  width: 26px;
  height: 26px;
  stroke: #ffffff;
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* When Widget is OPEN */
.hellobotz-robot-widget.is-open .hellobotz-character,
.hellobotz-robot-widget.open .hellobotz-character {
  display: none !important;
}
.hellobotz-robot-widget.is-open .hellobotz-close-circle,
.hellobotz-robot-widget.open .hellobotz-close-circle {
  display: flex !important;
}
.hellobotz-robot-widget.is-open .hellobotz-speech-bubble,
.hellobotz-robot-widget.open .hellobotz-speech-bubble,
#hellobotz-robot-widget.is-open .hellobotz-speech-bubble,
#hellobotz-robot-widget.open .hellobotz-speech-bubble {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

/* ==========================================================================
   DYNAMIC SPEECH TEASER BUBBLE / NOTIFICATION
   ========================================================================== */
.hellobotz-speech-bubble {
  position: absolute;
  bottom: 82px;
  right: 6px;
  background: #FFFFFF;
  color: #1E293B;
  padding: 8px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(139, 92, 246, 0.25);
  display: flex !important;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  animation: hellobotz-bubble-hover 3s ease-in-out infinite;
  z-index: 9999;
  transition: all 0.25s ease;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.hellobotz-speech-bubble:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px -4px rgba(15, 23, 42, 0.25), 0 0 0 1.5px #8B5CF6;
}

.hellobotz-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 24px;
  width: 12px;
  height: 12px;
  background: inherit;
  border-right: 1px solid rgba(139, 92, 246, 0.25);
  border-bottom: 1px solid rgba(139, 92, 246, 0.25);
  transform: rotate(45deg);
}

.speech-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
  animation: hb-dot-pulse 1.8s infinite;
  flex-shrink: 0;
}

/* ==========================================================================
   COMPACT AI CHATBOX WINDOW ("small box to chat")
   ========================================================================== */
.hellobotz-chatbox {
  position: absolute;
  bottom: 84px;
  right: 0;
  width: 345px;
  max-width: calc(100vw - 2rem);
  height: 465px;
  max-height: calc(100vh - 100px);
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: var(--hb-shadow);
  border: 1px solid var(--hb-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.95);
  transform-origin: bottom right;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
}

.hellobotz-robot-widget.is-open .hellobotz-chatbox,
.hellobotz-robot-widget.open .hellobotz-chatbox,
#hellobotz-robot-widget.is-open .hellobotz-chatbox,
#hellobotz-robot-widget.open .hellobotz-chatbox {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

/* Header */
.hellobotz-chat-header {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #0F172A 100%);
  color: #FFFFFF;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hellobotz-chat-header-robot {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-robot-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #8B5CF6, #06B6D4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 10px rgba(139, 92, 246, 0.4);
}

.header-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

.header-online-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #1E1B4B;
  box-shadow: 0 0 6px #10B981;
}

.header-robot-info h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-robot-tag {
  font-size: 9px;
  background: rgba(6, 182, 212, 0.2);
  color: #67E8F9;
  padding: 1px 4px;
  border-radius: 999px;
  font-weight: 700;
}

.header-robot-info p {
  margin: 1px 0 0;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.7);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 3px;
}

.header-action-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.header-action-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

/* Aligned Quick Channels Strip */
.hellobotz-quick-channels {
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 5px 8px;
  display: flex;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: thin;
  flex-shrink: 0;
}

.hellobotz-quick-channels::-webkit-scrollbar {
  height: 3px;
}
.hellobotz-quick-channels::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.quick-channel-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  color: #334155;
  font-size: 10.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}

.quick-channel-item:hover {
  background: #EEF2FF;
  border-color: #C7D2FE;
  color: #4338CA;
}

.quick-channel-item.qc-wa {
  color: #047857;
  background: #F0FDF4;
  border-color: #BBF7D0;
}
.quick-channel-item.qc-wa:hover {
  background: #DCFCE7;
}

.quick-channel-item.qc-call {
  color: #0369A1;
  background: #F0F9FF;
  border-color: #BAE6FD;
}

.quick-channel-item.qc-pricing {
  color: #4338CA;
  background: #EEF2FF;
  border-color: #C7D2FE;
}

/* Chat Messages Body */
.hellobotz-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #F8FAFC;
  scroll-behavior: smooth;
}

.chat-bubble-row {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  max-width: 94%;
  animation: bubble-appear 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-bubble-row.bot-row {
  align-self: flex-start;
}

.chat-bubble-row.user-row {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.bot-avatar-small {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, #8B5CF6, #06B6D4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0 2px 6px rgba(139, 92, 246, 0.3);
  overflow: hidden;
}

.bot-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

.chat-bubble {
  padding: 7px 10px;
  border-radius: 12px;
  font-size: 11.5px;
  line-height: 1.4;
  word-break: break-word;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

.bot-bubble {
  background: #FFFFFF;
  color: #1E293B;
  border: 1px solid #E2E8F0;
  border-top-left-radius: 3px;
}

.user-bubble {
  background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
  color: #FFFFFF;
  border-top-right-radius: 3px;
}

.chat-bubble p {
  margin: 0 0 4px;
}
.chat-bubble p:last-child {
  margin-bottom: 0;
}

.chat-bubble strong {
  font-weight: 700;
}

.chat-bubble ul {
  margin: 4px 0;
  padding-left: 14px;
}

.chat-bubble li {
  margin-bottom: 2px;
}

.chat-time {
  font-size: 9px;
  opacity: 0.65;
  margin-top: 2px;
  display: block;
  text-align: right;
}

/* Embedded Action Buttons */
.bot-actions-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
  padding-top: 5px;
  border-top: 1px dashed #E2E8F0;
}

.bot-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.bot-btn-primary {
  background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(139, 92, 246, 0.25);
}
.bot-btn-primary:hover {
  transform: translateY(-1px);
}

.bot-btn-secondary {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #334155 !important;
}
.bot-btn-secondary:hover {
  background: #E2E8F0;
}

.bot-btn-wa {
  background: #22C55E;
  color: #FFFFFF !important;
}
.bot-btn-wa:hover {
  background: #16A34A;
}

/* Quick Suggestion Chips */
.bot-suggestions-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 6px;
}

.bot-suggestions-title {
  font-size: 10.5px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.bot-chip-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #1E293B;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s;
  width: fit-content;
}

.bot-chip-btn:hover {
  background: #EEF2FF;
  border-color: #8B5CF6;
  color: #6366F1;
  transform: translateX(2px);
}

/* Vertical Service Options */
.bot-vertical-options {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 6px;
  width: 100%;
}

.bot-option-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 6px 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  color: #1E293B;
  font-size: 11.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.bot-option-btn .opt-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bot-option-btn .opt-icon {
  font-size: 13px;
  flex-shrink: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bot-option-btn .opt-icon svg {
  display: block;
}

.bot-option-btn .opt-text {
  flex: 1;
  line-height: 1.25;
}

.bot-option-btn .opt-arrow {
  color: #94A3B8;
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.18s ease, color 0.18s ease;
  margin-left: 4px;
}

.bot-option-btn:hover {
  background: #EFF6FF;
  border-color: #6366F1;
  color: #4338CA;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(99, 102, 241, 0.12);
}

.bot-option-btn:hover .opt-arrow {
  color: #6366F1;
  transform: translateX(3px);
}

.bot-option-btn.opt-others {
  background: #FFFFFF;
  border-style: dashed;
  border-color: #CBD5E1;
  color: #475569;
}

.bot-option-btn.opt-others:hover {
  background: #F0FDF4;
  border-color: #22C55E;
  color: #15803D;
}

.bot-btn-menu {
  background: transparent;
  color: #64748B !important;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 6px;
  border: 1px dashed #CBD5E1;
  border-radius: 5px;
  margin-top: 5px;
  cursor: pointer;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.15s ease;
}

.bot-btn-menu:hover {
  background: #F1F5F9;
  color: #1E293B !important;
  border-color: #94A3B8;
}

/* Typing Indicator */
.bot-typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 8px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  border-top-left-radius: 2px;
  width: fit-content;
}

.bot-typing-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8B5CF6;
  animation: bot-typing-bounce 1.4s infinite ease-in-out both;
}
.bot-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.bot-typing-dot:nth-child(2) { animation-delay: -0.16s; }

/* Input Footer */
.hellobotz-chat-footer {
  padding: 6px 8px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hellobotz-chat-form {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hellobotz-chat-input {
  flex: 1;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
  font-size: 11.5px;
  color: #0F172A;
  outline: none;
  font-family: inherit;
  transition: all 0.15s;
}

.hellobotz-chat-input:focus {
  border-color: #8B5CF6;
  background: #FFFFFF;
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.15);
}

.hellobotz-chat-submit {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}

.hellobotz-chat-submit:hover {
  transform: scale(1.05);
}

.hellobotz-chat-trust {
  font-size: 9px;
  color: #94A3B8;
  text-align: center;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes hellobotz-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(1.5deg); }
}

@keyframes hellobotz-excited-bounce {
  0% { transform: translateY(0) scale(1.03); }
  100% { transform: translateY(-10px) scale(1.08) rotate(-2deg); }
}

@keyframes hellobotz-bored-sway {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(2px) rotate(-4deg); }
  75% { transform: translateY(2px) rotate(4deg); }
}

@keyframes hb-antenna-pulse {
  0%, 100% { fill: #22C55E; filter: drop-shadow(0 0 3px #22C55E); }
  50% { fill: #86EFAC; filter: drop-shadow(0 0 1px #22C55E); }
}

@keyframes hb-zzz-drift {
  0% { transform: translate(0, 0) scale(0.6); opacity: 0; }
  40% { opacity: 0.9; }
  100% { transform: translate(12px, -18px) scale(1.2); opacity: 0; }
}

@keyframes hellobotz-bubble-hover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes hb-dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes bubble-appear {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bot-typing-bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hellobotz-speech-bubble {
    display: flex !important;
    bottom: 74px !important;
    right: 4px !important;
    font-size: 11.5px !important;
    padding: 6px 11px !important;
    border-radius: 12px !important;
  }
  #hellobotz-robot-widget.is-open .hellobotz-speech-bubble,
  #hellobotz-robot-widget.open .hellobotz-speech-bubble,
  .hellobotz-robot-widget.is-open .hellobotz-speech-bubble,
  .hellobotz-robot-widget.open .hellobotz-speech-bubble {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .hellobotz-robot-widget {
    bottom: 1rem !important;
    right: 0.85rem !important;
  }
  .hellobotz-trigger {
    width: 56px !important;
    height: 56px !important;
  }
  .hellobotz-svg {
    width: 52px !important;
    height: 52px !important;
  }
  .hellobotz-chatbox {
    bottom: 68px !important;
    right: -4px !important;
    width: calc(100vw - 1.5rem) !important;
    max-height: calc(100vh - 85px) !important;
  }
}

/* ==========================================================================
   HELLOBOTZ ROBOT MASCOT & CHATBOX DARK MODE STYLES
   ========================================================================== */
html[data-theme="dark"] .hellobotz-speech-bubble {
  background: #1e293b !important;
  color: #f8fafc !important;
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(139, 92, 246, 0.4) !important;
}

html[data-theme="dark"] .hellobotz-chatbox,
html.dark .hellobotz-chatbox {
  background: #0f172a !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .hellobotz-quick-channels,
html.dark .hellobotz-quick-channels {
  background: #0b0f19 !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .quick-channel-item,
html.dark .quick-channel-item {
  background: #1e293b !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #e2e8f0 !important;
}

html[data-theme="dark"] .quick-channel-item:hover,
html.dark .quick-channel-item:hover {
  background: #334155 !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .quick-channel-item.qc-wa,
html.dark .quick-channel-item.qc-wa {
  background: rgba(4, 120, 87, 0.2) !important;
  border-color: rgba(34, 197, 94, 0.35) !important;
  color: #4ade80 !important;
}

html[data-theme="dark"] .quick-channel-item.qc-call,
html.dark .quick-channel-item.qc-call {
  background: rgba(3, 105, 161, 0.2) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  color: #38bdf8 !important;
}

html[data-theme="dark"] .quick-channel-item.qc-pricing,
html.dark .quick-channel-item.qc-pricing {
  background: rgba(99, 102, 241, 0.2) !important;
  border-color: rgba(129, 140, 248, 0.35) !important;
  color: #a5b4fc !important;
}

html[data-theme="dark"] .hellobotz-chat-body,
html.dark .hellobotz-chat-body {
  background: #0f172a !important;
}

html[data-theme="dark"] .bot-bubble,
html.dark .bot-bubble {
  background: #1e293b !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

html[data-theme="dark"] .bot-bubble strong,
html.dark .bot-bubble strong {
  color: #ffffff !important;
}

html[data-theme="dark"] .user-bubble,
html.dark .user-bubble {
  background: linear-gradient(135deg, #7c3aed, #4f46e5) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .chat-time,
html.dark .chat-time {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .hellobotz-chat-footer,
html.dark .hellobotz-chat-footer {
  background: #0b0f19 !important;
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .hellobotz-chat-input,
html.dark .hellobotz-chat-input {
  background: #1e293b !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

html[data-theme="dark"] .hellobotz-chat-input:focus,
html.dark .hellobotz-chat-input:focus {
  background: #0f172a !important;
  border-color: #8b5cf6 !important;
}

html[data-theme="dark"] .hellobotz-chat-input::placeholder,
html.dark .hellobotz-chat-input::placeholder {
  color: #64748b !important;
}

html[data-theme="dark"] .hellobotz-chat-trust,
html.dark .hellobotz-chat-trust {
  color: #64748b !important;
}

html[data-theme="dark"] .chat-quick-chip,
html.dark .chat-quick-chip {
  background: #1e293b !important;
  color: #e2e8f0 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

html[data-theme="dark"] .chat-quick-chip:hover,
html.dark .chat-quick-chip:hover {
  background: #8b5cf6 !important;
  color: #ffffff !important;
  border-color: #8b5cf6 !important;
}

html[data-theme="dark"] .bot-option-btn,
html.dark .bot-option-btn {
  background: #1e293b !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f1f5f9 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="dark"] .bot-option-btn:hover,
html.dark .bot-option-btn:hover {
  background: #27354a !important;
  border-color: #818cf8 !important;
  color: #a5b4fc !important;
}

html[data-theme="dark"] .bot-option-btn .opt-arrow,
html.dark .bot-option-btn .opt-arrow {
  color: #64748b !important;
}

html[data-theme="dark"] .bot-option-btn:hover .opt-arrow,
html.dark .bot-option-btn:hover .opt-arrow {
  color: #818cf8 !important;
}

html[data-theme="dark"] .bot-option-btn.opt-others,
html.dark .bot-option-btn.opt-others {
  background: rgba(30, 41, 59, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #cbd5e1 !important;
}

html[data-theme="dark"] .bot-option-btn.opt-others:hover,
html.dark .bot-option-btn.opt-others:hover {
  background: rgba(34, 197, 94, 0.14) !important;
  border-color: #22c55e !important;
  color: #4ade80 !important;
}

html[data-theme="dark"] .bot-btn-secondary,
html.dark .bot-btn-secondary {
  background: #1e293b !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #e2e8f0 !important;
}

html[data-theme="dark"] .bot-btn-secondary:hover,
html.dark .bot-btn-secondary:hover {
  background: #334155 !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .bot-btn-menu,
html.dark .bot-btn-menu {
  color: #94a3b8 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

html[data-theme="dark"] .bot-btn-menu:hover,
html.dark .bot-btn-menu:hover {
  background: #1e293b !important;
  color: #f8fafc !important;
}



