@import './themes/t1.css';
// @import '../node_modules/zarm/dist/zarm.css';
// @import '../node_modules/za-dmg-components/dist/index.css';

html,
body {
  height: 100%;
  background: rgba(248, 248, 248, 1);
  // background-color: #fff;
}

#container {
  padding-bottom: 85px;
}
// 覆盖箭头样式

.za-select--arrow .za-select__input:after {
  border-bottom: none;
  border-top: 1px solid var(--collapse-arrow-color);
  top: 55%;
}

.za-date-select--arrow .za-date-select__input:after {
  border-bottom: none;
  border-top: 1px solid var(--collapse-arrow-color);
  top: 55%;
}

.za-cell--arrow-down .za-cell__arrow:after {
  border-bottom: none;
  border-top: 1px solid var(--collapse-arrow-color);
  border-left: 1px solid var(--collapse-arrow-color);
  border-right: none;
  position: relative;
  top: 3px;
}

.za-radio-group--button .za-radio.za-radio--checked {
  &:active {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
  }
}

// 专为健康险覆盖样式

.cc-form-item {
  .za-radio-group .za-radio:not(.za-radio--checked) {
    border-color: #c0c0c0;
    color: rgba(51, 51, 51, 1) !important;
  }

  .za-radio-group .za-radio {
    height: 33px;
    font-size: 14px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
  }

  .za-cell:after {
    left: 0;
  }
  // 由于form-item自带padding  被他包裹的cell就不要再padding了
  .za-cell__inner {
    padding: 0;
  }
}

.files-cell.za-cell:after {
  width: 200%;
  left: 0;
}

.za-cell__title {
  color: #000;
}

// end

.ql-editor {
  padding: 0 !important;
}

.page-view {
  max-width: 750px;
  min-height: 100vh;
  margin: auto;
}

.page-view,
.za-popup {
  color: var(--color-text);
  font-size: 14px;
  font-family: 'Chinese Quote', apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', 'Helvetica, Arial', sans-serif,
    'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';

  .fz10 {
    font-size: 10px;
  }

  .fz12 {
    font-size: 12px;
  }

  .fz13 {
    font-size: 13px;
  }

  .fz14 {
    font-size: 14px;
  }

  .fz15 {
    font-size: 15px;
  }

  .fz16 {
    font-size: 16px;
  }

  .fz18 {
    font-size: 18px;
  }

  .fz20 {
    font-size: 20px;
  }

  .fz30 {
    font-size: 30px;
  }

  .fz32 {
    font-size: 32px;
  }

  .c-main {
    color: var(--theme-primary);
  }

  .c-text {
    color: var(--color-text);
  }

  .c-fff {
    color: #fff;
  }

  .c-999 {
    color: #999;
  }

  .c-333 {
    color: #333;
  }

  .c-666 {
    color: #666;
  }

  .c-b4 {
    color: #b4b4b4;
  }

  .c-61 {
    color: #616161;
  }

  .bg-fff {
    background-color: #fff;
  }

  .w-100 {
    width: 100%;
  }

  .pr {
    position: relative;
  }

  .oh {
    overflow: hidden;
  }

  .bold {
    font-weight: bold;
  }

  .hide {
    display: none;
  }

  .show {
    display: block;
  }

  .ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pre {
    white-space: pre-wrap;
  }

  .tc {
    text-align: center;
  }

  .tr {
    text-align: right;
  }

  .fr {
    float: right;
  }

  .fl {
    float: left;
  }

  .lh20 {
    line-height: 20px;
  }

  .lh30 {
    line-height: 30px;
  }

  .mt3 {
    margin-top: 3px;
  }

  .mt5 {
    margin-top: 5px;
  }

  .mt8 {
    margin-top: 8px;
  }

  .mt10 {
    margin-top: 10px;
  }

  .mt15 {
    margin-top: 15px;
  }

  .mt20 {
    margin-top: 20px;
  }

  .mt30 {
    margin-top: 30px;
  }

  .mb5 {
    margin-bottom: 5px;
  }

  .mb10 {
    margin-bottom: 10px;
  }

  .mb20 {
    margin-bottom: 20px;
  }

  .mb30 {
    margin-bottom: 30px;
  }

  .ml2 {
    margin-left: 2px;
  }

  .ml3 {
    margin-left: 3px;
  }

  .ml5 {
    margin-left: 5px;
  }

  .ml10 {
    margin-left: 10px;
  }

  .mr5 {
    margin-right: 5px;
  }

  .pt0 {
    padding-top: 0;
  }

  .pt5 {
    padding-top: 5px;
  }

  .pt10 {
    padding-top: 10px;
  }

  .pt15 {
    padding-top: 15px;
  }

  .pt20 {
    padding-top: 20px;
  }

  .pb10 {
    padding-bottom: 10px;
  }

  .pb15 {
    padding-bottom: 15px;
  }

  .pb20 {
    padding-bottom: 20px;
  }

  .pr20 {
    padding-right: 20px;
  }

  .pl10 {
    padding-left: 10px;
  }

  .plr16 {
    padding-left: 16px;
    padding-right: 16px;
  }

  .padding {
    padding: 14px 16px;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  ul {
    // list-style: none;
    padding: 0;
    margin: 0;
  }

  .hair-line {
    position: relative;
  }

  .hair-line::before {
    content: '';
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    border: 0 solid #dcdcdc;
    transform-origin: 0 0;
  }

  .hair-line--b::before,
  .hair-line--t::before {
    border-top-width: 1px;
    left: 0;
    height: 0;
    transform: scaleY(0.5);
  }

  .hair-line--b::before {
    bottom: 0;
    transform-origin: 0 100%;
  }

  .hair-line--t::before {
    top: 0;
  }

  .hair-line--l::before,
  .hair-line--r::before {
    border-left-width: 1px;
    top: 0;
    width: 0;
    transform: scaleX(0.5);
  }

  .hair-line--r::before {
    right: 0;
    transform-origin: 100% 0;
  }

  .hair-line--l::before {
    left: 0;
  }

  .hair-line--a::before {
    border-width: 1px;
    transform: scale(0.5);
  }
}

.page-view--white {
  background-color: #fff;
}

/* zarm css override */

/* 解决客服微前端样式冲突 */
.za-mask--transparent {
  background-color: transparent !important;
}

.za-cell--arrow-down .za-cell__arrow {
  margin-right: 0;
  margin-left: 10px;
}

.c-row-cascade .za-cell--arrow-down .za-cell__arrow {
  margin-left: -20px;
}

.za-cell--arrow-down .za-cell__arrow::after {
  transform: rotate(135deg);
  margin-bottom: 3px;
  right: 2px;
}

// .ql-indent-1 {
//   background-color: #f6f6f6;
//   padding: 15px !important;
//   margin: 15px !important;
//   border-radius: 5px;
// }

.ql-indent-1 {
  padding-left: 0.915rem !important;
  padding-right: 0.915rem !important;
  background-color: #f6f6f6;
  margin: 0 0.915rem !important;
}

.ql-indent-1-first {
  margin-top: 0.915rem !important;
  padding-top: 0.915rem !important;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
}

.ql-indent-1-last {
  margin-bottom: 0.915rem !important;
  padding-bottom: 0.915rem !important;
  border-bottom-left-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
}

.za-radio-group--button .za-radio {
  --button-default-border: #909090;
  --button-default-color: #909090;
}

.components-content-render {
  ol {
    padding-left: 0;
  }

  ol .ql-indent-1,
  ul .ql-indent-1 {
    text-indent: -1.25rem;
    padding-left: calc(0.915rem + 16px) !important;
    list-style-position: inside;
  }
}

// 全局覆盖zarm默认样式

// 设置模块样式的
.jdSimpleProductBaseInfoModule,
.insuredElementModule,
.insurancePlanTrialCalculation,
.policyHolderModule,
.insuredModule,
.beneficiaryModule {
  margin-bottom: 10px;
}

.benefitDemonstration {
  background-color: #fff;
}

.fix-body-scroll {
  overflow: hidden;
}

.za-stackpicker__stack-column-item {
  background-color: #fff;
}

.za-tol {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

::-webkit-input-placeholder {
  color: var(--color-text-placeholder);
}
