.toastify {
  position: fixed;
  top: 0 !important;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  max-width: none !important;
  background: #0000004d !important;
}
.toastify .toast-container {
  width: 100%;
  max-width: 639px;
  position: relative;
  top: calc(50% - 156px) !important;
  left: 50%;
  padding: 70px;
  padding-top: 122px;
  transform: translateX(-50%);
  background: #ffffff;
  box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
  color: #000;
  border-radius: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "SB Sans Display";
  font-size: 32px;
  font-weight: 600;
  gap: 24px;
}

@media (max-width: 767px) {
  .toastify .toast-container {
    padding: 77px 24px 24px 24px;
  }
}

.toastify .toast-container {
  opacity: 0; /* изначально прозрачный */
  transform: translateX(-50%) translateY(-20px); /* сохраняем сдвиг по X и добавляем небольшой Y */
  transition: opacity 0.4s ease, transform 0.4s ease; /* плавный переход */
}

.toastify .toast-container.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0); /* поднимаем в нормальное положение */
}
.toastify .toast-container__attention {
  text-align: center;
  margin: 0 auto;
  border: 4px solid red;
  color: red;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  padding: 5px 0;
  font-size: 50px;
  display: none;
  font-weight: 600;
}
.toastify .toast-container__content {
  text-align: center;
  font-size: 36px;
  line-height: 38px;
  margin-top: 25px;
  font-weight: 600;
}
.toastify .toast-container__small-content {
  text-align: center;
  font-size: 20px;
  line-height: 21px;
  color: #8e8e8e;
  margin-top: 25px;
}
.toastify .main-link {
  margin-top: 60px;
  color: #fff;
  background: linear-gradient(82.62deg, #15b015 0%, #04c6c9 100%);
  display: block;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "SB Sans Display";
  font-size: 20px;
  line-height: 20px;
  width: 100%;
  border: none;
}
.toastify .toast-close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #bebebe;
  opacity: 1;
  display: none;
  font-size: 15px;
}

.toast-close-btn {
  position: absolute;
  top: 57px;
  right: 67px;
}

@media (max-width: 767px) {
  .toast-close-btn {
    top: 17px;
    right: 33px;
  }
}

.toast-container .toast-btn {
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(82.62deg, #15b015 0%, #04c6c9 100%);
  color: #fff;
  display: flex;
  align-items: center;
  flex-grow: 1;
  width: 100%;
  font-weight: 400;
  justify-content: center;
  font-family: "SB Sans Text";
  font-size: 18px;
  letter-spacing: -0.02em;
}

@media (max-width: 767px) {
  .toast-container .toast-btn {
    font-size: 18px;
    line-height: 24px;
  }
}

.toast-container span {
  color: #333f48;
  font-weight: 500;
  font-size: 32px;
  line-height: 40px;
}

@media (max-width: 767px) {
  .toast-container span {
    font-size: 24px;
    line-height: 32px;
  }
}

.toast-success .toast-container__attention {
  display: none;
}
.toast-error .toast-container__attention {
  display: block;
}
.toast-error .toast-container__icon {
  display: none;
}
