#evaxbk-icon {
  height: 64px;
  width: 64px;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 480;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a8f65, #1e5038);
  box-shadow: 0 6px 18px rgba(45, 106, 79, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

#evaxbk-icon:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(45, 106, 79, 0.5);
}

#evaxbk-icon svg {
  width: 32px;
  height: 32px;
  position: absolute;
}

#evaxbk-icon .evaxbk-close-svg {
  display: none;
}

#evaxbk-icon.evaxbk-active .evaxbk-bot-svg {
  display: none;
}

#evaxbk-icon.evaxbk-active .evaxbk-close-svg {
  display: block;
}

#evaxbk-iframe-block {
  background-color: #fff;
  width: 380px;
  max-width: calc(100vw - 24px);
  height: 70vh;
  max-height: 0;
  border-radius: 16px;
  padding: 0;
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 490;
  border: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.evaxbk-bounce-in {
  animation-duration: 300ms;
  animation-name: evaxbk-bounce-in;
  transition-timing-function: ease-in;
}

.evaxbk-bounce-out {
  animation-duration: 300ms;
  animation-name: evaxbk-bounce-out;
  transition-timing-function: ease-in;
}

@keyframes evaxbk-bounce-in {
  0% {
    opacity: 0;
    transform: scale(0, 0);
    transform-origin: bottom right;
  }
  50% {
    transform: scale(1.03, 1.03);
    transform-origin: bottom right;
  }
  100% {
    opacity: 1;
    transform: scale(1, 1);
    transform-origin: bottom right;
  }
}

@keyframes evaxbk-bounce-out {
  0% {
    opacity: 1;
    transform: scale(1, 1);
    transform-origin: bottom right;
  }
  100% {
    opacity: 0;
    transform: scale(0, 0);
    transform-origin: bottom right;
  }
}

@media (max-width: 767px) {
  #evaxbk-icon {
    height: 56px;
    width: 56px;
    bottom: 16px;
    right: 16px;
  }

  #evaxbk-icon svg {
    width: 26px;
    height: 26px;
  }

  #evaxbk-iframe-block {
    right: 12px;
    bottom: 84px;
    width: calc(100vw - 24px);
    height: calc(100vh - 120px);
  }
}
