.ads-demo-balloon {
  --ads-demo-primary: #1e3df6;
  --ads-demo-secondary: #1026a8;
  position: fixed;
  z-index: 9995;
  left: 24px;
  bottom: 24px;
  width: min(330px, calc(100vw - 48px));
  color: #111;
  font-family: inherit;
}

.ads-demo-balloon[hidden] {
  display: none !important;
}

.ads-demo-balloon__panel {
  position: absolute;
  left: 0;
  bottom: 54px;
  width: 100%;
  overflow: hidden;
  padding: 17px 18px 16px;
  background: #fff;
  border: 1px solid #dfe4ee;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(12, 25, 70, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.98);
  transform-origin: left bottom;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}

.ads-demo-balloon__panel::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--ads-demo-primary);
  content: "";
}

.ads-demo-balloon.is-open .ads-demo-balloon__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.ads-demo-balloon__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 9px;
  padding-right: 30px;
}

.ads-demo-balloon__eyebrow {
  color: var(--ads-demo-secondary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ads-demo-balloon__logo {
  width: auto;
  max-width: 92px;
  height: 26px;
  object-fit: contain;
}

.ads-demo-balloon__title {
  margin: 0 26px 0 0;
  color: #111;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.ads-demo-balloon__date {
  display: block;
  margin-top: 6px;
  color: #687284;
  font-size: 12px;
  font-weight: 600;
}

.ads-demo-balloon__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  margin-top: 13px;
  padding: 0 16px;
  color: #fff;
  background: #1e3df6;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.ads-demo-balloon__link:hover,
.ads-demo-balloon__link:focus-visible {
  color: #fff;
  background: #1026a8;
}

.ads-demo-balloon__close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  color: #667085;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.ads-demo-balloon__close:hover,
.ads-demo-balloon__close:focus-visible {
  color: #111;
  background: rgba(17, 17, 17, .06);
}

.ads-demo-balloon__trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin-top: 10px;
  padding: 0 15px 0 10px;
  color: #fff;
  background: #111827;
  border: 0;
  border-radius: 99px;
  box-shadow: 0 10px 26px rgba(12, 25, 70, .2);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.ads-demo-balloon.is-open .ads-demo-balloon__trigger {
  background: #1e3df6;
}

.ads-demo-balloon__trigger-dot {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: var(--ads-demo-primary);
  border-radius: 50%;
  font-size: 15px;
}

@media (max-width: 600px) {
  body.ads-demo-balloon-open #brevo-conversations {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .ads-demo-balloon {
    left: 14px;
    bottom: 82px;
    width: min(330px, calc(100vw - 28px));
  }

  .ads-demo-balloon__panel {
    padding: 16px;
  }

  .ads-demo-balloon__logo {
    max-width: 76px;
    height: 23px;
  }

  .ads-demo-balloon__title {
    max-width: calc(100% - 22px);
    font-size: 17px;
  }

  .ads-demo-balloon__link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ads-demo-balloon__panel {
    transition: none;
  }
}
