.ok-phone {
  z-index: 49;
  position: fixed;
  /* top: calc(97% - 123px);
  right: calc(3% + 8px); */
  bottom: 124px;
  right: 16px;
  display: block;
  animation-duration: 0.95s;
  animation-name: bounceIn;
}

.ok-phone__container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row-reverse;
}

.ok-phone__button {
  width: 24px;
  z-index: 100;
  border: 0;
  background: #012B79;
  /* color: #ff896a; */
  color: white;
  border-radius: 16px;
  box-sizing: border-box;
  height: 44px;
  width: 56px;
  min-width: 56px;
  cursor: pointer;
  /* box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.5); */
  transition: transform ease 0.25s;
}

.ok-phone__button[disabled] {
  cursor: default;
  /* opacity: 0.65; */
}

.ok-phone__button:hover,
.ok-phone__button:focus {
  transform-origin: center;
  transform: scale(1.1);
}

/* .ok-phone__button:focus + .ok-phone__status, */
.ok-phone__button:hover + .ok-phone__status {
  display: inline-block;
}

.ok-phone__button-icon {
  /* fill: #ff896a; */
  fill: white;
}

.ok-phone__button-icon svg {
  height: 20px;
  width: 20px;
  position: relative;
  top: 0px;
  transition: all ease 0.5s;
  margin: 0 auto;
}

.ok-phone__status {
  z-index: 100;
  /* display: none; */
  display: inline-block;
  border-radius: 4px;
  margin-right: 12px;
  font-size: 14px;
  background: #012B79;
  padding: 4px 8px;
  color: white;
  transition: all ease 0.25s;
}

/* green */
.ok-phone_theme_green .ok-phone__button {
  background: #16a73c;
}

.ok-phone_theme_green .ok-phone__status {
  background: #16a73c;
}

.ok-phone_theme_green .ok-phone__button-icon {
  fill: #106102;
  fill: rgb(255 255 255 / 0.7);
}

.ok-phone_theme_green .ok-phone__button {
  animation: bounce 1s linear infinite alternate both;
}

/* red */
/* .ok-phone_theme_error .ok-phone__button, */
.ok-phone_theme_red .ok-phone__button {
  background: #a71635;
}

.ok-phone_theme_error .ok-phone__status,
.ok-phone_theme_red .ok-phone__status {
  background: #a71635;
}

/* .ok-phone_theme_error .ok-phone__button-icon, */
.ok-phone_theme_red .ok-phone__button-icon {
  fill: #61022e;
  fill: rgb(255 255 255 / 0.7);
}

/* active */
.ok-phone_theme_red .ok-phone__status,
.ok-phone_theme_green .ok-phone__status,
.ok-phone_theme_grey .ok-phone__status,
.ok-phone_theme_error .ok-phone__status {
  display: inline-block;
}

.ok-phone_theme_red .ok-phone__button svg {
  transform: rotate(135deg);
}

/* grey */
.ok-phone_theme_grey .ok-phone__button,
.ok-phone_theme_grey .ok-phone__status {
  background: #979797;
}

.ok-phone_theme_grey .ok-phone__button-icon {
  fill: rgb(255 255 255 / 0.7);
}

.ok-phone_theme_grey .ok-phone__button svg {
  transform: rotate(135deg);
}

.ok-phone_theme_grey .ok-phone__button-icon svg,
.ok-phone_theme_red .ok-phone__button-icon svg {
  top: 2px;
}

@keyframes bounceIn {
  from,
  20%,
  40%,
  60%,
  80%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }

  20% {
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    transform: scale3d(0.97, 0.97, 0.97);
  }

  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

@keyframes bounce {
  0% {
    transform: scale3d(1, 1, 1);
  }
  40% {
    transform: scale3d(1.2, 1.2, 1.2);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}

.bounceIn {
  animation-duration: 0.75s;
  animation-name: bounceIn;
}

.grecaptcha-badge {
  visibility: hidden;
}

.webim {
  background: red;
  width: 50px;
  height: 50px;
  position: fixed;
  top: calc(97% - 58.2px);
  left: calc(97% - 58.2px);
  border-radius: 50%;
}
