:root {
  --global_bg_color: #f2f2f2;
  --blue_bold_color: #0f2cb3;
  --blue_color: #0070f8;
  --blue_light_color: #e4f0fe;
  --gray_color: #e3e8ec;
  --gray_weight_color: #999999;
  --gray_light_color: #f4f4f4;
  --black_color: #333333;
  --black_bold_color: #000000;

  --page_space: 0.45rem;
  --icon_size: 0.52rem;
  --fontSize_big: 0.56rem;
  --fontSize_title: 0.44rem;
  --fontSize_normal_title: 0.42rem;
  --fontSize_sub-title: 0.38rem;
  --fontSize: 0.36rem;
  --fontSize_small: 0.3rem;

  --fontSize_question-title: 0.64rem;
  --fontSize_question-sub-title: 0.56rem;
  --fontSize_question-info-title: 0.5rem;
  --fontSize_question-label: 0.72rem;
  --fontSize_question-text: 0.44rem;
  --fontSize_question-small-text: 0.34rem;
}

@media screen and (min-width: 760px) {
  :root {
    --page_space: 18px;
    --icon_size: 20px;
    --fontSize_big: 0.24rem;
    --fontSize_title: 20px;
    --fontSize_normal_title: 18px;
    --fontSize_sub-title: 16px;
    --fontSize: 14px;
    --fontSize_small: 12px;

    --fontSize_question-title: 28px;
    --fontSize_question-sub-title: 24px;
    --fontSize_question-info-title: 20px;
    --fontSize_question-label: 32px;
    --fontSize_question-text: 17px;
    --fontSize_question-small-text: 13px;
  }
}

html, body {
  font-family: Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: text;
  overflow-x: hidden;
  background-color: var(--global_bg_color);
  color: var(--black_color);
  line-height: 1;
  font-size: var(--fontSize);
}

#app {
  position: relative;
  height: 100vh;
  width: 100vw;
  max-width: 760px;
  margin: 0 auto;
  background-color: #ffffff;
}

.page-wrapper {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.scroll-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.scroll-content {
  position: relative;
  box-sizing: border-box;
  padding-bottom: calc(constant(safe-area-inset-bottom) + 1.44rem);
  padding-bottom: calc(env(safe-area-inset-bottom) + 1.44rem);
}

.swiper-container {
  position: relative;
}

.font-size-big {
  font-size: var(--fontSize_big);
}

.font-size-title {
  font-size: var(--fontSize_title);
}

.font-size-normal-title {
  font-size: var(--fontSize_normal_title);
}

.font-size-sub-title {
  font-size: var(--fontSize_sub-title);
}

.font-size {
  font-size: var(--fontSize);
}

.font-size-small {
  font-size: var(--fontSize_small);
}

.question-title {
  font-size: var(--fontSize_question-title);
}

.question-sub-title {
  font-size: var(--fontSize_question-sub-title);
}

.question-info-title {
  font-size: var(--fontSize_question-info-title);
}

.question-label {
  font-size: var(--fontSize_question-label);
}

.question-text {
  font-size: var(--fontSize_question-text);
}

.question-text-small {
  font-size: var(--fontSize_question-small-text);
}

.ciie-image-box {
  font-size: 0;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ciie-image-box img {
  width: 100%;
  height: auto;
}

.ciie-title {
  font-size: var(--fontSize_title);
  line-height: 1.6;
  color: var(--black_bold_color);
  font-weight: normal;
}

.ciie-title sup {
  font-size: calc(var(--fontSize_title) * 0.7);
}

.ciie-sub-title {
  font-size: var(--fontSize_sub-title);
  line-height: 1.6;
  color: var(--black_bold_color);
  font-weight: normal;
}

.ciie-sub-title sup {
  font-size: calc(var(--fontSize_sub-title) * 0.7);
}

.ciie-desc {
  font-size: var(--fontSize);
  line-height: 1.6;
}

.ciie-desc sup {
  font-size: calc(var(--fontSize) * 0.7);
}

.ciie-desc:last-child {
  margin-bottom: 0 !important;
}

.ciie-desc-small {
  font-size: var(--fontSize_small);
  line-height: 1.6;
  color: var(--black_bold_color);
}

.ciie-desc-small sup {
  font-size: calc(var(--fontSize_small) * 0.7);
}

/*radio修改*/
.ciie-radio.ivu-radio-wrapper {
  font-size: 0.44rem;
  margin-bottom: 0.3rem;
}

.ciie-radio.ivu-radio-wrapper.auto-height {
  height: auto;
  line-height: normal;
  display: flex;
  white-space: normal;
}

.ciie-radio.ivu-radio-wrapper.auto-height .ivu-radio {
  flex-shrink: 0;
  transform-origin: 0 0;
  transform: scale(1.5);
  box-sizing: border-box;
  margin-right: 0.6rem;
}

.ciie-radio.ivu-radio-wrapper .ivu-radio {
  margin-right: 0.3rem;
  transform: scale(1.2);
}

.ciie-radio.ivu-radio-wrapper .ivu-radio .ivu-radio-checked {
  border-color: #0072ef;
}

/*checkboxGroup修改*/
.ciie-checkbox-group.ivu-checkbox-group {
  font-size: 0.36rem;
  display: flex;
  flex-direction: column;
}

/*checkbox修改*/
.ciie-checkbox.ivu-checkbox-wrapper {
  margin-right: 0;
  font-size: 0.36rem;
  line-height: 0.56rem;
  color: var(--black_bold_color);
}

.ciie-checkbox.ivu-checkbox-wrapper .ivu-checkbox .ivu-checkbox-inner {
  height: 0.44rem;
  width: 0.44rem;
}

.ciie-checkbox.ivu-checkbox-wrapper .ivu-checkbox .ivu-checkbox-inner::after {
  height: 0.32rem;
  width: 0.22rem;
  left: 0.11rem;
}

.ciie-checkbox-flex.ivu-checkbox-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 0.4rem;
}

.ciie-checkbox-flex.ivu-checkbox-wrapper .ivu-checkbox {
  margin-right: 0.4rem;
}

/*button修改*/
.ciie-button.ivu-btn {
  padding: 0.25rem;
  line-height: 1;
  height: auto;
  font-size: 0.44rem;
  color: #ffffff;
  background-color: var(--blue_color);
}

.ciie-button.grey {
  color: #ffffff;
  border-color: #0072ef;
  background-color: #0072ef;
}

.ciie-button.gray {
  color: #c5c8ce;
  background-color: var(--gray_weight_color);
  border-color: #dcdee2;
}

.ciie-button.ivu-btn.disabled, .ciie-button.ivu-btn[disabled] {
  color: #c5c8ce;
  background-color: #eeeeee;
  border-color: #dcdee2;
}

/*分隔线修改*/
.ciie-divider.ivu-divider-horizontal {
  margin: 0.39rem 0;
}

/* input */
.ciie-input.ivu-input-wrapper {
  font-size: 0.44rem;
}

.ciie-input.ivu-input-wrapper .ivu-input {
  padding: 0.4rem;
  box-sizing: border-box;
  font-size: 0.44rem;
  height: 1.2rem;
  line-height: 1.2rem;
  background-color: #f6f5fa;
  color: #333333;
}

.ciie-input.ext.ivu-input-wrapper {
  font-size: var(--fontSize_question-text);
}

.ciie-input.ext.ivu-input-wrapper .ivu-input {
  padding: 0;
  height: auto;
  font-size: var(--fontSize_question-text);
  line-height: 1;
  background-color: transparent;
}

.ciie-input.ivu-input-wrapper.border-bottom .ivu-input {
  border: none;
  border-bottom: 1px solid var(--gray_color);
}

.ciie-input.ivu-input-wrapper.no-border .ivu-input {
  border: none;
}

.ciie-input.ivu-input-wrapper .ivu-input-icon {
  line-height: 1.2rem;
  font-size: 0.6rem;
}

/* select */
.ciie-select.ivu-select {
  font-size: 0.44rem;
  height: 1.2rem;
  line-height: 1.2rem;
  color: #333333;
}

.ciie-select.ivu-select .ivu-select-selection {
  height: 1.2rem;
  background-color: #f6f5fa;
  color: #333333;
}

.ciie-select.ivu-select .ivu-select-selection .ivu-select-selected-value, .ciie-select.ivu-select .ivu-select-selection .ivu-select-placeholder {
  height: 1.2rem;
  line-height: 1.2rem;
  font-size: 0.44rem;
}

.ciie-select.ivu-select .ivu-select-selection .ivu-icon {
  font-size: 0.6rem;
}

.ciie-select.ivu-select.no-border .ivu-select-selection {
  border: none;
}

.ivu-select-dropdown .ivu-select-item {
  font-size: 0.44rem !important;
}

/* message */
.ivu-message {
  font-size: var(--fontSize_title);
}

.ivu-message .ivu-message-notice {
  height: auto;
}

.ivu-message .ivu-icon {
  font-size: var(--icon_size);
}


/* ciie-header */
.ciie-header {
  position: relative;
}

.ciie-header .logo {
  position: absolute;
  top: 0;
  right: 0;
  width: 1.5rem;
  height: 1.5rem;
  z-index: 5;
}

.ciie-header .title-wrapper {
  position: absolute;
  top: 55%;
  left: 50%;
  z-index: 5;
  transform: translate3d(0, -50%, 0);
}

.ciie-header .title-wrapper .title {
  font-size: 0.42rem;
  font-weight: bold;
  color: var(--black_bold_color);
}

.ciie-header .title-wrapper .sub-title {
  margin-top: 0.18rem;
  font-size: 0.32rem;
  font-weight: lighter;
  color: var(--black_bold_color);
}

.ciie-header.home .title-wrapper .sub-title {
  font-size: 0.28rem;
}

/* ciie-inner-header */
.ciie-inner-header {
  box-sizing: border-box;
  padding: var(--page_space);
  display: flex;
  align-items: center;
}

.ciie-inner-header .left {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.ciie-inner-header .left .icon {
  transform: rotate(180deg);
  font-size: var(--icon_size);
  margin-right: calc(var(--page_space) * 1 / 2);
}

.ciie-inner-header .title {
  font-size: var(--fontSize_title);
  line-height: 1.3;
}

.ciie-inner-header .sub-title {
  font-size: var(--fontSize_sub-title);
  line-height: 1.3;
}

/*footer*/
.ciie-footer {
  overflow: hidden;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 100;
  border-top: 1px solid #eeeeee;
  background-color: #ffffff;
}

.ciie-footer .ciie-footer-inner {
  height: 1.44rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.ciie-footer .item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.ciie-footer .item .ciie-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 0.75rem;
  width: 1rem;
}

.ciie-footer .item span {
  color: #666666;
  font-size: 0.28rem;
  padding-top: 0.12rem;
}

/* 自定义弹出框 */
.ciie-custom-modal {
  position: fixed;
  height: 100vh;
  width: 100vw;
  left: 0;
  top: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ciie-custom-modal .ciie-custom-modal-layer {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
}

.ciie-custom-modal .ciie-custom-modal-content {
  background-color: #ffffff;
  position: relative;
  z-index: 5;
  width: 88%;
  max-height: 90%;
  box-sizing: border-box;
  padding: calc(var(--page_space) * 2) var(--page_space);
  font-size: var(--fontSize_sub-title);
  overflow-y: auto;
  overflow-x: hidden;
}

.ciie-custom-modal .ciie-custom-modal-content .ciie-custom-modal-content-inner {
  margin-bottom: 0.7rem;
}

.ciie-custom-modal .ciie-custom-modal-content .btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ciie-custom-modal .ciie-custom-modal-content .btn-wrapper .btn {
  margin-left: 0.3rem;
  margin-right: 0.3rem;
  width: 3.6rem;
}

.ciie-custom-modal .ciie-custom-modal-content .close-icon {
  position: absolute;
  top: calc(var(--page_space) / 2);
  right: calc(var(--page_space) / 2);
  font-size: var(--icon_size);
}

.ciie-custom-modal .ciie-custom-modal-content .ciie-custom-modal-title {
  font-size: var(--fontSize_question-title);
  text-align: center;
  margin-bottom: 0.55rem;
}

@media screen and (min-width: 760px) {
  .ciie-custom-modal .ciie-custom-modal-content {
    max-width: 450px;
  }

  .ciie-custom-modal .ciie-custom-modal-content .ciie-custom-modal-title {
    margin-bottom: 40px;
  }
}

/* 协议页面 */
.ciie-agreement-content {
  height: 100vh;
  box-sizing: border-box;
  padding: 1.5rem 1rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.ciie-agreement-content .card {
  border-radius: 3px;
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.1);
  position: relative;
  background-color: #ffffff;
}

.ciie-agreement-content .card .agree-text {
  line-height: 1.6;
  box-sizing: border-box;
  padding: 0.5rem 0.5rem 1.25rem;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
}

.ciie-agreement-content .card .agree-text .font-size-title {
  font-weight: bold;
}

.ciie-agreement-content .card .agree-text .font-size-sub-title {
  font-weight: bold;
}

.ciie-agreement-content .card .agree-text .indent {
  text-indent: calc(var(--fontSize) * 1);
}

.ciie-agreement-content .card .agree-text .font-size-sub-title.indent {
  text-indent: calc(var(--fontSize_sub-title) * 2);
}

.ciie-agreement-content .card .agree-text .font-size-sub-title.indent-3 {
  text-indent: calc(var(--fontSize_sub-title) * 3);
}

.ciie-agreement-content .card .agree-text .link {
  color: var(--blue_color);
  text-decoration: underline;
}

.ciie-agreement-content .card .btn-wrapper {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 110%;
  z-index: 5;
  transform: translate3d(-50%, 50%, 0);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ciie-agreement-content .card .btn-wrapper .pre-btn, .ciie-agreement-content .card .btn-wrapper .next-btn {
  font-size: var(--fontSize_question-text);
  padding: 0.4rem 0.8rem;
  display: flex;
  align-items: center;
}

.ciie-agreement-content .card .btn-wrapper .pre-btn {
  background-color: var(--blue_light_color);
  color: var(--blue_color);
  border-color: var(--blue_color);
}

@media screen and (min-width: 760px) {
  .ciie-agreement-content {
    padding: 120px 80px;
  }

  .ciie-agreement-content .card .agree-text {
    padding: 30px 30px 60px;
  }

  .ciie-agreement-content .card .btn-wrapper .pre-btn, .ciie-agreement-content .card .btn-wrapper .next-btn {
    padding: 16px 32px;
  }
}

/* 产品信息弹出框 */
.ciie-product-modal {
  position: fixed;
  height: 100vh;
  width: 100vw;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow-x: hidden;
  overflow-y: auto;
}

.ciie-product-modal .ciie-product-modal-content {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: calc(var(--page_space) * 3) var(--page_space) calc(var(--page_space) * 2);
}

.ciie-product-modal .ciie-product-modal-content-layer {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  height: 100%;
  width: 100%;
  min-width: 100vw;
  min-height: 100vh;
  background-color: rgba(0, 0, 0, 0.3);
}

.ciie-product-modal .ciie-product-modal-content .content-card {
  position: relative;
  z-index: 5;
  background-color: #ffffff;
}

.ciie-product-modal .ciie-product-modal-content .modal-content-top {
  box-sizing: border-box;
  padding: calc(var(--page_space) / 2);
  display: flex;
  justify-content: flex-end;
}

.ciie-product-modal .ciie-product-modal-content .modal-content-body {
  box-sizing: border-box;
  padding: 0 var(--page_space) var(--page_space);
  overflow: hidden;
}

.ciie-product-modal .ciie-product-modal-content .modal-content-body .ciie-title {
  font-size: var(--fontSize_normal_title);
}

/*动画过度效果*/
/*透明*/
.fade-enter-active, .fade-leave-active {
  will-change: opacity;
  transition: all 0.2s;
}

.fade-enter, .fade-leave-to {
  opacity: 0;
}

/*移动*/
.move-enter-active, .move-leave-active {
  will-change: transform;
  transition: all 0.2s;
}

.move-enter, .move-leave-to {
  transform: translate3d(100%, 0, 0);
  opacity: 0;
}

/*上拉*/
.slideUp-enter-active, .slideUp-leave-active {
  will-change: transform;
  transition: all 0.2s;
}

.slideUp-enter, .slideUp-leave-to {
  transform: translate3d(0, 100%, 0);
  opacity: 0;
}

.list-item-effect-image {
  animation: slide-right 0.4s linear;
  animation-fill-mode: forwards;
  opacity: 0;
  transform: translate3d(100%, 0, 0);
  will-change: transform;
}

@keyframes slide-right {
  0% {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
