html {
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica, Segoe UI, Arial, Roboto, PingFang SC, Hiragino Sans GB,
    Microsoft Yahei, sans-serif;
}

a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: initial;
}

div {
  -webkit-font-smoothing: antialiased;
}

dd,
div,
dt,
li,
span {
  cursor: pointer;
}

/* 主视图 */
#app {
  /* min-height: 100vh; */
  background: #f5f5f5;
}

/* 渲染视图 */
#app .app-main {
  background-color: #f9f9f9;
  /* min-height: 100vh; */
  overflow: hidden;
  max-width: 540px;
  margin: 0 auto;
  position: relative;
}

/* ! hack vant css  */
/* hack vant checkbox + van-field */
.multiple-choice {
  display: block !important;
}
.multiple-choice .van-field__control {
  justify-content: flex-start;
}
.multiple-choice .van-checkbox-group .van-checkbox {
  margin-bottom: 0.35rem;
}
.multiple-choice .van-checkbox-group .van-checkbox .van-checkbox__icon {
  width: 0.4rem !important;
  height: 0.4rem !important;
}
.multiple-choice .van-checkbox-group .van-checkbox .van-icon {
  position: relative;
  width: 0.4rem !important;
  height: 0.4rem !important;
}
.multiple-choice .van-checkbox-group .van-checkbox .van-icon-success:before {
  position: absolute;
  top: 0;
  left: -0.03rem;
  font-size: 0.37rem;
  height: 0.4rem;
  width: 0.4rem;
  line-height: 0.4rem;
}
.multiple-choice .van-checkbox-group .van-checkbox:last-of-type {
  margin-bottom: 0rem;
}
.multiple-choice .van-field__label {
  width: 100% !important;
}

.base-textarea {
  display: block !important;
}
.base-textarea .van-field__label {
  width: 100% !important;
}

/* hack vant file-uploader + van-field */
.file-uploader {
  display: block !important;
}
.file-uploader .van-field__control {
  /* margin-top: 0.2rem; */
  display: block;
  text-align: left;
}
/* .file-uploader .tip-text {
  font-size: 0.32rem;
  font-weight: 400;
  color: #757575;
  margin: 0 0 0.4rem;
} */

/* hack vant van-field */
.van-field__label {
  /* width: 1.5rem !important; */
  margin-right: 0.4rem !important;
  font-size: 0.4rem;
}
.van-field__control {
  font-size: 0.4rem;
  color: #999999;
}
.van-icon-arrow {
  font-size: 0.3rem !important;
  color: #b0b0b0 !important;
}

/* 上传组件 */
.uploader {
  width: 100%;
}

.uploader input {
  height: 0px;
  display: block;
  outline: none;
  border: none;
  width: 0;
  background: none;
}

.uploader__button {
  display: block;
  width: 2rem;
  height: 0.8rem;
  background: var(--color);
  border-radius: 0.08rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.uploader__list {
  width: 100%;
  margin-top: 0.2rem;
}

.uploader__list__item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.uploader__list__item .name {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  overflow: hidden;
  -webkit-box-orient: vertical;
  width: 80%;
  text-align: left;
}
.uploader__list__item .operation {
  display: inline-flex;
}

.icon-delete {
  width: 0.4rem;
  height: 0.4rem;
  position: relative;
  background-color: rgb(250, 54, 10);
  border-radius: 50%;
}

.icon-delete::before,
.icon-delete::after {
  content: '';
  width: 11px;
  height: 0.02rem;
  background: #ffffff;
  position: absolute;
  right: 2px;
  top: 7px;
}

.icon-delete::before {
  transform: rotate(45deg);
}

.icon-delete::after {
  transform: rotate(-45deg);
}

.van-cell::after {
  content: none !important;
}

.van-cell--required::before {
  display: none !important;
}

.van-cell {
  flex-direction: column;
}

.van-field__label {
  width: 100% !important;
  color: #000 !important;
  padding-bottom: 0.35rem;
}

.matrix-box .van-field__label {
  padding-bottom: 0 !important;
}

.van-cell--required .van-field__label::after {
  position: relative;
  left: 4px;
  bottom: 2px;
  display: inline-block;
  content: '*';
  color: #ee0a24;
  font-size: 12px;
  /* margin: 0 0 1rem 0.05rem; */
}

.address-cascader {
  position: relative;
}

.address-cascader .van-cell__right-icon {
  position: absolute;
  /* top: 0; */
  right: 0.4rem;
  bottom: 0;
}

.mobile-input .van-field__body {
  flex-direction: row-reverse;
}

.mobile-input .van-field__button {
  flex: none;
  display: flex;
  align-items: center;
  width: 1.5rem;
  max-width: 1.5rem;
  padding-left: 0;
  margin-right: 0.4rem;
  /* width: 100%; */
}

.mobile-input .van-field__button .van-field__control {
  width: 100%;
}

.mobile-input .van-field__control {
  width: calc(100% - 1.5rem);
}

.tip-text {
  font-size: 0.4rem;
  font-weight: 400;
  color: #c8c9cc;
  margin: 0 0 0.4rem;
}

.van-field--error .tip-text {
  color: #ee0a24 !important;
}
