.student-register {
  min-height: 100vh;
  // background: #FFF4E2;
  background: linear-gradient(180deg, #C9EDFD 0%, #CCF0FF 100%);
  overflow: hidden;
  position: relative;

  --k-font-primary: #007AFE;

  .studentRegisterContainer {
    padding-top: 142px;
    background: url('./images/new/banner-bg.png') no-repeat top center;
    background-size: contain;
  }


  .video-content {
    margin: 16px 14px 2px;
    padding: 6px;
    background: linear-gradient(270deg, #5BBEFC 0%, #5CC9FF 100%), #5BBEFC;
    border-radius: 16px;
    height: 171.125px;
    // 154.125
    box-sizing: content-box;
    position: relative;

    .videoDuration {
      position: absolute;
      background-color: rgba(0, 0, 0, 0.3);
      border-radius: 6px;
      padding: 4px 6px;
      font-size: 13px;
      line-height: 1;
      color: #fff;
      right: 14px;
      bottom: 12px;
    }

    .coverImg {
      width: 100%;
      height: 100%;
      border-radius: 30px;
    }

    video {
      width: 100%;
    }

    :global {
      .video-back {
        position: absolute;
        left: 20px;
        top: 20px;
        color: #fff;
        z-index: 99;
        font-size: 24px;
        width: 30px;
        height: 30px;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        padding: 4px 5px 4px 3px;
      }


      .video-js {
        width: 100%;
        height: 100%;
        border-radius: 30px;
        overflow: hidden;
      }

      .vjs-poster {
        background-size: cover;
      }


      .plyr__poster {
        background-size: cover;
      }

      .plyr__control--overlaid {
        border: 1px solid #fff;
        background-color: rgba(0, 0, 0, 0.2) !important;
      }

      .plyr--video .plyr__control:hover {
        background-color: transparent !important;
      }

      .video-js {
        width: 100%;
        height: 100%;
      }

      .tcp-skin .vjs-play-progress {
        background-color: #fff !important;
      }

      .vjs-slider:focus {
        box-shadow: none !important;
      }

      .video-js .vjs-progress-control:hover .vjs-progress-holder {
        font-size: 1em !important;
      }

      .vjs-button-icon {
        height: 42Px !important;
      }

    }

    .video {
      position: relative;
      border-radius: 12px;
      background-color: transparent !important;
    }
  }
}

.countdownSection {
  position: relative;
  background: linear-gradient(90deg, #FFBBD1 0%, #FFEFE2 100%), linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 100%);
  border-radius: 16px;
  margin: 0 14px 12px;
  padding: 10px 16px 10px;
  border: 2px solid #FFFFFF;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 13px;
    display: inline-block;
    width: 32px;
    height: 48px;
    background: url('./images/new/icon-1.png') no-repeat center;
    background-size: contain;
  }

  .timer {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .timerAll {
    font-size: 12px;
    color: #131415;
    line-height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;

    span {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 22px;
      min-width: 22px;
      padding: 0 3px;
      background: #FF3A5F;
      border-radius: 4px;
      font-weight: 600;
      font-size: 12px;
      color: #FFFFFF;
      margin: 0 4px;
    }
  }

  .timerTitle {
    width: 80px;
    height: 15px;
    margin-right: 4px;
  }

  .timerTip {
    margin-top: 10px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
    border-radius: 12px;
    text-align: center;
    padding: 4px 6px;
    font-size: 11px;
    color: #69717C;
    line-height: 16px;
  }
}

.paymentContainer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 14px;
  padding: 16px 14px calc(16px + env(safe-area-inset-bottom)) 12px;
  background: #FFFFFF;
  box-shadow: 0px -1px 0px 0px #F2F2F2, inset 0px 1px 3px 0px #FFFFFF;
  border-radius: 18px 18px 0px 0px;


  .payemntPrice {
    // line-height: 0;
    position: absolute;
    left: 14px;
  }

  .giftTip {
    width: 94px;
    height: 19px;
  }

  .needPrice {
    color: #333333;
    padding-bottom: 7px;
    font-size: 14px;
    font-family: DINAlternate-Bold, DINAlternate;
    font-weight: bold;
    color: #FC1A19;
    padding-right: 6px;

    span {
      font-size: 24px;
      margin-right: 2px;
    }

    i {
      // margin-top: -3px;
      vertical-align: text-bottom;
      font-weight: 400;

      &.unit {
        font-size: 12px;
      }
    }
  }

  .allPrice {
    display: inline-block;
    font-size: 14px;
    font-family: DINAlternate-Bold, DINAlternate;
    font-weight: bold;
    color: #AAAAAA;
    line-height: 16px;
    vertical-align: text-top;
  }

  :global {
    .van-button {
      height: 40px;
      line-height: 40px;
      width: 148px;
      background: linear-gradient(135deg, #31C7FF 0%, #007AFE 100%);
      font-size: 16px;
      color: #fff;
      font-weight: 500;
      border: 0;
    }
  }

  .traditionBtn {
    flex: 1;
    text-align: center;

    :global {
      .van-button {
        width: 100%;
        max-width: 325px;
      }
    }
  }
}

.studentSection {
  margin: 0 14px 12px;
  padding: 12px 15px;
  background: linear-gradient(180deg, rgba(219, 246, 253) 0%, rgba(255, 255, 255) 30%);
  border-radius: 16px;
  border: 2px solid #FFFFFF;

  &.studentSectionForm {
    padding: 12px 0;
    background: linear-gradient(180deg, #DBF6FD 0%, #FFFFFF 10%);
  }

  &.noSendDay {
    padding-bottom: 0;
  }

  .title1,
  .title3,
  .title4 {
    width: 212px;
    height: 22px;
    background: url('./images/new/title-7.png') no-repeat center;
    background-size: contain;
    margin: 0 auto;
  }

  .title2 {
    width: 248px;
    height: 22px;
    background: url('./images/new/title-4.png') no-repeat center;
    background-size: contain;
    margin: 0 auto;
  }

  .title3 {
    background: url('./images/new/title-6.png') no-repeat center;
    background-size: contain;
  }

  .title4 {
    background: url('./images/new/title-8.png') no-repeat center;
    background-size: contain;
  }

  .goodsGroup {
    display: flex;
    align-items: center;
    margin-top: 29px;
  }

  .goodsItem {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    // background: #EBF3F8;
    // border-radius: 20px 4px 4px 20px;
    height: 36px;
    line-height: 36px;
    font-size: 16px;
    color: #728088;
    // transform: skewX(-15deg);
    background: url('./images/new/btn-left-default.png') no-repeat center;
    background-size: contain;



    .goodsInner {
      // transform: skewX(15deg);
      // background: #EBF3F8;
      width: 100%;
      text-align: center;
    }

    &.checked {
      // background: linear-gradient(315deg, #31C7FF 0%, #007AFE 100%);
      background: url('./images/new/btn-left-active.png') no-repeat center !important;
      background-size: contain !important;
      color: #fff;
      font-weight: 600;

    }

    &.checked1 {

      background: url('./images/new/btn-right-active.png') no-repeat center !important;
      background-size: contain !important;
      color: #fff;
      font-weight: 600;

    }

    .proposalTip {
      position: absolute;
      right: 8px;
      top: -14px;
      width: 40px;
      height: 26px;
      display: inline-block;
      background: url('./images/new/icon-2.png') no-repeat center;
      background-size: contain;
    }

    &+.goodsItem {
      // margin-left: 8px;
      // border-radius: 4px 20px 20px 4px;
      // transform: skewX(-15deg);
      background: url('./images/new/btn-right-default.png') no-repeat center;
      background-size: contain;
      // &.checked {
      //   background: linear-gradient(315deg, #31C7FF 0%, #007AFE 100%);
      // }
    }
  }

  .goodsTypeGroup {
    padding-top: 14px;
    padding-bottom: 2px;

    .showImg {
      height: 100px;
      // width: 100%
    }

    .memberNumer {
      margin: 14px 0 0;
      background: #E8F8FF;
      border-radius: 8px;
      padding: 8px 0 8px 10px;
      display: flex;
      align-items: center;
      // font-weight: 600;
      font-size: 13px;
      color: #131415;
      line-height: 18px;

      .iconGift {
        width: 18px;
        height: 18px;
        margin-right: 6px;
      }

      span {
        font-size: 15px;
        color: #F62C2C;
        padding: 0 5px;
        font-weight: 600;
      }
    }
  }
}

.registerForm {
  // background: #FFFFFF;
  // border-radius: 16px;
  border-radius: 18px;
  // margin: 0 12px;
  overflow: hidden;

  .selectStudentGroup {
    margin-left: 10px;
    font-size: 14px;
    color: #1189FF;
    display: flex;
    align-items: center;
    justify-content: center;

    &.selectStudentGroupChecked {
      span::after {
        transform: rotate(180deg);
      }
    }


    span {
      display: flex;
      align-items: center;
      justify-content: center;

      &::after {
        display: inline-block;
        content: '';
        width: 9px;
        height: 5px;
        margin-left: 4px;
        background: url('./images/new/icon-n-6.png') no-repeat center;
        background-size: contain;
      }
    }
  }

  :global {
    .van-cell {
      background-color: transparent;
    }
  }

  .fieldTipsGroup {
    margin: 0 14px 0;
    padding-bottom: 9px;
  }

  .fieldTips {
    font-size: 13px;
    color: #EC763B;
    line-height: 18px;
    background: #FFF8EB;
    border-radius: 4px;
    padding: 4px 10px;
  }

  .tips {
    display: inline-block;
    // padding-left: 5px;
    // padding-top: 2px;
    font-size: 12px;
    font-weight: 400;
    color: #777;
    line-height: 17px;
  }

  .username {
    padding-bottom: 8px !important;

    :global {
      .van-field__label {
        display: flex;
        align-items: center;
        width: 170px;
      }
    }
  }

  .countDown {
    min-width: 80px;
    text-align: center;
    font-size: 14px;
    color: #A0D0FF;
  }

  :global {
    .van-cell {
      padding: 18px 14px;
    }


    .van-field__label {
      font-size: 16px;
      color: #666666;
      line-height: 22px;
    }

    .van-field__control {
      font-size: 16px;
      color: #131415;
    }
  }

  .codeText {
    color: #1189FF;
    font-size: 14px;

    // &.codeTextDisabled {
    //   color: #ccc;
    // }
  }

  .memberNumer {
    margin: 14px 12px 0;
    background: #E8F8FF;
    border-radius: 8px;
    padding: 8px 0 8px 10px;
    display: flex;
    align-items: center;
    // font-weight: 600;
    font-size: 13px;
    color: #131415;
    line-height: 18px;

    .iconGift {
      width: 18px;
      height: 18px;
      margin-right: 6px;
    }

    span {
      font-size: 15px;
      color: #F62C2C;
      padding: 0 5px;
      font-weight: 600;
    }
  }
}

.radioSection {
  position: relative;
  min-width: 32px;
  justify-content: center;
  // padding-left: 19px;
  // padding-right: 19px;
  padding: 5px 19px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
}

.radioItem {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
}

.radioSection+.radioSection {
  margin-left: 12px;
}

.goodsSection {
  border-radius: 18px 18px;
  box-shadow: 0px 1px 6px 0px #F0D8C8;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  margin-bottom: 12px;

  &:last-child {
    margin-bottom: 0;
  }
}

.iconArrow {
  display: inline-block;
  width: 21px;
  height: 21px;
  background: url('./images/new/icon-arrow.png') no-repeat center;
  background-size: contain;
}

.goodsExtra {
  position: relative;
  margin: 16px 12px;
  background: #FFFFFF;
  border-radius: 16px;
  padding-bottom: 16px;

  .iconArrow {
    position: absolute;
    left: 86px;
    top: -9px;
  }

  .memberNumer {
    margin: 16px 16px 0;
    background: #E8F8FF;
    border-radius: 8px;
    padding: 8px 0 8px 10px;
    display: flex;
    align-items: center;
    // font-weight: 600;
    font-size: 13px;
    color: #131415;
    line-height: 18px;

    .iconGift {
      width: 18px;
      height: 18px;
      margin-right: 6px;
    }

    span {
      font-size: 15px;
      color: #F62C2C;
      padding: 0 5px;
      font-weight: 600;
    }
  }
}

.goodsCell {
  position: relative;
  border-radius: 16px;
  padding: 16px 16px 0;

  .img {
    margin-right: 10px;
    width: 98px;
    height: 98px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
  }

  h2 {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    color: #131415;
    line-height: 22px;
  }

  .goodsName {
    width: 112px;
    height: 16px;
    line-height: 0;
  }

  .brandName {
    margin-left: 6px;
    font-size: 12px;
    font-weight: 400;
    color: #19A1FE;
    line-height: 17px;
    height: 18px;
    background: #F4FAFF;
    border-radius: 4px;
    border: 1px solid rgba(52, 173, 255, 0.55);
    white-space: nowrap;
  }

  .model {
    margin: 6px 0 4px;
    font-weight: 500;
    font-size: 13px;
    color: #FF711B;

    p {
      display: flex;
      align-items: center;

      i {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        display: inline-block;
        margin-right: 4px;
        background: #FF711B;
      }
    }
  }

  .sendInstrument {
    // background: linear-gradient(270deg, #FF7B57 0%, #FF3460 100%);
    // border-radius: 4px;
    // font-size: 12px;
    // color: #FFFFFF;
    // padding: 2px 6px 3px;
    width: 106px;
    height: 23px;
  }

  .moreBtn {
    color: #aaa;
    font-size: 12px;

    :global {
      .van-icon {
        margin-left: 4px;
      }
    }
  }

  .sbtnGroup {
    display: flex;

    &>span {
      font-size: 12px;
      font-weight: 600;
      color: #AF540D;
      line-height: 18px;
      border-radius: 9px;
      border: 1px solid rgba(175, 84, 13, .62);
      padding: 0 6px;
    }
  }

}

.goodsTradition {
  position: relative;
  margin: 16px 12px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 13px 16px 20px;


  .iconArrow {
    position: absolute;
    right: 85px;
    top: -9px;
  }

  .goodsTitle {
    width: 137px;
    height: 44px;
    background: url('./images/new/title-5.png') no-repeat center;
    background-size: contain;
    margin: 0 auto 11px;
  }

  .steps {}

  .step {
    position: relative;
    padding-left: 38px;
    padding-bottom: 16px;

    &::before {
      content: '';
      border-left: 1px dashed rgba(9, 135, 254, 0.4);
      position: absolute;
      left: 15px;
      top: 0;
      display: inline-block;
      height: 100%;
    }

    &:last-child {
      padding-bottom: 0;

      &::before {
        display: none;
      }
    }

    .stepContent {
      font-size: 14px;
      color: #777777;
      line-height: 24px;
      text-align: justify;
      padding-top: 3px;

      span {
        font-weight: 500;
        color: #333333;
      }
    }

    .nums {
      position: absolute;
      left: 0;
      width: 30px;
      height: 30px;
      background: #C9E5FF;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;

      .numInner {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        width: 22px;
        height: 22px;
        font-weight: bold;
        font-size: 13px;
        color: #FFFFFF;
        background: #1BA5FE;
      }
    }
  }
}

.selectStudentPopup {
  :global {
    .van-popup__close-icon {
      color: #767C7F;
    }
  }
}

// 赠送会员
.vipGiftContainer {
  display: flex;
  align-items: center;

  margin: 7px 13px 12px;
  background-image: url('./images/new/vip_gift_suffix.png'), url('./images/new/vip_gift_bg.png');
  background-position: center right, center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 47px;


  .iconGift {
    width: 60px;
    height: 51px;
    margin: -10px 11px 0 16px;
  }

  font-weight: 500;
  font-size: 15px;
  color: #801D09;
  line-height: 21px;



  p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;

    &>div {
      color: #FFFFFF;
      min-width: 84px;
      // text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }

  .vipGiftNum {
    font-weight: bold;
    font-size: 30px;
    line-height: 36px;
    padding-right: 2px;
  }

  .vipGiftPreviod {
    vertical-align: text-bottom;
    font-weight: 600;
    font-size: 16px;
    margin-top: 6px;
  }
}
