/* V36.7.127 — Fix dark chatbot cascade with ID-level specificity and refresh converter launcher sticker. */
/* The older V36.7.36 light fallback uses body:not(...) and outranks a single-ID dark rule.
   Repeating the modal ID deliberately raises specificity without changing markup. */
html body.default-dark-mode #ai-chat-modal#ai-chat-modal.chat-modal {
  color-scheme: dark !important;
  color: #edf3ff !important;
  background: linear-gradient(145deg, rgba(17,29,53,.985), rgba(30,24,57,.985)) !important;
  background-color: #151d35 !important;
  border: 1px solid rgba(139,158,220,.38) !important;
  box-shadow: 0 22px 58px rgba(0,0,0,.50), inset 0 1px 0 rgba(255,255,255,.06) !important;
  -webkit-backdrop-filter: blur(20px) saturate(125%) !important;
  backdrop-filter: blur(20px) saturate(125%) !important;
}
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .chat-header,
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .chat-mode-bar,
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .chat-input-row,
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .chat-admin-bar {
  color: #f0f4ff !important;
  background: linear-gradient(115deg, rgba(21,39,68,.99), rgba(31,29,61,.99)) !important;
  background-color: #172440 !important;
  border-color: rgba(139,158,220,.28) !important;
}
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .chat-header-title,
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .chat-header-title *,
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .chat-close-btn,
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .chat-header-icon {
  color: #f1f5ff !important;
  opacity: 1 !important;
}
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .chat-messages {
  color: #edf2ff !important;
  background: linear-gradient(145deg, rgba(9,17,35,.97), rgba(22,19,43,.97)) !important;
  background-color: #10182d !important;
}
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .msg-bubble.bot,
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .msg-bubble.bot .chat-message-content {
  color: #edf3ff !important;
  background: linear-gradient(145deg, #1c2d4c, #282443) !important;
  border-color: rgba(139,160,220,.32) !important;
  box-shadow: 0 5px 16px rgba(0,0,0,.18) !important;
}
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .msg-bubble.admin {
  color: #f6edff !important;
  background: linear-gradient(145deg, #33264b, #28213f) !important;
  border: 1px solid rgba(173,132,222,.40) !important;
}
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .msg-bubble.user {
  color: #fff !important;
  background: linear-gradient(135deg, #ff9848, #f87518) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
}
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .chat-message-author,
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .chat-message-author span,
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .chat-message-content {
  color: inherit !important;
}
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .btn-escalate-human,
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .chat-confirm {
  color: #ffb36f !important;
  background: rgba(30,28,54,.92) !important;
  border-color: rgba(255,153,74,.58) !important;
}
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .chat-input-text,
html body.default-dark-mode #ai-chat-modal#ai-chat-modal input,
html body.default-dark-mode #ai-chat-modal#ai-chat-modal textarea {
  color: #f3f6ff !important;
  caret-color: #f3f6ff !important;
  background: #101a31 !important;
  border: 1px solid rgba(139,158,220,.40) !important;
  box-shadow: inset 0 1px 4px rgba(0,0,0,.22) !important;
}
html body.default-dark-mode #ai-chat-modal#ai-chat-modal input::placeholder,
html body.default-dark-mode #ai-chat-modal#ai-chat-modal textarea::placeholder {
  color: #aebbd5 !important;
  opacity: 1 !important;
}
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .btn-send-msg {
  color: #fff !important;
  background: linear-gradient(135deg,#ff963f,#f87518) !important;
  border-color: rgba(255,255,255,.16) !important;
}
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .chat-close-btn:hover {
  color: #fff !important;
  background: rgba(125,145,205,.20) !important;
}
/* Replace the oversized robot sticker on the floating launcher with the clean Cashback Pro wallet mark. */
#btn-chat-trigger .default-chat-robot {
  width: 47px !important;
  height: 47px !important;
  max-width: 47px !important;
  max-height: 47px !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: drop-shadow(0 3px 5px rgba(31,20,83,.26)) !important;
}
