// 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 {
  box-sizing: border-box;

  #captcha {
    margin: 0 auto;
    width: 269px;
    height: 40px;

    #nc {
      height: 100%;
    }

    ._nc {
      .stage1 {
        height: 100%;

        .slider {
          height: 100%;

          .label {
            height: 40px;
            line-height: 40px;
          }

          .button {
            width: 40px;
            height: 40px;
            .icon {
              left: 5px;
            }
          }
          .bg-green {
            height: 40px;
            line-height: 40px;
          }
        }
      }
    }
  }
}

.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;
  }
}
