.sb-chat-nudge {
  position: fixed;
  right: 92px;
  bottom: 20px;
  z-index: 2147483000;
  width: min(280px, calc(100vw - 124px));
  padding: 14px 18px 14px;
  border-radius: 16px;
  background: rgba(7, 14, 25, 0.94);
  border: 1px solid rgba(0, 212, 255, 0.28);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.36), 0 0 24px rgba(0, 212, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sb-chat-nudge.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* While SimplyBook chat panel is open — no overlap with chat UI */
.sb-chat-nudge.is-visible.is-suppressed-for-chat {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.sb-chat-nudge:hover {
  border-color: rgba(0, 212, 255, 0.42);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4), 0 0 28px rgba(0, 212, 255, 0.18);
}

.sb-chat-nudge:focus-visible {
  outline: 2px solid rgba(0, 212, 255, 0.7);
  outline-offset: 2px;
}

.sb-chat-nudge::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: 22px;
  width: 14px;
  height: 14px;
  background: rgba(7, 14, 25, 0.94);
  border-top: 1px solid rgba(0, 212, 255, 0.28);
  border-right: 1px solid rgba(0, 212, 255, 0.28);
  transform: rotate(45deg);
}

.sb-chat-nudge__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.sb-chat-nudge__close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.sb-chat-nudge__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  padding-right: 24px;
  color: #7defff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sb-chat-nudge__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #00d4ff;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
  flex: 0 0 auto;
}

.sb-chat-nudge__title {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.sb-chat-nudge__text {
  margin: 0;
  color: rgba(223, 235, 247, 0.78);
  font-size: 13px;
  line-height: 1.5;
}

.sb-chat-nudge__compact-label {
  display: none;
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.sb-chat-nudge.is-compact {
  width: auto;
  max-width: min(220px, calc(100vw - 28px));
  padding: 10px 38px 10px 14px;
  border-radius: 999px;
}

.sb-chat-nudge.is-compact::after {
  display: none;
}

.sb-chat-nudge.is-compact .sb-chat-nudge__eyebrow,
.sb-chat-nudge.is-compact .sb-chat-nudge__title,
.sb-chat-nudge.is-compact .sb-chat-nudge__text {
  display: none !important;
}

.sb-chat-nudge.is-compact .sb-chat-nudge__compact-label {
  display: block;
}

.sb-chat-nudge.is-compact .sb-chat-nudge__close {
  top: 50%;
  transform: translateY(-50%);
}

/* SimplyBook built-in launcher teaser (e.g. "Try to book with AI"): child .sb-start-chat-btn_txt in normal DOM per vendor app.css */
#sb_ai_widget .sb-start-chat-btn .sb-start-chat-btn_txt {
  display: none !important;
}

/* Square launcher: keep in DOM for programmatic .click(); hidden visually (pill opens chat) */
#sb_ai_widget .sb-start-chat-btn {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 768px) {
  .sb-chat-nudge {
    right: 14px;
    bottom: 84px;
    width: min(260px, calc(100vw - 28px));
    padding: 13px 16px 13px;
  }

  .sb-chat-nudge.is-compact {
    width: auto;
    max-width: min(200px, calc(100vw - 24px));
    padding: 9px 36px 9px 14px;
  }

  .sb-chat-nudge::after {
    right: 28px;
    bottom: -7px;
    border-top: 0;
    border-right: 1px solid rgba(0, 212, 255, 0.28);
    border-bottom: 1px solid rgba(0, 212, 255, 0.28);
  }

  .sb-chat-nudge__title {
    font-size: 17px;
  }
}

@media (max-width: 420px) {
  .sb-chat-nudge {
    width: min(240px, calc(100vw - 24px));
  }

  .sb-chat-nudge.is-compact {
    max-width: min(190px, calc(100vw - 20px));
  }

  .sb-chat-nudge__title {
    font-size: 16px;
  }

  .sb-chat-nudge__text {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sb-chat-nudge {
    transition: none;
  }
}
