#thank-you-modal {
  max-width: 1280px;
  width: 90%;
  background: #0083F6;
  padding: 0;
}

.thank-you-content {
  background-image: url('/images/reviews/successBg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 276px 595px 262px 175px;
}

.thank-you-title, .thank-you-text, .thank-you-subtitle, .thank-you-btn {
  max-width: 440px;
}

.thank-you-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: opacity 0.3s ease;
}

.thank-you-close:hover {
  opacity: 0.7;
}

.thank-you-title {
  font-family: Buyan;
  font-weight: 700;
  font-size: 55px;
  line-height: 128%;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 30px;
}

.thank-you-text, .thank-you-subtitle {
  font-family: Montserrat;
  font-size: 18px;
  line-height: 150%;
  color: #FFFFFF;
}

.thank-you-subtitle {
  margin-bottom: 30px;
}

.thank-you-btn {
  width: 100%;
  height: 95px;
  background: linear-gradient(263.56deg, #FFE9C8 -4.53%, #FFD9AD 18.44%, #FFDDB5 51.46%, #FFDDB5 76.6%, #FFCC8F 111.92%);
  box-shadow: 0px 8.8px 0px 0px #D8A86E;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  text-align: center;
  font-family: Montserrat;
  font-weight: 800;
  line-height: 128%;
  font-size: 18px;
  color: #584D3E;
  text-decoration: none;
  transition: box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.thank-you-btn:hover {
  box-shadow: 0px 5px 0px 0px #D8A86E;
}

@media (max-width: 1235px) {
  .thank-you-content {
    padding: 276px 500px 262px 150px;
  }
}

@media (max-width: 1100px) {
  .thank-you-content {
    padding: 276px 400px 262px 50px;
  }
}

@media (max-width: 900px) {
  #thank-you-modal, .thank-you-content {
    width: 100%;
    min-height: 100vh;
  }

  .thank-you-content {
    padding: 276px 400px 262px 50px;
  }

  .thank-you-content {
    background-image: url('/images/reviews/successBgTablet.png');
  }

  .thank-you-title {
    font-size: 50px;
    margin-bottom: 26px;
  }

  .thank-you-text, .thank-you-subtitle {
    font-size: 16px;
  }

  .thank-you-btn {
    height: 76px;
    font-size: 16px;
    border-radius: 20px;
  }
}

@media screen and (max-width: 600px) {
  .thank-you-content {
    background-image: url('/images/reviews/successBgMobile.png');
    padding: 66px 13px 548px 14px;
  }

  .thank-you-title {
    font-size: 40px;
    margin-bottom: 25px;
  }

  .thank-you-text, .thank-you-subtitle {
    font-size: 12px;
  }

  .thank-you-subtitle {
    margin-bottom: 23px;
  }

  .thank-you-btn {
    height: 68px;
    font-size: 14px;
    border-radius: 18px;
  }
}
