/* BCN chat attention teaser — sits above LeadConnector bubble (bottom-right) */
.bcn-chat-teaser {
  position: fixed;
  z-index: 2147483000;
  right: 1.35rem;
  bottom: 6.35rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  max-width: min(17.5rem, calc(100vw - 5.5rem));
  font-family: var(--font-head, Roboto, system-ui, sans-serif);
  pointer-events: none;
}

.bcn-chat-teaser[hidden] {
  display: none !important;
}

.bcn-chat-teaser__card {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 0.95rem 0.85rem 1rem;
  background: var(--white, #fff);
  color: var(--ink, #0e172a);
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 12px;
  box-shadow: 0 12px 32px -10px rgba(33, 22, 82, 0.28), 0 2px 6px rgba(2, 6, 23, 0.06);
  cursor: pointer;
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.bcn-chat-teaser__card:hover,
.bcn-chat-teaser__card:focus-visible {
  transform: translateY(-1px);
  border-color: var(--brand-light, #8b63f2);
  box-shadow: 0 16px 36px -10px rgba(107, 58, 237, 0.35), 0 2px 6px rgba(2, 6, 23, 0.08);
  outline: none;
}

.bcn-chat-teaser__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--brand-tint, #f3efff);
  color: var(--brand, #6b3aed);
  display: grid;
  place-items: center;
}

.bcn-chat-teaser__icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.bcn-chat-teaser__copy {
  min-width: 0;
  padding-right: 0.85rem;
}

.bcn-chat-teaser__label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink, #0e172a);
}

.bcn-chat-teaser__sub {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--muted, #64748b);
}

.bcn-chat-teaser__dismiss {
  pointer-events: auto;
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted, #64748b);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.bcn-chat-teaser__dismiss:hover,
.bcn-chat-teaser__dismiss:focus-visible {
  background: var(--brand-tint, #f3efff);
  color: var(--brand, #6b3aed);
  outline: none;
}

.bcn-chat-teaser__dismiss svg {
  width: 0.85rem;
  height: 0.85rem;
}

.bcn-chat-teaser__arrow {
  width: 0.85rem;
  height: 0.85rem;
  background: var(--white, #fff);
  border-right: 1px solid var(--line, #e2e8f0);
  border-bottom: 1px solid var(--line, #e2e8f0);
  transform: rotate(45deg);
  margin-right: 1.15rem;
  margin-top: -0.7rem;
  box-shadow: 2px 2px 4px rgba(2, 6, 23, 0.04);
}

@keyframes bcn-chat-teaser-pulse {
  0%, 100% { box-shadow: 0 12px 32px -10px rgba(33, 22, 82, 0.28), 0 0 0 0 rgba(107, 58, 237, 0.35); }
  50% { box-shadow: 0 12px 32px -10px rgba(33, 22, 82, 0.28), 0 0 0 6px rgba(107, 58, 237, 0); }
}

.bcn-chat-teaser__card--pulse {
  animation: bcn-chat-teaser-pulse 2.4s ease-out 3;
}

@media (max-width: 560px) {
  .bcn-chat-teaser {
    right: 0.85rem;
    bottom: 5.85rem;
    max-width: min(14.5rem, calc(100vw - 4.75rem));
  }
  .bcn-chat-teaser__sub {
    display: none;
  }
  .bcn-chat-teaser__card {
    padding: 0.7rem 0.8rem 0.7rem 0.85rem;
  }
  .bcn-chat-teaser__label {
    font-size: 0.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bcn-chat-teaser__card,
  .bcn-chat-teaser__card--pulse {
    animation: none !important;
    transition: none !important;
  }
}
