.popup {
  --button-height: 50px;
  position: fixed;
  right: -1220px;
  min-width: 30vw;
  top: 30px;
  bottom: 30px;
  transition: right 0.6s, top 0.6s, opacity 1s;
  display: block;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 0px;
  border-radius: 6px 0 0 6px;
  border: 0px solid transparent;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: auto;
  border-radius: 15px;
}
.popup.is-active {
  opacity: 1;
  right: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.16);
}
.popup .popup__body {
  padding: 15px 15px;
}
.popup .popup__header {
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 15px;
}
.popup .popup__header .close {
  margin-left: auto;
  margin-right: 0;
}
.popup .popup__footer {
  margin-top: auto;
  margin-bottom: 0px;
}
.popup.is-active:before {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  content: "";
}
body.blur::after {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.15);
  animation: blur-anim 0.7s forwards;
  left: 0;
}
body.blurout::after {
  animation: blur-out 0.4s linear forwards;
  background-color: transparent;
}
@media (min-width: 692px) {
  body::after {
    transition: opacity 0.3s, background-color 0.3s;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 100vw;
    content: "";
    z-index: 99;
  }
}
@keyframes blur-anim {
  100% {
    backdrop-filter: blur(4px);
  }
}
@keyframes blur-out {
  0% {
    backdrop-filter: blur(4px);
  }
  100% {
    backdrop-filter: blur(0px);
  }
}
