/* Cashback Pro V36.7.152
   Default light mode gets soft luminous blooms instead of dark specks.
   Both default modes receive a matching translucent glass frame around the
   floating chatbot launcher and subtle glass outlines on message bubbles.
*/

/* Floating chatbot launcher: soft circular glass plate behind the mascot. */
html body.default-light-mode #btn-chat-trigger.chat-widget-button,
html body.default-dark-mode #btn-chat-trigger.chat-widget-button,
html.theme-bootstrap-light body #btn-chat-trigger.chat-widget-button,
html.theme-bootstrap-dark body #btn-chat-trigger.chat-widget-button {
  position: fixed !important;
  isolation: isolate !important;
  overflow: visible !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.default-light-mode #btn-chat-trigger.chat-widget-button::before,
html body.default-dark-mode #btn-chat-trigger.chat-widget-button::before,
html.theme-bootstrap-light body #btn-chat-trigger.chat-widget-button::before,
html.theme-bootstrap-dark body #btn-chat-trigger.chat-widget-button::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 5px !important;
  z-index: 0 !important;
  border-radius: 50% !important;
  pointer-events: none !important;
  -webkit-backdrop-filter: blur(9px) saturate(135%) !important;
  backdrop-filter: blur(9px) saturate(135%) !important;
}

html body.default-light-mode #btn-chat-trigger.chat-widget-button::before,
html.theme-bootstrap-light body #btn-chat-trigger.chat-widget-button::before {
  background: radial-gradient(circle at 32% 24%, rgba(255,255,255,.82), rgba(229,240,255,.48) 58%, rgba(218,225,246,.34)) !important;
  border: 1px solid rgba(92,129,177,.30) !important;
  box-shadow: 0 5px 18px rgba(67,100,146,.17), inset 0 1px 2px rgba(255,255,255,.82), 0 0 0 3px rgba(255,255,255,.16) !important;
}

html body.default-dark-mode #btn-chat-trigger.chat-widget-button::before,
html.theme-bootstrap-dark body #btn-chat-trigger.chat-widget-button::before {
  background: radial-gradient(circle at 32% 24%, rgba(92,137,190,.36), rgba(35,48,83,.64) 60%, rgba(24,27,55,.72)) !important;
  border: 1px solid rgba(160,190,242,.34) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,.32), inset 0 1px 2px rgba(222,237,255,.18), 0 0 0 3px rgba(133,164,220,.08) !important;
}

html body.default-light-mode #btn-chat-trigger > .default-chat-robot,
html body.default-dark-mode #btn-chat-trigger > .default-chat-robot,
html.theme-bootstrap-light body #btn-chat-trigger > .default-chat-robot,
html.theme-bootstrap-dark body #btn-chat-trigger > .default-chat-robot {
  position: relative !important;
  z-index: 1 !important;
  filter: drop-shadow(0 2px 5px rgba(29,47,82,.25)) !important;
}

/* The chat conversation bubbles have a faint, consistent glass rim in both modes. */
html body.default-light-mode #ai-chat-modal#ai-chat-modal .msg-bubble,
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .msg-bubble,
html.theme-bootstrap-light body #ai-chat-modal#ai-chat-modal .msg-bubble,
html.theme-bootstrap-dark body #ai-chat-modal#ai-chat-modal .msg-bubble {
  border-radius: 18px !important;
  -webkit-backdrop-filter: blur(12px) saturate(125%) !important;
  backdrop-filter: blur(12px) saturate(125%) !important;
  box-shadow: 0 5px 16px rgba(25,43,72,.10), inset 0 1px 0 rgba(255,255,255,.18) !important;
}

html body.default-light-mode #ai-chat-modal#ai-chat-modal .msg-bubble.bot,
html.theme-bootstrap-light body #ai-chat-modal#ai-chat-modal .msg-bubble.bot {
  background: rgba(250,253,255,.76) !important;
  border: 1px solid rgba(112,143,183,.38) !important;
  box-shadow: 0 5px 16px rgba(49,75,112,.09), inset 0 1px 0 rgba(255,255,255,.86) !important;
}
html body.default-light-mode #ai-chat-modal#ai-chat-modal .msg-bubble.admin,
html.theme-bootstrap-light body #ai-chat-modal#ai-chat-modal .msg-bubble.admin {
  background: rgba(239,232,255,.78) !important;
  border: 1px solid rgba(151,125,204,.42) !important;
  box-shadow: 0 5px 16px rgba(76,55,121,.09), inset 0 1px 0 rgba(255,255,255,.72) !important;
}
html body.default-light-mode #ai-chat-modal#ai-chat-modal .msg-bubble.user,
html.theme-bootstrap-light body #ai-chat-modal#ai-chat-modal .msg-bubble.user {
  border: 1px solid rgba(255,255,255,.44) !important;
  box-shadow: 0 5px 16px rgba(202,105,40,.15), inset 0 1px 0 rgba(255,255,255,.30) !important;
}

html body.default-dark-mode #ai-chat-modal#ai-chat-modal .msg-bubble.bot,
html.theme-bootstrap-dark body #ai-chat-modal#ai-chat-modal .msg-bubble.bot {
  background: linear-gradient(145deg, rgba(37,55,88,.76), rgba(43,38,76,.78)) !important;
  border: 1px solid rgba(157,184,235,.38) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.20), inset 0 1px 0 rgba(231,240,255,.15) !important;
}
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .msg-bubble.admin,
html.theme-bootstrap-dark body #ai-chat-modal#ai-chat-modal .msg-bubble.admin {
  background: linear-gradient(145deg, rgba(65,47,91,.78), rgba(42,37,72,.82)) !important;
  border: 1px solid rgba(190,153,235,.42) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.22), inset 0 1px 0 rgba(246,232,255,.14) !important;
}
html body.default-dark-mode #ai-chat-modal#ai-chat-modal .msg-bubble.user,
html.theme-bootstrap-dark body #ai-chat-modal#ai-chat-modal .msg-bubble.user {
  border: 1px solid rgba(255,221,190,.48) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.28) !important;
}

@media (prefers-reduced-motion: reduce) {
  html body #v147-particles-back,
  html body #v147-particles-front { animation: none !important; }
}
