@import '@/styles/_support.scss';


input {
  padding: 0 25px;
  color: #333333;
}

.orange {
  color: $cOrange;
}

.gray {
  color: #747474;
}

.submit-btn {
  background: url("~@assets/images/vhis/vhis-btn.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 180px;
  height: 30px;
  line-height: 30px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  margin: 30px auto;
  text-align: center;
}

.reservation-container {
  @extend .fcc;
  @extend .bb;
  border-radius: 8px;
  border: solid 1px $cOrange;
  background-color: #ffffff;
  padding: 32px 120px 34px 120px;
  min-height: 500px;

  .title {
    font-size: 16px;
    color: $cOrange;
    text-align: center;
    margin: 20px auto 0 auto;

    span {
      padding: 0 2px;
    }
  }

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

  .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-item {
    display: flex;
    align-items: center;

    span {
      margin-left: 10px;
    }
  }

}


.reservation-container-2 {
  @extend .bb;
  border-radius: 8px;
  border: solid 1px $cOrange;
  background-color: #ffffff;
  padding: 20px 120px 34px 120px;

  .title {
    font-size: 16px;
    color: $cOrange;
    text-align: center;
    margin: 20px auto 0 auto;

    select {
      padding: 0 15px;
      border: none;
      border-bottom: 1px solid #666666;
      color: #666666;
    }
  }

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

  .submit-btn {
    margin: 30px auto 12px;
  }

  .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-item {
    display: flex;
    align-items: center;
    margin-right: 24px;
    margin-bottom: 10px;

    span {
      margin-left: 10px;
    }

    img {
      width: 20px;
    }
  }

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

  .ml10 {
    margin-left: 10px;
  }

  .mr10 {
    margin-right: 10px;
  }

  .mt20 {
    margin-top: 20px;
  }

  .mt10 {
    margin-top: 10px;
  }

  .upload-item {

    .tip {
      color: $cOrange;
      font-size: 12px;
      margin-top: 10px;
      text-align: center;
      width: 100px;
    }

    .tip:lang(zh) {
      letter-spacing: 1px;
    }

    .upload-icon-1 {
      width: 100px;
      height: 100px;
      background: url("~@/assets/images/clarms/icon1.png");
      background-size: 100% 100%;
    }

    .upload-icon-2 {
      width: 100px;
      height: 100px;
      background: url("~@/assets/images/clarms/icon2.png");
      background-size: 100% 100%;
    }

    .upload-icon-3 {
      width: 100px;
      height: 100px;
      background: url("~@/assets/images/clarms/icon3.png");
      background-size: 100% 100%;
    }

    .upload-icon-4 {
      width: 100px;
      height: 100px;
      background: url("~@/assets/images/clarms/icon4.png");
      background-size: 100% 100%;
    }

    .upload-icon-5 {
      width: 100px;
      height: 100px;
      background: url("~@/assets/images/clarms/icon5.png");
      background-size: 100% 100%;
    }
  }

  .bottom-tip {
    font-size: 10px;
    display: flex;
    align-items: center;

    span {
      margin-left: 15.6px;
    }

    img {
      width: 15.6px;
    }
  }

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

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

    img {
      width: 10px;
    }

    span {
      font-size: 12px;
      margin-left: 10px;
      color: $cOrange;
    }
  }

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


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

  &-name {
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    color: $cOrange;
    padding-left: 15px;
  }

  .ipt-date {
    width: 100%;
    border: 1px solid $cOrange !important;
    border-radius: 5px;
    height: 36px;
    align-items: center;
    padding-left: 10px;
  }

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

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

    .label:lang(zh) {
      letter-spacing: 3px;
    }

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

      // input和下拉
      .ipt {
        border: 1px solid $cOrange !important;
        border-radius: 5px;
        height: 36px;
        display: flex;
        align-items: center;
      }

      // 长文本
      .textarea {
        min-height: 105px;
        @extend .bb;
        padding: 9px;
      }

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

    .validator {
      color: $cOrange;
      margin-top: 6px;
      position: absolute;
      right: 12px;
      display: flex;
      align-items: center;
      // bottom: 0;

      img {
        display: inline-block;
        margin-right: 4.8px;
      }
    }
  }


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

    .label {
      align-items: center;
      width: 25%;
      padding-left: 5px;

      .main-label {
        color: $cOrange;
      }
    }

    .label:lang(zh) {
      letter-spacing: 3px;
    }

    .date-container {
      width: 60%;
      position: relative;
    }

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

      .ipt-wrap {

        // input和下拉
        .ipt {
          border: 1px solid $cOrange !important;
          border-radius: 5px;
          height: 36px;
          display: flex;
          align-items: center;
        }


        .ipt2 {
          width: 100%;
          border-bottom: 1px solid #ccc;
          height: 36px;
          display: flex;
          align-items: center;
          margin-bottom: 10px;
        }

        // 长文本
        .textarea {
          min-height: 105px;
          @extend .bb;
          padding: 9px;
        }

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


.notice {
  margin-top: 48px;
  @extend .bb;
  padding: 0 12px;

  &-item {
    position: relative;
    line-height: 2;
    margin-bottom: 12px;

    &-icon {
      width: 14px;
      position: absolute;
      top: 7.2px;
    }
  }

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

@media (max-width: 1200px) {
  .mobile-margin {
    margin-top: 30px;
  }
}

@media (max-width: 1000px) {
  .reservation-container-2 {
    padding: 20px 24px 34px 24px;
  }

  .form {
    &-item {
      width: 100%;

      .label {
        min-width: 30%;
      }

      .ipt-wrap {
        width: 70%;
      }
    }

    &-item-2 {
      .date-container {
        width: 80%;
      }
    }
  }
}

@media (max-width: 600px) {
  .reservation-container {
    padding: 32px 24px 34px 24px;
  }

  .form {
    &-item {
      width: 100%;

      .label {
        min-width: 30%;
      }

      .ipt-wrap {
        width: 70%;
      }
    }

    &-item2 {
      display: block;

      .ipt-wrap {
        margin: 0;
      }
    }

    &-item-2 {
      .label {
        width: 30%;
      }

      .value {
        width: 70%;
      }

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

    &-item3 {
      display: block;

      .ipt-wrap {
        margin: 0;
        width: 100%;
      }
    }
  }

  .notice {
    margin: 0;
  }
}


@media (max-width: 400px) {
  .reservation-container-2 {
    padding: 20px 12px;
  }
}