.form-wrap {
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

.form-close-btn {
  position: absolute;
  right: 40px;
  top: 40px;
  cursor: pointer;
  transition: .3s;
}

.form-close-btn:hover {
  transform: scale(1.1);
}

.form-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .5);
}

.form-wrap .form-cont {
  width: 60%;
  max-height: 85%;
  overflow-y: auto;
  background-color: #fff;
  z-index: 0;
  padding: 30px 40px;
  text-align: center;
  position: relative;
}

.form-wrap .form-main,
.form-wrap .submit-success {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.form-wrap .form-main {
  color: #666666;
}

.form-wrap .submit-success {
  display: none;
}

.form-wrap .form-cont .form-header {
  font-size: 36px;
  font-weight: bold;
  color: #000;
}

.form-wrap .privacy-wrap {
  display: inline-block;
}

.form-wrap .privacy-cont {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
}

.form-wrap .privacy-cont .privacy-status {
  margin-right: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #666;
  position: relative;
}

.form-wrap .privacy-cont.agree .privacy-status {
  border-color: #004796;
}

.form-wrap .privacy-cont .privacy-status::after {
  content: '';
  width: 80%;
  height: 80%;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  background-color: #004796;
  display: none;
}

.form-wrap .privacy-cont.agree .privacy-status::after {
  display: block;
}

.form-wrap .form-cont .submit .btn {
  background-color: #004796;
  padding: 10px 30px;
  color: #fff;
  display: inline-block;
  margin-top: 20px;
  cursor: pointer;
}

.form-wrap .form {
  flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 10px;
}

.form-wrap .form .item {
  width: calc((100% - 40px) / 2);
  margin-right: 40px;
  margin-bottom: 20px;
  text-align: left;
  position: relative;
}

.form-wrap .form .item:nth-child(2n) {
  margin-right: 0;
}

.form-wrap .form .item .label {
  margin-bottom: 10px;
  font-weight: bold;
  position: relative;
  display: inline-block;
}

.form-wrap .form .item input,
.form-wrap .form .item select {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #d2d2d2;
  box-sizing: border-box;
  outline: unset;
  height: 37px;
}

.form-wrap .form .item.w100 {
  width: 100%;
  margin-right: 0;
}

.form-wrap .form .item.necessary .label::after {
  content: '*';
  position: absolute;
  top: -1px;
  right: -10px;
  color: red;
}

.form-wrap .form .tips {
  font-size: calc(14rem / 16);
  margin-top: 5px;
  color: #f00;
  display: none;
  position: absolute;
  bottom: -25px;
  left: 0;
}

.form-wrap .verification-wrap {
  display: flex;
  align-items: center;
}

.form-wrap .verification-wrap input[type=text] {
  width: 33.3%;
  margin-right: 10px;
}

.form-wrap .submit-success .title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 36px;
  font-weight: bold;
}

.form-wrap .submit-success .title img {
  margin-right: 20px;
  max-width: 80px;
}

.form-wrap .submit-success .qr {
  margin: 30px 0;
}

.form-wrap .submit-success .qr img {
  max-width: 300px;
}

.form-wrap .submit-success .tips {
  font-size: 28px;
}

@media (max-width: 640px) {
  .form-wrap .form-cont {
    width: 90%;
    padding: 30px 10px;
    max-height: 90%;
    overflow-y: auto;
    justify-content: flex-start;

  }

  .form-wrap .form .item {
    width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
    font-size: 20px;
  }

  .form-wrap .form .item input,
  .form-wrap .form .item select {
    padding: 10px 15px;
    height: 48px;
    font-size: 20px;
  }

  .form-close-btn {
    top: 20px;
    right: 20px;
  }

  .form-wrap .form-cont .privacy label {
    justify-content: flex-start;
  }

  .form-wrap .form-cont .submit .btn,
  .form-wrap .privacy-cont {
    font-size: 20px;
  }

  .form-wrap .submit-success .title {
    flex-direction: column;
    font-size: 24px;
  }

  .form-wrap .submit-success .title img {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .form-wrap .submit-success .tips {
    font-size: 18px;
  }
}