.bbb-widget-card {
  border-radius: 12px;
  position: fixed;
  box-shadow: 0px 4px 8px 0px #9b9b9b33;
  z-index: 1200;
  width: 372px;
  bottom: 70px;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.18, 0.03, 0.17, 0.98);
}

.bbb-widget a {
  cursor: pointer !important;
}

.bbb-widget-wrapper {
  display: flex;
  max-width: 12%;
  align-items: center;
  position: fixed;
  bottom: 8px;
  cursor: pointer;
  gap: 8px;
  z-index: 1000;
  transition: max-width 0.4s ease-in-out, gap 0.2s ease-in-out;
  animation: bounce 0.4s ease-in-out 0.2s;
}

.bbb-widget-wrapper.bbb-widget-wrapper--shrink {
  max-width: 60px;
  gap: 0;
  z-index: 20;
}

.bbb-widget-wrapper.bbb-widget-wrapper--shrink .bbb-widget-text {
  max-width: 0;
}

.bbb-widget-text {
  max-width: 9999px;
  transition: max-width 0.3s ease-in-out;
  white-space: nowrap;
  flex: none;
  overflow: hidden;
}
.bbb-widget-text {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  white-space: nowrap;
}

.bbb-widget-card-body {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.bbb-widget-card--show {
  transform: scale(1);
  animation: bounce 0.4s ease-in-out 0.2s;
}

@keyframes bounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.bbb-widget-card.bbb-widget-card--right {
  right: 8px;
  transform-origin: bottom right;
}

.bbb-widget-card.bbb-widget-card--left {
  left: 8px;
  transform-origin: bottom left;
}

.bbb-contact-us-wrapper {
  display: flex;
  justify-content: space-between;
  border-radius: 8px;
  border: 1px solid #dddddd;
  cursor: pointer;
  padding-block: 10px;
  padding-inline: 12px;
  transition: all 0.3s;
}

.bbb-contact-us-wrapper:hover {
  border-color: black;
}

.bbb-widget-quick-response-card {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-inline: 12px;
  padding-block: 10px;
  border-radius: 8px;
  border: 1px solid #dddddd;
  cursor: pointer;
  margin-bottom: 8px;
  transition: all 0.3s;
}

.bbb-widget-quick-response-card:last-child {
  margin-bottom: 0;
}

.bbb-widget-quick-response-card:hover {
  border-color: black;
}

.bbb-widget-icon-wrapper {
  position: relative;
  transition: transform 0.3s;
  width: 26px;
  height: 26px;
}

.bbb-widget-icon-1 {
  opacity: 1;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  position: absolute;
  inset: 0;
}

.bbb-widget-icon-1.bbb-widget-icon-1--close {
  opacity: 0;
  /* transform: rotate(-180deg); */
}

.bbb-widget-icon-2 {
  opacity: 0;
  transition: opacity 0.5s;
  position: absolute;
  inset: 0;
}

.bbb-widget-icon-2.bbb-widget-icon-2--open {
  opacity: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bbb-widget a {
  color: unset;
  text-decoration: none;
}

.bbb-widget div:empty {
  display: block !important;
}

.bbb-power-message-wrapper {
  position: fixed;
  min-width: 220px;
  max-width: 280px;
  border-radius: 16px;
  padding-inline: 16px;
  padding-block: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: white;
  bottom: 48px;
  box-shadow: 0px 3px 6px 0px #9b9b9b26;
  opacity: 0;
  cursor: default;
  z-index: 1000;
  transition: opacity 0.6s ease-in-out;
  opacity: 0;
  pointer-events: none;
}

.bbb-power-message-wrapper--show {
  opacity: 1;
  pointer-events: auto;
}

@media only screen and (max-width: 640px) {
  .bbb-widget-card {
    border-radius: 12px;
    width: 100%;
    position: fixed;
    bottom: 0px;
    box-shadow: 0px 4px 8px 0px #9b9b9b33;
    z-index: 1000;
  }

  .bbb-widget-card.bbb-widget-card--right.bbb-widget-card--show {
    right: 0px;
  }

  .bbb-widget-card.bbb-widget-card--left.bbb-widget-card--show {
    left: 0px;
  }

  .bbb-widget-card.bbb-widget-card--left {
    left: calc(-372px - 20px);
    transition: left 0.3s;
  }

  .bbb-widget-card.bbb-widget-card--right {
    right: calc(-372px - 20px);
    transition: right 0.3s;
  }
}

@media only screen and (max-width: 1080px) {
  .bbb-widget-wrapper {
    max-width: 20%;
  }
}

@media only screen and (max-width: 1400px) {
  .bbb-widget-wrapper {
    max-width: 80%;
  }
}

@media only screen and (max-width: 800px) {
  .bbb-widget-wrapper {
    max-width: 80%;
  }
}
