.pb-chat {
  --max-width: 700px;
}

.pb-chat__button {
  color: rgba(194, 0, 22, 1);
  width: calc(64px * 2);
  height: calc(64px * 2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 1);
  border-left: 2px solid rgba(194, 0, 22, 1);
  position: fixed;
  top: 0;
  right: 0;
  margin-top: 365px;
  z-index: 100;
}

.pb-chat__close {
  color: rgba(194, 0, 22, 1);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
}

.pb-chat__button svg {
  width: calc(32px * 2);
  height: calc(32px * 2);
}

.pb-chat__close svg {
  width: 32px;
  height: 32px;
}

.pb-chat__content {
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 1);
  transform: translateX(100%);
  position: fixed;
  max-width: var(--max-width);
  bottom: 0;
  right: 0;
  max-height: 700px;
  transition: transform 0.3s;
  z-index: 1400;
  padding-top: 30px;
}

.pb-chat.open .pb-chat__content {
  box-shadow: rgba(50, 50, 50, 0.125) 0px -2px 19px 0px;
  transform: translateX(0);
}

.pb-chat:not(.open) .pb-chat__button svg {
  transform: scale(1);
  animation: 2s pulse 2s infinite;
}

.pb-chat__content iframe {
  width: 100%;
  height: 100%;
}

@keyframes pulse {
  50% {
    transform: scale(1.5);
  }
}
