.buddy-drawer {
  position: fixed;
  right: -100%;
  top: 0;
  width: 25%;
  min-width: 300px;
  height: 100%;
  box-shadow: -3px 0 6px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease-in-out;
  z-index: 2147483646;
  display: flex;
  flex-direction: column;
}

.button-link {
  all: unset;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.button-link:hover,
.button-link:focus {
  text-decoration: none;
  outline: none;
}

.buddy-chat {
  width: 100%;
  flex: 1 1 auto;
}

.buddy-drawer.open {
  right: 0;
}

.buddy-drawer-close {
  padding: 20px 10px;
  flex: 0 0 auto;
  align-self: flex-end;
}

.buddy-drawer-close::before,
.buddy-drawer-close::after {
  content: "";
  display: block;
  margin-top: -3px;
  width: 20px;
  height: 3px;
  background: #303f9f;
  border-radius: 1px;
}

.buddy-drawer-close::before {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.buddy-drawer-close::after {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 5px;
}

.text-bubble {
  background-color: #1179c8;
  color: white;
  border-radius: 50px;
  box-shadow: 2px 2px 3px #999;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 260px;
  padding: 5px 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.buddy-bubble {
  display: flex;
  align-items: end;
}

.buddy-icon-img {
  height: 90px;
  width: auto;
  object-fit: contain;
  padding-bottom: 5px;
}

@media (max-width: 768px) {
  .buddy-drawer {
    width: 100%;
    min-width: unset;
  }

  .buddy-icon-img {
    height: 60px;
    padding-bottom: 0px;
  }

  .text-bubble {
    display: none;
  }
}

.pulsate-fwd {
  -webkit-animation: pulsate-fwd 0.5s ease-in-out 3 both;
  animation: pulsate-fwd 0.5s ease-in-out 3 both;
}

.pulsate-fwd:hover {
  -webkit-animation: pulsate-fwd 0.5s ease-in-out infinite both;
  animation: pulsate-fwd 0.5s ease-in-out infinite both;
}

.not-show {
  display: none;
}

@keyframes pulsate-fwd {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@-webkit-keyframes pulsate-fwd {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
