/* ======================================================
✨ BOTLY CHAT THEME: Stratboost Premium
Scope:
  - Widget: .botly-widget.botly-theme-stratboost-premium
  - Bubble: #botly-bubble.botly-theme-stratboost-premium

Purpose:
  Premium AI Enquiry Engine design test.
  Dark glass, blue/purple glow, rounded SaaS UI, premium orb,
  business-trained feel, improved readability.
====================================================== */


/* ======================================================
1) THEME VARIABLES
====================================================== */

.botly-widget.botly-theme-stratboost-premium,
.botly-bubble.botly-theme-stratboost-premium {
  /* Core palette */
  --botly-color-primary: #070816;
  --botly-color-primary-600: #0b1024;
  --botly-color-accent: #38bdf8;
  --botly-color-accent-2: #a855f7;
  --botly-color-accent-3: #22d3ee;
  --botly-color-bg: #050716;
  --botly-color-surface: rgba(9, 14, 34, 0.88);
  --botly-color-muted: rgba(222, 232, 255, 0.68);

  --botly-color-bot-bubble: rgba(15, 23, 50, 0.9);
  --botly-color-user-bubble: rgba(37, 99, 235, 0.94);
  --botly-color-text: #f8fbff;
  --botly-color-border: rgba(125, 211, 252, 0.22);

  --botly-success: #2df7a3;

  /* Type */
  --botly-font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Radius */
  --botly-radius-sm: 14px;
  --botly-radius-md: 18px;
  --botly-radius-lg: 30px;

  /* Shadows */
  --botly-shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.28);
  --botly-shadow-md: 0 18px 48px rgba(0, 0, 0, 0.38);
  --botly-shadow-lg:
    0 0 0 1px rgba(125, 211, 252, 0.12),
    0 30px 90px rgba(0, 0, 0, 0.58),
    0 0 80px rgba(56, 189, 248, 0.16),
    0 0 120px rgba(168, 85, 247, 0.16);

  /* Launcher bubble */
  --bubble-size: 74px;
  --bubble-ring: rgba(125, 211, 252, 0.32);
  --bubble-glow: rgba(56, 189, 248, 0.38);
  --bubble-bg-start: #38bdf8;
  --bubble-bg-mid: #2563eb;
  --bubble-bg-end: #a855f7;

  /* Tooltip */
  --tooltip-bg: rgba(8, 12, 28, 0.92);
  --tooltip-border: rgba(125, 211, 252, 0.22);
  --tooltip-color: #f8fbff;

  /* Presence */
  --presence-color: #24f5a4;
  --presence-ring: #061022;

  /* Confetti */
  --confetti-1: #38bdf8;
  --confetti-2: #a855f7;
  --confetti-3: #24f5a4;
  --confetti-4: #facc15;

  /* Mascot SVG */
  --botly-mascot-grad-start: #38bdf8;
  --botly-mascot-grad-end: #a855f7;
  --botly-mascot-visor: rgba(5, 8, 22, 0.92);
  --botly-mascot-visor-opacity: 1;
  --botly-mascot-eye: #60efff;
  --botly-mascot-sparkle: #ffffff;
  --botly-mascot-sparkle-opacity: 0.95;
  --botly-mascot-smile: #dbeafe;

  --mascot-glow:
    0 0 18px rgba(56, 189, 248, 0.45),
    0 0 30px rgba(168, 85, 247, 0.32);

  --mascot-eye-wink-scale: 0.24;
  --mascot-eye-wink-duration: 0.35s;

  --max-inline-size: 100%;
}


/* ======================================================
2) LAUNCHER ORB
====================================================== */

#botly-bubble.botly-theme-stratboost-premium {
  width: var(--bubble-size);
  height: var(--bubble-size);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.72), transparent 18%),
    radial-gradient(circle at 68% 74%, rgba(168, 85, 247, 0.72), transparent 36%),
    linear-gradient(135deg, var(--bubble-bg-start), var(--bubble-bg-mid) 46%, var(--bubble-bg-end));
  border: 1px solid rgba(226, 246, 255, 0.34);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(56, 189, 248, 0.42),
    0 0 58px rgba(168, 85, 247, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  overflow: visible;
}

#botly-bubble.botly-theme-stratboost-premium::before {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: inherit;
  background:
    conic-gradient(
      from 220deg,
      rgba(56, 189, 248, 0),
      rgba(56, 189, 248, 0.72),
      rgba(168, 85, 247, 0.9),
      rgba(56, 189, 248, 0)
    );
  filter: blur(10px);
  opacity: 0.76;
  z-index: -1;
  animation: botlyPremiumOrb 6s linear infinite;
}

@keyframes botlyPremiumOrb {
  to {
    transform: rotate(360deg);
  }
}

#botly-bubble.botly-theme-stratboost-premium::after {
  content: "";
  position: absolute;
  inset: -13px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.32), transparent 62%);
  filter: blur(12px);
  opacity: 0.9;
  pointer-events: none;
  z-index: -2;
}

#botly-bubble.botly-theme-stratboost-premium .botly-sticker {
  background:
    radial-gradient(circle at 34% 20%, rgba(255, 255, 255, 0.88), transparent 18%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 12px 30px rgba(5, 8, 22, 0.38);
}

#botly-bubble.botly-theme-stratboost-premium .botly-face {
  filter: drop-shadow(var(--mascot-glow));
}

#botly-bubble.botly-theme-stratboost-premium .botly-presence {
  width: 15px;
  height: 15px;
  right: 4px;
  bottom: 5px;
  background: var(--presence-color);
  border: 3px solid var(--presence-ring);
  box-shadow: 0 0 18px rgba(45, 247, 163, 0.85);
}

#botly-bubble.botly-theme-stratboost-premium .botly-tooltip {
  background: var(--tooltip-bg);
  color: var(--tooltip-color);
  border: 1px solid var(--tooltip-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  font-weight: 850;
  letter-spacing: -0.01em;
}

#botly-bubble.botly-theme-stratboost-premium:hover .botly-sticker {
  transform: translateY(-1px) scale(1.035);
}

#botly-bubble.botly-theme-stratboost-premium:active .botly-sticker {
  transform: translateY(0) scale(1);
}

#botly-bubble.botly-theme-stratboost-premium .botly-confetti i:nth-child(1) { background: var(--confetti-1); }
#botly-bubble.botly-theme-stratboost-premium .botly-confetti i:nth-child(2) { background: var(--confetti-2); }
#botly-bubble.botly-theme-stratboost-premium .botly-confetti i:nth-child(3) { background: var(--confetti-3); }
#botly-bubble.botly-theme-stratboost-premium .botly-confetti i:nth-child(4) { background: var(--confetti-4); }
#botly-bubble.botly-theme-stratboost-premium .botly-confetti i:nth-child(5) { background: var(--confetti-2); }
#botly-bubble.botly-theme-stratboost-premium .botly-confetti i:nth-child(6) { background: var(--confetti-1); }

#botly-bubble.botly-theme-stratboost-premium:hover .botly-face .eyes .eye {
  transform-origin: center;
  animation: premiumWink var(--mascot-eye-wink-duration) ease-in-out 1;
}

@keyframes premiumWink {
  0% { transform: scaleY(1); }
  45% { transform: scaleY(var(--mascot-eye-wink-scale)); }
  100% { transform: scaleY(1); }
}


/* ======================================================
3) WIDGET SHELL
====================================================== */

.botly-widget.botly-theme-stratboost-premium {
  width: min(420px, calc(100vw - 24px));
  height: min(680px, calc(100vh - 32px));
  border-radius: 30px;
  background:
    radial-gradient(circle at 16% 8%, rgba(56, 189, 248, 0.26), transparent 34%),
    radial-gradient(circle at 92% 4%, rgba(168, 85, 247, 0.24), transparent 34%),
    radial-gradient(circle at 88% 90%, rgba(37, 99, 235, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(10, 16, 38, 0.94), rgba(5, 8, 22, 0.96));
  border: 1px solid rgba(165, 222, 255, 0.2);
  box-shadow: var(--botly-shadow-lg);
  color: var(--botly-color-text);
  font-family: var(--botly-font-family);
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
}

.botly-widget.botly-theme-stratboost-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 26%),
    linear-gradient(90deg, rgba(56, 189, 248, 0.12), transparent 36%, rgba(168, 85, 247, 0.12)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.14), transparent 38%);
  opacity: 0.88;
  z-index: 0;
}

.botly-widget.botly-theme-stratboost-premium::after {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: 29px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 58%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 58%);
  opacity: 0.32;
  z-index: 0;
}

.botly-widget.botly-theme-stratboost-premium > * {
  position: relative;
  z-index: 1;
}

.botly-widget.botly-theme-stratboost-premium .botly-shell-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 189, 248, 0.22), transparent 34%),
    radial-gradient(circle at 96% 0%, rgba(168, 85, 247, 0.20), transparent 36%);
  opacity: 0.85;
}


/* ======================================================
4) HEADER
====================================================== */

.botly-widget.botly-theme-stratboost-premium .botly-header {
  min-height: 88px;
  padding: 18px 18px 16px;
  gap: 12px;
  background:
    linear-gradient(135deg, rgba(12, 18, 42, 0.92), rgba(19, 27, 62, 0.72)),
    radial-gradient(circle at 18% 8%, rgba(56, 189, 248, 0.18), transparent 40%);
  color: #f8fbff;
  border-bottom: 1px solid rgba(125, 211, 252, 0.16);
}

#botly-widget.botly-theme-stratboost-premium .botly-header::after {
  content: none !important;
  display: none !important;
}

.botly-widget.botly-theme-stratboost-premium .botly-avatar {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.78), transparent 20%),
    linear-gradient(135deg, rgba(56, 189, 248, 0.95), rgba(168, 85, 247, 0.95));
  box-shadow:
    0 0 24px rgba(56, 189, 248, 0.34),
    0 0 34px rgba(168, 85, 247, 0.25);
  overflow: hidden;
  flex: 0 0 auto;
}

.botly-widget.botly-theme-stratboost-premium .botly-avatar img {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  object-fit: cover;
}

.botly-widget.botly-theme-stratboost-premium .botly-meta {
  min-width: 0;
  padding-right: 78px;
}

.botly-widget.botly-theme-stratboost-premium #botly-name {
  display: block;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: -0.02em;
  color: #ffffff;
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.botly-widget.botly-theme-stratboost-premium .botly-status {
  display: none;
}

.botly-widget.botly-theme-stratboost-premium .botly-header-badge {
  display: inline-flex;
  width: max-content;
  max-width: 210px;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #bff5ff;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.24);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 8px 20px rgba(0, 0, 0, 0.14);
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.botly-widget.botly-theme-stratboost-premium .botly-minimize,
.botly-widget.botly-theme-stratboost-premium .botly-back {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #f8fbff;
  background: rgba(255, 255, 255, 0.075) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.botly-widget.botly-theme-stratboost-premium .botly-back {
  right: 52px !important;
}

.botly-widget.botly-theme-stratboost-premium .botly-minimize:hover,
.botly-widget.botly-theme-stratboost-premium .botly-back:hover {
  background: rgba(56, 189, 248, 0.14) !important;
  border-color: rgba(56, 189, 248, 0.32) !important;
  box-shadow: none !important;
}


/* ======================================================
5) COVER SCREEN
====================================================== */

.botly-widget.botly-theme-stratboost-premium .botly-cover {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 34px 24px 28px;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 189, 248, 0.2), transparent 36%),
    radial-gradient(circle at 100% 0%, rgba(168, 85, 247, 0.22), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(37, 99, 235, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(9, 14, 34, 0.96), rgba(5, 8, 22, 0.96));
}

.botly-widget.botly-theme-stratboost-premium .botly-cover::before {
  opacity: 0.18;
}

.botly-widget.botly-theme-stratboost-premium .botly-premium-kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  width: max-content;
  max-width: calc(100% - 52px);
  margin: 2px 0 18px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #bff5ff;
  background: rgba(56, 189, 248, 0.11);
  border: 1px solid rgba(56, 189, 248, 0.24);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.14);
}

.botly-widget.botly-theme-stratboost-premium .cover-title {
  margin: 0;
  padding-right: 40px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 950;
  text-shadow:
    0 0 20px rgba(56, 189, 248, 0.22),
    0 0 28px rgba(168, 85, 247, 0.18);
}

.botly-widget.botly-theme-stratboost-premium .cover-subtitle {
  margin: 18px 0 0;
  color: rgba(222, 232, 255, 0.76);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.botly-widget.botly-theme-stratboost-premium .botly-cover-proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 24px 0 20px;
}

.botly-widget.botly-theme-stratboost-premium .botly-proof-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 13px;
  border-radius: 17px;
  color: rgba(248, 251, 255, 0.86);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(125, 211, 252, 0.16);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.botly-widget.botly-theme-stratboost-premium .botly-proof-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.24), rgba(168, 85, 247, 0.22));
  border: 1px solid rgba(125, 211, 252, 0.18);
}

.botly-widget.botly-theme-stratboost-premium .botly-proof-text strong {
  display: block;
  font-size: 12.5px;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 2px;
}

.botly-widget.botly-theme-stratboost-premium .botly-proof-text span {
  display: block;
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(222, 232, 255, 0.66);
}

.botly-widget.botly-theme-stratboost-premium .cover-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.botly-widget.botly-theme-stratboost-premium .btn-premium {
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.36), transparent 25%),
    linear-gradient(135deg, #38bdf8, #2563eb 46%, #a855f7) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow:
    0 14px 34px rgba(37, 99, 235, 0.3),
    0 0 36px rgba(168, 85, 247, 0.22) !important;
  font-weight: 950;
}

.botly-widget.botly-theme-stratboost-premium .btn-premium:hover,
.botly-widget.botly-theme-stratboost-premium .btn-premium:focus {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.botly-widget.botly-theme-stratboost-premium .btn-secondary {
  border-radius: 18px;
  color: #dff8ff !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(125, 211, 252, 0.18) !important;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03) !important;
}

.botly-widget.botly-theme-stratboost-premium .btn-secondary:hover,
.botly-widget.botly-theme-stratboost-premium .btn-secondary:focus {
  color: #ffffff !important;
  background: rgba(56, 189, 248, 0.12) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}

.botly-widget.botly-theme-stratboost-premium .cover-subscribe-container {
  margin-top: 18px;
}

.botly-widget.botly-theme-stratboost-premium .cover-subscribe-cta {
  margin: 0 0 10px;
  color: rgba(248, 251, 255, 0.76);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

#botly-widget.botly-theme-stratboost-premium .cover-subscribe {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 5px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)) !important;
  border: 1px solid rgba(125, 211, 252, 0.18) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035) !important;
  overflow: hidden;
}

#botly-widget.botly-theme-stratboost-premium .botly-cover .cover-subscribe input[type="email"],
#botly-widget.botly-theme-stratboost-premium .botly-cover.force-dark .cover-subscribe input[type="email"],
#botly-widget.botly-theme-stratboost-premium .botly-cover.force-light .cover-subscribe input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px !important;
  color: #f8fbff !important;
  background: rgba(7, 12, 29, 0.72) !important;
  border: 1px solid rgba(125, 211, 252, 0.16) !important;
  outline: none !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025) !important;
}

#botly-widget.botly-theme-stratboost-premium .cover-subscribe input::placeholder {
  color: rgba(222, 232, 255, 0.48) !important;
}

#botly-widget.botly-theme-stratboost-premium .cover-subscribe input:focus {
  border-color: rgba(56, 189, 248, 0.42) !important;
  box-shadow:
    0 0 0 4px rgba(56, 189, 248, 0.10),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
}

#botly-widget.botly-theme-stratboost-premium .cover-subscribe button {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.32), transparent 24%),
    linear-gradient(135deg, var(--botly-color-accent), var(--botly-color-accent-2)) !important;
  color: #ffffff !important;
  font-weight: 950;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 10px 26px rgba(37, 99, 235, 0.26),
    0 0 24px rgba(168, 85, 247, 0.18);
}


/* ======================================================
6) CHAT BODY + MESSAGES AREA
====================================================== */

.botly-widget.botly-theme-stratboost-premium .botly-body {
  min-height: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(3, 6, 18, 0.12), rgba(3, 6, 18, 0.42));
}

.botly-widget.botly-theme-stratboost-premium .botly-messages {
  position: relative;
  min-height: 0;
  padding: 18px 18px 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.08), transparent 36%),
    radial-gradient(circle at 88% 72%, rgba(168, 85, 247, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(3, 6, 18, 0.18), rgba(3, 6, 18, 0.44));
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.botly-widget.botly-theme-stratboost-premium .botly-messages::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: 42px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(56, 189, 248, 0.16), transparent 58%),
    radial-gradient(circle at 70% 68%, rgba(168, 85, 247, 0.14), transparent 58%);
  filter: blur(10px);
  pointer-events: none;
  opacity: 0.82;
}

.botly-widget.botly-theme-stratboost-premium .botly-messages > * {
  position: relative;
  z-index: 1;
}

.botly-widget.botly-theme-stratboost-premium .botly-chat-context {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 16px;
  color: rgba(222, 232, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.026));
  border: 1px solid rgba(125, 211, 252, 0.14);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.026);
  font-size: 11.5px;
  font-weight: 750;
}

.botly-widget.botly-theme-stratboost-premium .botly-chat-context strong {
  color: #ffffff;
}

.botly-widget.botly-theme-stratboost-premium .botly-message {
  max-inline-size: 100%;
}

.botly-widget.botly-theme-stratboost-premium .botly-bubble-text,
.botly-widget.botly-theme-stratboost-premium .booking-card,
.botly-widget.botly-theme-stratboost-premium .botly-inline-form {
  max-inline-size: var(--max-inline-size);
  overflow-wrap: anywhere;
  word-break: break-word;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.55;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.botly-widget.botly-theme-stratboost-premium .botly-message-bot .botly-bubble-text,
.botly-widget.botly-theme-stratboost-premium .booking-card,
.botly-widget.botly-theme-stratboost-premium .botly-inline-form {
  color: rgba(248, 251, 255, 0.94);
  background:
    linear-gradient(180deg, rgba(16, 24, 52, 0.92), rgba(11, 16, 36, 0.92));
  border: 1px solid rgba(125, 211, 252, 0.16);
}

.botly-widget.botly-theme-stratboost-premium .botly-message-user .botly-bubble-text {
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.32), transparent 24%),
    linear-gradient(135deg, #2563eb, #7c3aed 74%, #a855f7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 14px 34px rgba(37, 99, 235, 0.26),
    0 0 30px rgba(168, 85, 247, 0.18);
}

.botly-widget.botly-theme-stratboost-premium .botly-message-bot .botly-bubble-text::before,
.botly-widget.botly-theme-stratboost-premium .botly-message-user .botly-bubble-text::before {
  display: none;
}

.botly-widget.botly-theme-stratboost-premium .botly-bubble-text a {
  color: #7dd3fc;
  font-weight: 800;
  text-decoration-thickness: 2px;
}

.botly-widget.botly-theme-stratboost-premium .botly-bubble-text a:hover {
  color: #c084fc;
  text-decoration: underline;
}


/* ======================================================
7) TYPING DOTS
====================================================== */

.botly-widget.botly-theme-stratboost-premium .botly-typing {
  padding-left: 4px;
}

.botly-widget.botly-theme-stratboost-premium .botly-typing .dot {
  background: #7dd3fc;
  box-shadow: 0 0 12px rgba(125, 211, 252, 0.7);
}


/* ======================================================
8) QUICK REPLIES
====================================================== */

.botly-widget.botly-theme-stratboost-premium .botly-quick-replies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.botly-widget.botly-theme-stratboost-premium .botly-quick-replies button {
  min-height: 48px;
  border-radius: 17px;
  padding: 11px 12px;
  color: #eaf7ff;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.032));
  border: 1px solid rgba(125, 211, 252, 0.18);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  font-size: 12.5px;
  font-weight: 850;
  line-height: 1.25;
  text-align: left;
}

.botly-widget.botly-theme-stratboost-premium .botly-quick-replies button:hover,
.botly-widget.botly-theme-stratboost-premium .botly-quick-replies button:focus {
  transform: translateY(-1px);
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(168, 85, 247, 0.22));
  border-color: rgba(125, 211, 252, 0.34);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.24),
    0 0 28px rgba(56, 189, 248, 0.10),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}


/* ======================================================
9) COMPOSER
====================================================== */

.botly-widget.botly-theme-stratboost-premium .botly-input {
  padding: 14px;
  gap: 10px;
  background: rgba(5, 8, 22, 0.84);
  border-top: 1px solid rgba(125, 211, 252, 0.14);
}

.botly-widget.botly-theme-stratboost-premium .botly-input input {
  height: 52px;
  border-radius: 18px;
  padding: 0 16px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(125, 211, 252, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.botly-widget.botly-theme-stratboost-premium .botly-input input::placeholder {
  color: rgba(222, 232, 255, 0.48);
}

.botly-widget.botly-theme-stratboost-premium .botly-input input:focus {
  border-color: rgba(56, 189, 248, 0.42);
  box-shadow:
    0 0 0 4px rgba(56, 189, 248, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.botly-widget.botly-theme-stratboost-premium .botly-input button {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.45), transparent 24%),
    linear-gradient(135deg, #38bdf8, #2563eb 46%, #a855f7);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 14px 32px rgba(37, 99, 235, 0.3),
    0 0 34px rgba(168, 85, 247, 0.22);
}

.botly-widget.botly-theme-stratboost-premium .botly-input button:hover,
.botly-widget.botly-theme-stratboost-premium .botly-input button:focus {
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 16px 38px rgba(37, 99, 235, 0.36),
    0 0 42px rgba(168, 85, 247, 0.3);
}

.botly-widget.botly-theme-stratboost-premium .botly-input button:active {
  transform: translateY(0) scale(1);
}


/* ======================================================
10) FOOTER
====================================================== */

.botly-widget.botly-theme-stratboost-premium .botly-footer {
  min-height: 31px;
  padding: 7px 12px 8px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 8, 22, 0.90);
  border-top: 1px solid rgba(125, 211, 252, 0.12);
  color: rgba(222, 232, 255, 0.62);
  font-size: 11.5px;
  line-height: 1.35;
  text-align: center;
}

.botly-widget.botly-theme-stratboost-premium .botly-footer span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.botly-widget.botly-theme-stratboost-premium .botly-footer::before {
  content: "🔒";
  margin-right: 4px;
  opacity: 0.82;
}

.botly-widget.botly-theme-stratboost-premium .botly-footer a {
  color: #7dd3fc;
  font-weight: 850;
  text-decoration: none;
}

.botly-widget.botly-theme-stratboost-premium .botly-footer a:hover {
  color: #c084fc;
  text-decoration: underline;
}


/* ======================================================
11) INLINE LEAD / BOOKING FORMS
====================================================== */

.botly-widget.botly-theme-stratboost-premium .botly-inline-form {
  padding: 14px;
}

.botly-widget.botly-theme-stratboost-premium .botly-inline-form input[type="text"],
.botly-widget.botly-theme-stratboost-premium .botly-inline-form input[type="email"],
.botly-widget.botly-theme-stratboost-premium .botly-inline-form input[type="tel"] {
  min-height: 44px;
  border-radius: 14px;
  padding: 0 13px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(125, 211, 252, 0.16);
}

.botly-widget.botly-theme-stratboost-premium .botly-inline-form input::placeholder {
  color: rgba(222, 232, 255, 0.5);
}

.botly-widget.botly-theme-stratboost-premium .botly-inline-form input:focus {
  border-color: rgba(56, 189, 248, 0.42);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
}

.botly-widget.botly-theme-stratboost-premium .botly-inline-form .btn-primary {
  border-radius: 15px;
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.28), transparent 24%),
    linear-gradient(135deg, #38bdf8, #2563eb 48%, #a855f7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.26);
  font-weight: 900;
}


/* ======================================================
12) DOM ORDER FALLBACKS
====================================================== */

.botly-widget.botly-theme-stratboost-premium ~ #botly-bubble .botly-sticker {
  background:
    radial-gradient(circle at 34% 20%, rgba(255, 255, 255, 0.88), transparent 18%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 12px 30px rgba(5, 8, 22, 0.38);
}

.botly-widget.botly-theme-stratboost-premium ~ #botly-bubble::after {
  background:
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.32), transparent 62%);
}

.botly-widget.botly-theme-stratboost-premium ~ #botly-bubble .botly-tooltip {
  background: var(--tooltip-bg);
  border: 1px solid var(--tooltip-border);
  color: var(--tooltip-color);
}


/* ======================================================
13) MOBILE
====================================================== */

@media (max-width: 480px) {
  .botly-widget.botly-theme-stratboost-premium {
    width: calc(100vw - 18px);
    height: min(680px, calc(100vh - 18px));
    right: 9px;
    left: auto;
    bottom: 9px;
    border-radius: 26px;
  }

  .botly-widget.botly-theme-stratboost-premium .botly-header {
    min-height: 86px;
    padding: 16px 16px 14px;
  }

  .botly-widget.botly-theme-stratboost-premium .botly-meta {
    padding-right: 72px;
  }

  .botly-widget.botly-theme-stratboost-premium #botly-name {
    max-width: 172px;
  }

  .botly-widget.botly-theme-stratboost-premium .botly-header-badge {
    max-width: 172px;
  }

  .botly-widget.botly-theme-stratboost-premium .botly-cover {
    padding: 32px 20px 24px;
  }

  .botly-widget.botly-theme-stratboost-premium .cover-title {
    font-size: 25px;
  }

  .botly-widget.botly-theme-stratboost-premium .cover-subtitle {
    font-size: 13px;
  }

  .botly-widget.botly-theme-stratboost-premium .botly-cover-proof {
    gap: 9px;
    margin: 20px 0 18px;
  }

  .botly-widget.botly-theme-stratboost-premium .botly-proof-item {
    padding: 10px 11px;
  }

  .botly-widget.botly-theme-stratboost-premium .botly-quick-replies {
    grid-template-columns: 1fr;
  }

  #botly-bubble.botly-theme-stratboost-premium {
    width: 68px;
    height: 68px;
  }

  #botly-widget.botly-theme-stratboost-premium .cover-subscribe {
    min-height: 50px;
  }

  #botly-widget.botly-theme-stratboost-premium .botly-cover .cover-subscribe input[type="email"] {
    height: 40px;
  }

  #botly-widget.botly-theme-stratboost-premium .cover-subscribe button {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
}


/* ======================================================
14) ACCESSIBILITY
====================================================== */

@media (prefers-reduced-motion: reduce) {
  #botly-bubble.botly-theme-stratboost-premium::before {
    animation: none;
  }

  #botly-bubble.botly-theme-stratboost-premium .botly-face .eyes .eye {
    animation: none !important;
  }

  #botly-bubble.botly-theme-stratboost-premium,
  #botly-bubble.botly-theme-stratboost-premium .botly-sticker,
  .botly-widget.botly-theme-stratboost-premium .botly-input button,
  .botly-widget.botly-theme-stratboost-premium .botly-quick-replies button {
    transition: none !important;
  }
}

/* Fix cover email submit arrow alignment */
#botly-widget.botly-theme-stratboost-premium .cover-subscribe button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
  padding: 0 !important;
  flex: 0 0 46px !important;
  width: 46px !important;
  height: 46px !important;
}

#botly-widget.botly-theme-stratboost-premium .cover-subscribe button::before,
#botly-widget.botly-theme-stratboost-premium .cover-subscribe button::after {
  line-height: 1 !important;
}

/* ======================================================
15) COVER PAGE CONTAINMENT FIX
Fixes standalone /b/... cover screen clipping on premium chat theme.
====================================================== */

#botly-widget.botly-theme-stratboost-premium,
.botly-widget.botly-theme-stratboost-premium {
  box-sizing: border-box !important;
  max-width: calc(100vw - 24px) !important;
  max-height: calc(100vh - 24px) !important;
  overflow: hidden !important;
}

#botly-widget.botly-theme-stratboost-premium .botly-cover,
.botly-widget.botly-theme-stratboost-premium .botly-cover {
  min-height: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
  justify-content: flex-start !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 26px 22px 20px !important;
  box-sizing: border-box !important;
  overscroll-behavior-y: contain !important;
  -webkit-overflow-scrolling: touch !important;
}

#botly-widget.botly-theme-stratboost-premium .cover-title,
.botly-widget.botly-theme-stratboost-premium .cover-title {
  font-size: clamp(22px, 4.2vw, 28px) !important;
  line-height: 1.08 !important;
  padding-right: 42px !important;
  margin-bottom: 0 !important;
}

#botly-widget.botly-theme-stratboost-premium .cover-subtitle,
.botly-widget.botly-theme-stratboost-premium .cover-subtitle {
  margin-top: 12px !important;
  font-size: 13px !important;
  line-height: 1.48 !important;
}

#botly-widget.botly-theme-stratboost-premium .botly-cover-proof,
.botly-widget.botly-theme-stratboost-premium .botly-cover-proof {
  gap: 9px !important;
  margin: 18px 0 16px !important;
}

#botly-widget.botly-theme-stratboost-premium .botly-proof-item,
.botly-widget.botly-theme-stratboost-premium .botly-proof-item {
  padding: 10px 12px !important;
}

#botly-widget.botly-theme-stratboost-premium .cover-actions,
.botly-widget.botly-theme-stratboost-premium .cover-actions {
  gap: 9px !important;
}

#botly-widget.botly-theme-stratboost-premium .cover-subscribe-container,
.botly-widget.botly-theme-stratboost-premium .cover-subscribe-container {
  margin-top: 14px !important;
  padding-bottom: 4px !important;
  flex: 0 0 auto !important;
}

@media (max-height: 760px) {
  #botly-widget.botly-theme-stratboost-premium .botly-cover,
  .botly-widget.botly-theme-stratboost-premium .botly-cover {
    padding-top: 22px !important;
    padding-bottom: 18px !important;
  }

  #botly-widget.botly-theme-stratboost-premium .botly-premium-kicker,
  .botly-widget.botly-theme-stratboost-premium .botly-premium-kicker {
    margin-bottom: 12px !important;
  }

  #botly-widget.botly-theme-stratboost-premium .botly-cover-proof,
  .botly-widget.botly-theme-stratboost-premium .botly-cover-proof {
    margin: 14px 0 14px !important;
  }
}

@media (max-width: 480px) {
  #botly-widget.botly-theme-stratboost-premium .botly-cover,
  .botly-widget.botly-theme-stratboost-premium .botly-cover {
    padding: 24px 18px 18px !important;
  }
}

