@font-face {
  font-family: "Afacad";
  src: url(../font/Afacad-Regular.ttf) format("truetype");
  font-weight: 400;
}

.main {
  background-image: url(../images/background.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  min-height: 100vh;
  font-family: "Afacad";
  overflow-y: auto;
}

.form {
  width: 100%;
  max-width: 823px;
  margin: 1401px auto 0;
  display: flex;
  position: relative;
  flex-direction: column;
}

.input {
  width: 100%;
  max-width: 823px;
  border: 4px #bda261 solid;
  border-radius: 31px;
  margin-bottom: 11px;
  display: block;
  color: #c2ac81;
  line-height: 88%;
  font-size: 36px;
  font-weight: 400;
  padding: 42px 97px;
}

.button {
  background-image: url(../images/button\ 2.png);
  margin: 30px auto 0;
  display: block;
  padding: 45px 0;
  width: 100%;
  max-width: 669px;
  color: #f6e79c;
  font-size: 70px;
  font-weight: 400;
  line-height: 87.6%;
  text-align: center;
}

.terms-wrapper {
  width: 100%;
  max-width: 691px;
  margin: 40px auto 0;
  display: flex;
  justify-content: space-between;

  & > p {
    color: #67562d;
    font-weight: 400;
    font-size: 31px;
    line-height: 87.6%;
    margin-left: 42px;
    text-transform: uppercase;
  }

  & > img {
    width: 53px;
    height: 51px;
  }
}

.input-images {
  position: absolute;
  left: 23px;
}

#email-img {
  top: 50px;
}

#phone-img {
  top: 190px;
}

#promo-img {
  top: 350px;
}

#toast-container {
  position: fixed;
  bottom: 500px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  pointer-events: none;
}

.toast {
  min-width: 260px;
  max-width: 380px;
  padding: 18px 22px;
  border-radius: 18px;
  font-size: 22px;
  color: #f6e79c;
  background: rgba(0, 0, 0, 0.85);
  border: 2px solid #bda261;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(-30px) scale(0.95);
  transition: all 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast.success {
  border-color: #6bd66b;
}

.toast.error {
  border-color: #ff6b6b;
}

.toast.info {
  border-color: #bda261;
}

.toast-close {
  position: absolute;
  top: 8px;
  right: 12px;
  cursor: pointer;
  font-size: 20px;
  opacity: 0.7;

  &:hover {
    opacity: 1;
  }
}
