@import '@/styles/_support';

$borderRadius:6px;

.comp {
  font-size: 22px;
  margin: 0 auto;
}



input {
  padding: 0 2.083333rem;
  color: $cFontGray2;
}

.orange {
  color: $cOrange2;
}

.empty {
  flex: 1;
  height: 30rem;
  display: flex;
  align-items: center;
  justify-content: center;

  .tips {
    align-items: center;
    display: flex;

    .icon {
      margin-right: 5px;
      display: inline-block;
    }

    .btn {
      color: $cOrange;
    }
  }
}

.submit-btn {
  background: url("~@assets/images/vhis/vhis-btn.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 300px;
  height: 50px;
  line-height: 50px;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  margin: 2.5rem auto;
  text-align: center;
  border-radius: 50px;
}

.reservation-container-2 {
  @extend .bb;
  padding: 20px 100px 72px;

  .clarms-border {
    position: relative;
    @extend .bb;
    @extend .fcc;
    width: 482px;
    height: 62px;
    margin: 0 24px;
    @include border-tans($borderRadius);


    .clarms-select {
      width: 100%;
    }

    .down-arrow {
      z-index: 10;
      position: absolute;
      top: 26px;
      right: 1.2rem;
      background-image: url('~@/assets/images/reservation/re-down-arrow-2.png');
      background-size: 100% 100%;
      width: 15px;
      height: 10px;
      pointer-events: none;
      cursor: default;
    }
  }

  .title {

    color: $cOrange2;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;

    .t1 {
      font-size: 36px;
      font-weight: bold;
    }

  }

  .title:lang(zh) {
    letter-spacing: .25rem;
  }

  .default-mt {
    margin-top: 48px;
  }

  .submit-btn {
    margin: 48px auto 24px;
  }

  .flex-top {
    display: flex;
    justify-content: left;
    align-items: flex-start;
  }

  .flex-start {
    display: flex;
    justify-content: left;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .check-disabled {
    cursor: default;

    span {
      // color: $cDisabled;
    }
  }

  .check-item {
    display: flex;
    margin-right: 76px;
    margin-bottom: 24px;

    span {
      margin-left: 24px;
    }

    img {
      width: 23px;
      pointer-events: none;
    }



    .check-border {
      @extend .fcc;
      width: 32px;
      height: 32px;
      @include border-tans($borderRadius);

      .check {
        background: url('~@/assets/images/vhis/vhis-tick.png') center no-repeat;
        @extend .bis;
        width: 22px;
        height: 17px;
      }
    }

    .uncheck-border {
      background: transparent;
      border-color: $cFontGray2;
    }

  }

  .item-group {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .ml10 {
    margin-left: .833333rem;
  }

  .mr10 {
    margin-right: .833333rem;
  }

  .mt20 {
    margin-top: 48px;
  }

  .mt24 {
    margin-top: 24px;
  }

  .mt10 {
    margin-top: 24px;
  }

  .bottom-tip {
    font-size: 18px;
    display: flex;
    align-items: center;
    @extend .text-jtf;

    span {
      // margin-left: 1.3rem;
      margin-left: 24px;
    }

    img {
      // width: 1.3rem;
      width: 22px;
    }
  }

  hr {
    border-top: 1px solid #eee;
    margin-top: 42px;
  }

  // .hr2{
  //   margin-top: 42px;
  // }

  .tips {
    display: flex;
    justify-content: flex-start;
    align-items: center;


    img {
      width: 2rem;
    }

    span {
      // font-size: 1rem;
      // font-size: 18px;
      margin-left: .833333rem;
      color: $cOrange2;
    }
  }

  .tips2 {
    margin-top: -12px;
  }

  .contact {
    text-align: center;
    cursor: pointer;
    color: $cOrange2;
    font-weight: 600;
  }



  .fail-tips {
    align-items: center;
    justify-content: center;
    display: flex;
    font-size: 1.166667rem;

    .icon {
      width: 1.333333rem;
      margin-right: 5px;
      display: inline-block;
    }

    .btn {
      margin-left: 0;
      color: $cOrange2;
      font-weight: 600;
      font-size: 1.166667rem;
    }
  }
}


.form {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;

  &-name {
    font-size: 1.333333rem;
    font-weight: 600;
    text-align: left;
    color: $cOrange2;
    padding-left: 15px;
  }

  .cont {
    @extend .bb;
    @extend .fcc;
    height: 62px;
    @include border-tans($borderRadius);
  }

  .ipt-date {
    width: 100%;
    background-color: #ffffff;
    height: 58px;
    border-radius: $borderRadius;
  }

  &-item {
    width: 50%;
    display: flex;
    justify-content: center;
    padding: 0 $marginSmall;
    margin-bottom: 1.333333rem;

    .label {
      display: flex;
      align-items: center;
      min-width: 30%;
      justify-content: flex-start;
      padding-left: 5px;

    }

    .label:lang(zh) {
      letter-spacing: .25rem;
    }

    .ipt-wrap {
      width: 70%;
      position: relative;

      // input和下拉
      .ipt {
        border: 1px solid #ff6839 !important;
        border-radius: .416667rem;
        height: 3rem;
        display: flex;
        align-items: center;
      }

      // 长文本
      .textarea {
        min-height: 8.75rem;
        @extend .bb;
        padding: .75rem;
      }

      .down-arrow {
        z-index: 10;
        position: absolute;
        top: 1.3rem;
        right: 1.2rem;
        background-image: url('~@/assets/images/reservation/re-down-arrow-2.png');
        background-size: 100% 100%;
        width: 15px;
        height: 10px;
        pointer-events: none;
        cursor: default;
      }
    }

    .validator {
      color: $cOrange2;
      margin-top: 0.5rem;
      position: absolute;
      right: 1rem;
      display: flex;
      align-items: center;
      // bottom: 0;

      img {
        display: inline-block;
        margin-right: 0.4rem;
      }
    }
  }


  &-item-2 {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    // padding: 0 $marginSmall;
    // margin-bottom: 1.333333rem;

    .label {
      @extend .bb;
      align-items: center;
      width: 215px;
      padding-left: 52px;
      padding-right: 5px;
      font-size: 20px;

      .main-label {
        // font-size: 1.5rem;
        font-size: 22px;
        color: $cOrange2;
      }
    }

    .label:lang(zh) {
      letter-spacing: .25rem;
    }

    .date-container {
      width: 60%;
      position: relative;
      // background-color: wheat;
    }

    .value {
      width: 70%;
      position: relative;

      .ipt-wrap {

        // input和下拉
        .ipt {
          border: 1px solid #ff6839 !important;
          border-radius: .416667rem;
          height: 3rem;
          display: flex;
          align-items: center;
        }

        .ipt2 {
          // width: 100%;
          border-bottom: 1px solid #ccc;
          height: 3rem;
          display: flex;
          align-items: center;
          margin-bottom: .833333rem;
          // width: 700px;
          width: 100%;
        }

        // 长文本
        .textarea {
          min-height: 8.75rem;
          @extend .bb;
          padding: .75rem;
        }

        .down-arrow {
          z-index: 10;
          position: absolute;
          top: 26px;
          right: 1.2rem;
          background-image: url('~@/assets/images/reservation/re-down-arrow-2.png');
          background-size: 100% 100%;
          width: 15px;
          height: 10px;
          pointer-events: none;
          cursor: default;
        }
      }

    }
  }

  &-item-3 {
    margin-bottom: 0;
  }
}


.notice {
  margin-top: 4rem;
  @extend .bb;
  padding: 0 1rem;

  &-item {
    position: relative;
    line-height: 2;
    margin-bottom: 1rem;

    &-icon {
      width: 1.166667rem;
      position: absolute;
      top: .6rem;
    }
  }

  &-item:lang(zh) {
    letter-spacing: 1.2px;
  }

}

.en {
  .reservation-container-2 .check-item {
    margin-right: 0;
    width: 50%;
  }
}

@media (max-width: 1200px) {
  .comp {
    .reservation-container-2 {
      padding: 20px 50px 72px;
    }
  }
}

@media (max-width: 1000px) {
  .comp {
    .reservation-container-2 {
      .title {
        display: block;

        .tt {
          margin: 8px auto;
        }

        .clarms-border {
          width: auto;
        }
      }

    }
  }

}

@media (max-width: 768px) {
  .comp {
    .reservation-container-2 {
      padding: 16px 16px;

      .form-item-2 {
        flex-wrap: wrap;

        .label {
          display: flex;
          padding-left: 0;
          width: auto;
        }

        .value {
          margin-top: 24px;
          width: 100%;

          .check-item {
            align-items: flex-start;
            flex-wrap: wrap;
            margin: 0 0 24px;
            width: 100%;
          }
        }
      }

      .date-container {
        width: 100%;
      }
    }
  }

}