.exit-call-prompt[hidden] {
  display: none !important;
}

.exit-call-prompt {
  position: fixed;
  z-index: 120;
  right: 24px;
  bottom: 24px;
  width: min(440px, calc(100vw - 48px));
  padding: 24px 58px 24px 24px;
  border: 1px solid rgba(6, 103, 255, 0.22);
  border-left: 5px solid #0667ff;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 64px rgba(7, 25, 47, 0.22);
  color: #07192f;
  animation: dogcats-exit-call-in 220ms ease-out both;
}

.exit-call-prompt__kicker {
  display: block;
  margin: 0 0 7px;
  color: #0052cc;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.exit-call-prompt__title {
  margin: 0 0 8px;
  color: #07192f;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.14;
}

.exit-call-prompt__text {
  margin: 0 0 17px;
  color: #53667e;
  font-size: 15px;
  line-height: 1.5;
}

.exit-call-prompt__phone {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 8px;
  background: #ff8a00;
  box-shadow: 0 12px 28px rgba(255, 138, 0, 0.28);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.exit-call-prompt__phone svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.exit-call-prompt__phone:hover,
.exit-call-prompt__phone:focus-visible {
  background: #e97800;
  color: #fff;
}

.exit-call-prompt__phone:focus-visible,
.exit-call-prompt__close:focus-visible {
  outline: 3px solid rgba(6, 103, 255, 0.34);
  outline-offset: 3px;
}

.exit-call-prompt__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #d7e4f4;
  border-radius: 50%;
  background: #f4f8fd;
  color: #40546d;
  cursor: pointer;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  place-items: center;
}

.exit-call-prompt__close:hover {
  border-color: #abc5e6;
  background: #eaf2fc;
  color: #07192f;
}

@keyframes dogcats-exit-call-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 560px) {
  .exit-call-prompt {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
    padding: 20px 52px 20px 18px;
  }

  .exit-call-prompt__title {
    font-size: 22px;
  }

  .exit-call-prompt__phone {
    width: 100%;
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .exit-call-prompt {
    animation: none;
  }
}
