.callback-widget {
  position: fixed;
  right: 28px;
  bottom: 96px;
  z-index: 8000;
  font-family: Arial, sans-serif;
}

.callback-widget__button {
  position: relative;
  z-index: 2;
  display: flex;
  width: 60px;
  height: 60px;
  padding: 14px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #10c541;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.callback-widget__backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, .68);
  cursor: default;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.callback-widget__backdrop[hidden] {
  display: none;
}

.callback-widget__button:hover,
.callback-widget__button:focus {
  background: #0db43a;
  outline: none;
  transform: scale(1.04);
}

.callback-widget__button svg {
  display: block;
  width: 34px;
  height: 34px;
  fill: currentColor;
  transform: rotate(-16deg);
}

.callback-widget__panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 430px;
  max-width: calc(100vw - 32px);
  height: 350px;
  z-index: 1;
  overflow: visible;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .3);
}

.callback-widget__panel[hidden] {
  display: none;
}

.callback-widget__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.callback-widget__close {
  position: absolute;
  top: -17px;
  right: -12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #b8b8b8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
  color: #fff;
  font-size: 29px;
  font-weight: 300;
  line-height: 27px;
  cursor: pointer;
}

@media (max-width: 600px) {
  .callback-widget {
    right: 28px;
    bottom: 112px;
  }

  .callback-widget__button {
    width: 60px;
    height: 60px;
    padding: 14px;
  }

  .callback-widget__panel {
    position: fixed;
    right: 16px;
    bottom: 184px;
    left: 16px;
    width: auto;
    max-width: none;
    height: 385px;
  }

  .callback-widget__close {
    top: -15px;
    right: -8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .callback-widget__button {
    transition: none;
  }
}
