// form 
// .popup-form {
//   text-align: center;

  .popup-packet__button--bundle {
    margin-top: 5px;
  }
// }

[data-skip="default"] {
  .popup-form__item {
    height: 36px;
  }

  .popup-form__button--num {
    border: 1px solid #99D6FF;
    border-right-style: none;
    border-radius: 6px 0 0 6px;
  }
  
  .popup-form__button--code {
    border-radius: 6px;
  }

  .popup-form__button--bundle {
    width: 161px;
    height: 30px;
    border-radius: 15px;
    font-size: 13px;
  }
  
  .popup-form__ipt {
    border: 1px solid #99D6FF;
    border-radius: 6px;

    &[data-type="tel"] {
      border-left-style: none;
      border-radius: 0 6px 6px 0;
    }
  }
}

[data-skip="year"] {
  .popup-form__title {
    margin: 10px 0 0;
    font-size: 18px;
    color: #111;
    text-align: center;
    line-height: 1;
  }

  .popup-form__item {
    width: 269px;
    height: 40px;
  }

  .popup-form__button--num {
    border: 1px solid #CDCDCD;
    border-right-style: none;
    border-radius: 3px 0 0 3px;
  }

  .popup-form__button--code {
    border-radius: 3px;
  }

  .popup-form__button--bundle {
    width: 270px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 5px;
    font-size: 16px;
  }

  .popup-form__ipt {
    border: 1px solid #CDCDCD;
    border-radius: 3px;

    &[data-type="tel"] {
      border-left-style: none;
      border-radius: 0 3px 3px 0;
    }
  }
}

.captcha-container {
  width: 269px;
  height: 40px;
  margin: 0 auto 15px;
}

.popup-form {
  // width: 290px;
  // height: 257px;
  // padding: 20px 20px 0;
  box-sizing: border-box;
}

.popup-form__item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  
  .popup-form__ipt {
    flex: 1;
  }

  .popup-form__ipt--left {
    width: 130px;
  }

  .popup-form__button--code {
    margin-left: 10px;
  }
}

.popup-form__button--num {
  display: block;
  position: relative;
  height: 36px;
  padding: 0 8px;
  box-sizing: border-box;
  font-size: 14px;
  color: #333;
  line-height: 36px;

  &::after {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    height: 14px;
    margin: auto 0;
    background-color: #AAAAAA;
  }

  .iconfont {
    font-size: 12px;
    color: #333;
  }
}

.popup-form__ipt {
  height: 36px;
  padding: 0 8px;
  box-sizing: border-box;
  font-size: 12px;
  color: #999;
  line-height: 36px;
  outline: none;

  &[data-type="tel"] {
    border-left-style: none;
  }
}

.popup-form__tip {
  margin: 0;
  font-size: 12px;
  color: #FF3131;

  .iconfont {
    font-size: 15px;
    color: #FF3131;
  }
}

.popup-form__button--code {
  width: 110px;
  height: 36px;
  padding: 0;
    border: 1px solid #E5E5E5;
    box-sizing: border-box;
  font-size: 13px;
  color: #999;
  text-align: center;
  line-height: 36px;
  background-color: transparent;

  &[data-status='do'] {
    border-color: #0099FF;
    color: #0099FF;
  }
}

.popup-form__button--bundle {
  display: block;
  padding: 0;
  margin: 0 auto;
  border-style: none;
  color: #2B2B2B;
  background-color: #F9DB4A;
  cursor: pointer;

  &[data-status="done"] {
    color: #fff;
    background-color: #ABABAB;
  }

  &[data-status='do'] {
    color: #fff;
    background-color: #0099FF;
  }
}