.popup {
  width: 100%;
  min-height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
  position: fixed;
  top: 0;
  z-index: 9990;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s linear, opacity 0.3s ease-in-out;
}

.popup_show {
  visibility: visible;
  opacity: 1;
}

.popup__content {
  margin: 40px auto;
  max-width: 500px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 3px 20px rgba(92, 141, 255, 0.22);
  padding: 55px 40px;
  position: absolute;
  right: 0;
  left: 0;
}

@media screen and (max-width: 767px) {
  .popup__content {
    margin: auto;
    width: 100%;
    height: 100%;
    border-radius: 0;
    top: 0;
    bottom: 0;
    box-shadow: none;
  }
}

.popup__close {
  position: absolute;
  top: 25px;
  right: 20px;
}

.popup .popup__close {
  height: 27px;
  width: 27px;
}

.popup__close:before,
.popup__close:after {
  background: rgba(105, 92, 255, 0.2);
  height: 27px;
}

.Form__Checkbox input[type="checkbox"] {
  visibility: visible;
  opacity: 0;
  left: 0;
  top: 3px;
  height: 18px;
  width: 18px;
}

.loading::before {
  display: block;
  position: fixed;
  content: "";
  background: #000;
  opacity: 0.8;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.spinner {
  visibility: hidden;
  opacity: 0;
  transition: visibility 1s linear, opacity 1s ease-in-out;
}

.loading .spinner {
  visibility: visible;
  opacity: 1;
  width: 57px;
  height: 57px;
  top: calc(50% - 57px / 2);
  left: calc(50% - 57px / 2);
  display: block;
  position: fixed;
  animation: spin 1s linear infinite;
  z-index: 9999;
}
