.ThePage {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  background-color: rgba(0, 0, 0, 0.8);
}

@mixin left {
  // left: 8%;
  padding-left: 8%;
}

.warinTip {
  color: red;
}

.ThePage {
  display: flex;
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whiteBox {
  position: relative;
  width: 89.6vw;
  height: 81.7vh;
  // height: 672px;
  // width: 305px;
  // max-height: 672PX;
  // max-width: 305px;
  background: #ffff;
  border-radius: 23px;

  .header {
    position: absolute;
    width: 100%;
    height: 22.8vh;

    .img {
      position: relative;
      top: 0;
      width: 100%;
      height: 100%;
      background: right center no-repeat;
      background-size: contain;
      background-image: url('./assets/header.png');
      border-top-left-radius: 23px;
      background-color: #fff6db;
      border-top-right-radius: 23px;

      .header-text {
        position: absolute;
        width: 92%;
        top: 16%;
        @include left();

        :nth-child(1) {
          //   font-size: 6vw;
          font-weight: 500;
          color: #d37e2b;
          line-height: 57px;
        }

        :nth-child(2) {
          width: 45%;
          //   font-size: 4vw;
          font-weight: 300;
          color: #777;
        }
      }

      .header-icon {
        position: absolute;
        top: 5%;
        right: 4%;
        width: 3em;
        height: 3em;
        background: rgba(255, 255, 255, 1);
        border-radius: 2px;
        opacity: 0.5;
        text-align: center;
        line-height: 2.7em;

        &:before {
          content: '\00D7';
          display: block;
          font-size: 38px;
          opacity: 1;
          color: #000;
        }

        &:hover {
          background: rgba(50, 45, 41, 1);
        }
      }
    }
  }
}

.input-style {
  // display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 28%;

  .form-style {
    position: relative;
    height: 100%;
  }

  @mixin nameStyle {
    font-size: 15px;
    font-weight: 400;
    color: #727272;
  }

  .item-Style {
    height: 53px;
    line-height: 53px;
    border-bottom: 2px solid #f3f4f5;
  }

  .name-Style {
    @include left();
    @include nameStyle();
    padding-right: 58px;
  }

  .phone-Style {
    @include left();
    @include nameStyle();
    padding-right: 29px;
  }

  input {
    border: none;
    outline: medium;
    height: 30px;
  }

  .btn {
    position: absolute;
    left: 50%;
    top: 33%;
    transform: translateX(-50%);

    @media screen and (min-height: 350px) {
      top: 44%;
    }

    .submit-btn {
      width: 56vw;
      height: 8vh;
      max-width: 430px;
      max-height: 62px;
      margin-top: 22%;
      background: #ffe569;
      border: 1px solid #ffe569;
      border-radius: 25px;
      font-size: 19px;
      font-weight: 600;
      color: #be5e00;
    }
  }
}

.errorMessage {
  color: red;
}
