:root {
  --van-primary-color: var(--van-red);
  --xq-max-width: 900px;
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
  background-color: #f8f8f8;
}
::-webkit-scrollbar-track {
  background-color: #f8f8f8;
}
::-webkit-scrollbar-thumb {
  border-radius: 2px;
  background-color: #aaa;
  box-shadow: inset 0 0 2px #f8f8f8;
}
::-webkit-scrollbar-track-piece {
  background: 0px 0px;
}
::-webkit-scrollbar-button {
  height: 6px;
  background-color: #f8f8f8;
}
html {
  background: rgb(15, 15, 15);
}
body {
  min-width: 320px;
  min-height: 100vh;
  max-width: var(--xq-max-width);
  margin: 0 auto !important;
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  color: #333;
  background-color: rgb(243 244 246);
}

input:-internal-autofill-selected {
  background-color: transparent;
}

.page-contain-tabbar {
  padding-bottom: calc(51px + env(safe-area-inset-bottom));
}

.van-field__error-message {
  margin-top: 4px;
  line-height: 16px;
  text-align: justify;
}

.van-field__control {
  word-break: break-all;
}

.van-tabs__line {
  transition: all 0.2s ease-in;
}

/* .van-toast {
  position: fixed;
  top: calc(5% + 46px);
  left: 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  box-sizing: content-box;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  max-width: 280px;
  white-space: nowrap;
} */

.van-field.van-cell--clickable {
  justify-content: center;
}

.van-nav-bar__left,
.van-nav-bar__right {
  z-index: 1;
}

.xq-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.xq-grid .xq-grid-icon {
  margin-bottom: 4px;
  position: relative;
}

.xq-grid .xq-grid-icon i {
  font-size: 24px;
  line-height: 1;
  color: var(--van-primary-color);
}

.xq-tabbar {
  max-width: var(--xq-max-width);
  left: 50%;
  transform: translateX(-50%);
}

.order-box,
.bill-box,
.item-box {
  padding: 12px;
  background-color: #fff;
  border-radius: 6px;
  font-size: 14px;
}
.order-title {
  display: flex;
  align-items: center;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px dashed #e0e0e0;
}
.bill-title {
  display: flex;
  align-items: center;
  height: 26px;
  line-height: 26px;
}
.bill-content {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed #e0e0e0;
  font-size: 13px;
}
.unpay-bill-content {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px dashed #e0e0e0;
    font-size: 13px;
}

.order-status {
  margin-left: auto;
}
.order-addr {
  margin-left: 8px;
}
.info-item {
  display: flex;
}
.item-name {
  color: #696768;
  width: 70px;
  text-align: right;
  white-space: nowrap;
  margin-right: auto;
}
.item-value {
  padding-left: 6px;
  flex: 1 1 0%;
  word-break: break-all;
  /* text-align: right; */
}
