body.gd-form-thanks-open {
  overflow: hidden !important;
}

.gd-form-thanks[hidden] {
  display: none !important;
}

.gd-form-thanks {
  position: fixed;
  inset: 0;
  z-index: 100100;
  display: grid;
  box-sizing: border-box;
  padding: 20px;
  place-items: center;
  font-family: "Noto Sans", Arial, sans-serif;
}

.gd-form-thanks__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(9, 43, 34, .74);
  cursor: pointer;
}

.gd-form-thanks__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  box-sizing: border-box;
  width: min(100%, 560px);
  padding: 46px 42px 38px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 38px;
  background: #155846;
  color: #fff;
  text-align: center;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .3);
}

.gd-form-thanks__close {
  position: absolute;
  top: 14px;
  right: 15px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .13);
  color: #fff;
  font: 700 31px/1 Arial, sans-serif;
  cursor: pointer;
}

.gd-form-thanks__icon {
  display: grid;
  width: 78px;
  height: 78px;
  margin-bottom: 20px;
  place-items: center;
  border: 8px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: #7bbf3b;
  color: #155846;
  font-size: 42px;
  font-weight: 900;
}

.gd-form-thanks h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(29px, 4vw, 40px);
  line-height: 1.12;
}

.gd-form-thanks p {
  margin: 15px 0 25px;
  color: #dcebc7;
  font-size: 15px;
  line-height: 1.55;
}

.gd-form-thanks__button {
  min-width: 210px;
  height: 56px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: #f6c329;
  color: #155846;
  text-transform: uppercase;
  font: 900 14px/1 "Noto Sans", Arial, sans-serif;
  cursor: pointer;
}

@media (max-width: 600px) {
  .gd-form-thanks {
    padding: 12px;
  }

  .gd-form-thanks__dialog {
    padding: 42px 22px 28px;
    border-radius: 29px;
  }

  .gd-form-thanks__icon {
    width: 68px;
    height: 68px;
    font-size: 36px;
  }

  .gd-form-thanks p {
    font-size: 14px;
  }
}
