body,
.mui-content {
  padding: 0;
  margin: 0;
}
body,
header {
  max-width: 1024px;
  margin: 0 auto;
}
html,
body {
  font-family: sans-serif, "微软雅黑", "Helvetica Neue", Helvetica,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial;
}
/* header css */
header .mui-pull-left img {
  width: 50px;
  height: 50px;
  margin: 5px 0.5em;
}
.mui-bar {
  height: 60px;
}
.mui-title {
  line-height: 60px;
  font-size: 20px;
}
#contacts {
  width: auto;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
#contacts img {
  width: 2.5em;
  height: 2.5em;
  margin-left: 0.5em;
}
#contacts img.user {
  width: 3.2rem;
  height: 3.2rem;
  margin-left: 0.3rem;
}
/* grid css */
.mui-bar-nav ~ .mui-content {
  padding-top: 60px;
}
.mui-grid-view.mui-grid-9 {
  background-color: #fff;
  border-top: none;
}
.mui-content > .mui-table-view:first-child {
  margin-top: 0;
}
.mui-table-view:after {
  height: 0px;
}
.mui-grid-view.mui-grid-9 .mui-table-view-cell {
  padding: 10px;
  border: none;
}
.mui-grid-view.mui-grid-9 .mui-table-view-cell.mui-active {
  background-color: transparent;
}
.mui-grid-view.mui-grid-9 .mui-table-view-cell > a:not(.mui-btn) {
  padding: 11px 5px;
  border-radius: 20px;
  color: #f2f2f2;
}
.mui-table-view.mui-grid-view.mui-grid-9 .mui-table-view-cell.gridItem a {
  background-color: #f2f2f2;
}
.mui-table-view-cell.gridItem img {
  width: 6em;
  height: 4em;
  /* object-fit: contain; */
}
.content.mui-table-view .mui-table-view-cell:after {
  height: 0;
  content: none;
  background-color: #fff;
}
/* drawer */
@keyframes scrollYBottom {
  100% {
    transform: translateY(0);
  }
  0% {
    transform: translateY(100%);
  }
}
.mui-backdrop {
  background-color: rgba(0, 0, 0, 0.8);
}
.drawer {
  position: fixed;
  bottom: 0px;
  left: 0px;
  height: calc(100vh - 300px);
  width: 100vw;
  animation-iteration-count: 1;
  animation: scrollYBottom 0.5s;
}
.mui-popover.drawer {
  border-radius: 0px;
  background-color: #fff;
}
.swiper-container {
  position: absolute;
  top: calc(0px - 4em - 65px);
  left: 0;
  overflow-x: clip;
}
.swiper-container,
.swiper-wrapper {
  width: 100%;
  height: calc((4em + 45px) * 1.2);
}
.swiper-container .swiper-wrapper .swiper-slide {
  width: calc(6em + 10px) !important;
  height: calc(4em + 45px);
  padding: 11px 5px;
  background-color: #fff;
  border-radius: 20px;
}
.swiper-container .swiper-wrapper .swiper-slide-active {
  transform: scale(1.2);
}
.swiper-container .swiper-wrapper .swiper-slide img {
  width: 6em;
  height: 4em;
}
.swiper-container .swiper-wrapper .swiper-slide .title {
  font-size: 15px;
  line-height: 15px;
  display: block;
  width: 100%;
  height: 15px;
  margin-top: 8px;
  text-overflow: ellipsis;
  color: #333;
  text-align: center;
}
.drawer .list-content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  position: relative;
}
.drawer .list-content .close {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 1;
  width: 20px;
  height: 20px;
}
#introduce {
  width: 100%;
  margin: 20px 0 10px 0;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
#introduce .pic {
  width: calc(6em + 10px) !important;
  height: calc(4em + 45px);
  padding: 11px 5px;
  background-color: #f2f2f2;
  border-radius: 20px;
  margin: 0 20px;
}
#introduce img {
  width: 6em;
  height: 4em;
}
#introduce .pic .title {
  font-size: 15px;
  line-height: 15px;
  display: block;
  width: 100%;
  height: 15px;
  margin-top: 8px;
  text-overflow: ellipsis;
  color: #333;
  text-align: center;
}
#introduce .meta {
  width: 100%;
  /* margin: 20px 0 10px 0; */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  /* flex-wrap: wrap; */
}
#introduce p {
  color: #b4b4b4;
  border: 1px solid #b4b4b4;
  border-radius: 10px;
  margin: 3px 5px;
  padding: 0 10px;
}
#list-item {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
#list-item a {
  position: relative;
  display: inline-block;
  width: auto;
  height: 60px;
  margin: 5px;
  padding: 5px 10px;
  color: #212126;
  border-radius: 10px;
  background-color: #f2f2f2;
  flex-grow: 1;
}
#list-item a.special {
  background: linear-gradient(to bottom right, #fff8e6, #fff0cc);
}
#list-item a .title {
  line-height: 25px;
  font-size: 16px;
  font-weight: bold;
}
#list-item a .price .new {
  line-height: 25px;
  font-size: 16px;
  font-weight: bold;
}
#list-item a .price .old {
  line-height: 25px;
  font-size: 12px;
  margin-left: 10px;
  text-decoration: line-through;
  color: #b4b4b4;
}
#list-item a.special .title,
#list-item a.special .price .new,
#list-item a.special .price .old {
  color: #ff673c;
}
/* help */
.link-area {
  display: block;
  margin-top: 25px;
  margin-bottom: 25px;
  text-align: center;
}
.link-area a {
  color: rgb(153, 153, 153);
  margin: 0 10px;
}
/* sidebar */
#sidebar {
  visibility: visible !important;
  position: fixed;
  right: 0;
  bottom: 120px;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  text-align: left;
  font-size: 20px;
  font-family: PingFangSC-Regular;
  font-weight: 600;
  line-height: 16px;
  color: #1e1f24;
  cursor: pointer;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: left;
  -webkit-justify-content: left;
  justify-content: left;
  border: 1px solid #d8e9ff;
  height: 46px;
  border-radius: 46px 0 0 46px;
  -webkit-user-select: none;
  user-select: none;
  -webkit-box-shadow: 0 1px 4px rgba(71, 100, 254, 0.3);
  box-shadow: 0 1px 4px rgba(71, 100, 254, 0.3);
  background-color: rgba(240, 246, 255, 0.9);
  z-index: 2147483647 !important;
  -webkit-transition: left 0.2s ease-in-out;
  transition: left 0.2s ease-in-out;
  padding: 5px;
}
#sidebar img {
  width: 36px;
  height: 36px;
  border-radius: 36px;
  margin-left: 5px;
  -webkit-user-drag: none;
}
/* 媒体查询 */
@media screen and (min-width: 1024px) {
  .drawer {
    width: 1024px;
    left: calc((100vw - 1024px) / 2);
  }
  #sidebar {
    right: calc((100vw - 1024px) / 2);
  }
}
.mui-toast-container {
  bottom: 50% !important;
}
/* 登录页样式 */
#login_content {
  width: 100%;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  background-color: #f5f5f5;
}
#login_content .slogan {
  font-size: 50px;
  font-weight: 700;
  line-height: 80px;
  color: #1a1816;
}
#login_content .login {
  width: 375px;
  border-radius: 16px;
  background-color: #fff;
  padding: 20px 20px 50px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.05);
}
#login_content .login .title {
  font-size: 24px;
  font-weight: bold;
  line-height: 30px;
  margin-top: 32px;
  margin-bottom: 12px;
  text-align: center;
  color: #1a1816;
}
#login_content .login .custom-divider {
  margin: 40px 0;
  display: flex;
  align-items: center;
}
#login_content .login .custom-divider .line {
  flex: 1;
  height: 1px;
  background-color: #969799;
}
#login_content .login .custom-divider .text {
  padding: 0 20px;
  color: #969799;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
#login_content .login .iti,
#login_content .login .phone,
#login_content .login .password {
  width: 100%;
  margin-top: 16px;
  margin-bottom: 16px;
  height: 50px !important;
  background-color: #f5f5f5 !important;
}
#login_content .login .phone {
  border: none;
  border-radius: 4px;
  font-size: 18px !important;
}
#login_content .login .iti .iti__selected-flag {
  background-color: #f5f5f5 !important;
}
#login_content .login .password {
  border: none;
  border-radius: 4px;
  font-size: 18px !important;
  margin-top: 0;
}
#login_content .login .forget {
  text-align: right;
  margin-bottom: 16px;
  font-size: 14px;
  color: #909399;
}
#login_content .login .loginBtn {
  width: 100%;
  height: 50px;
  font-size: 16px;
  border-radius: 4px;
  padding: 12px 19px;
  display: block;
  /* margin-bottom: 20px; */
}
@media screen and (width <= 900px) {
  #login_content {
    flex-direction: column;
    justify-content: flex-start;
  }
  #login_content .slogan {
    width: 80%;
    font-size: 25px;
    line-height: 40px;
    margin: 50px 0px;
  }
  #login_content .login {
    width: 90%;
  }
}
/* 订单页 */
#order-content {
  width: 100%;
  min-height: 100vh;
  position: relative;
  background-color: #f5f5f5;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 56px;
}
#order-content ul {
  margin: 20px 0 0 0;
  padding: 0;
}
#order-content .list-item {
  width: 100%;
  padding: 24px 32px;
  margin-bottom: 24px;
  list-style-type: none;
  border-radius: 16px;
  box-shadow: 0 4px 24px #00000014;
  box-sizing: border-box;
  background-color: #fff;
}
#order-content .list-item .item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#order-content .list-item .item-header .logo {
  width: calc(4.5em + 3.5px) !important;
  height: calc(3em + 29px);
  /* padding: 0px 3.75px; */
  background-color: #f2f2f2;
  border-radius: 10px;
}
#order-content .list-item .item-header .logo img {
  width: 100%;
  height: 3em;
}
#order-content .list-item .item-header .logo .name {
  font-size: 15px;
  line-height: 15px;
  display: block;
  width: 100%;
  height: 15px;
  /* margin-top: 8px; */
  text-overflow: ellipsis;
  color: #333;
  text-align: center;
}
#order-content .list-item .item-header .status {
  line-height: 28px;
  font-weight: 700;
  font-size: 22px;
}
#order-content .list-item .item-header .status.enable {
  color: #67c23a;
}
#order-content .list-item .item-header .status.expired {
  color: #f56c6c;
}
#order-content .list-item .item-info {
  width: 100%;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20;
}
#order-content .list-item .item-info .info-item {
  max-width: 50%;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#order-content .list-item .item-info .info-item .info-item-label {
  line-height: 16px;
  color: #a3a0a0;
  font-size: 16px;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  white-space: nowrap;
}
#order-content .list-item .item-info .info-item .info-item-value {
  display: flex;
  align-items: center;
  font-size: 16px;
  line-height: 20px;
  color: #000;
}
#order-content .list-item .item-info .info-item .info-item-value span,
#order-content .list-item .item-info .info-item .info-item-value a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
#order-content .list-item .item-info .info-item .info-item-value img {
  width: 20px;
  height: 20px;
  margin-left: 10px;
}
#order-content .list-item .item-handle {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
#order-content .list-item .item-handle .btn {
  /* height: 40px; */
  font-size: 14px;
  margin-left: 40px;
  font-weight: bold;
}
#order-content .list-item .item-handle .btn.customer {
  color: #606266;
  border-radius: 20px;
}
#order-content .list-item .item-handle .btn.renewal,
#order-content .list-item .item-handle .btn.replace {
  color: #fff;
  border-radius: 20px;
  background-color: #f56c6c;
  border: 1px solid #f56c6c;
}
@media screen and (width <= 900px) {
  #order-content .list-item .item-header .status {
    font-size: 20px;
  }
  #order-content .list-item .item-info {
    flex-direction: column;
  }
  #order-content .list-item .item-info .info-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    max-width: 100%;
    width: 100%;
  }
  #order-content .list-item .item-info .info-item .info-item-label {
    margin-bottom: 0;
  }
  #order-content .list-item .item-info .info-item .info-item-value {
    margin-bottom: 0;
    flex: 1;
    justify-content: flex-end;
    overflow: hidden;
    padding-left: 50px;
  }
  #order-content .list-item .item-info .info-item .info-item-value span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    text-align: right;
  }
  #order-content .list-item .item-handle .btn {
    margin-left: 20px;
    font-weight: bold;
  }
}

/* loading */
.loading-mask {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-spinner {
  font-size: 16px;
  color: #409eff;
}

/* mui-popup-input */
.mui-popup.mui-popup-in {
  background-color: #fff;
  width: 350px;
}
.mui-popup-title {
  font-size: 20px;
  line-height: 40px;
}
.mui-popup-input input {
  width: 100%;
  margin-top: 16px;
  margin-bottom: 16px;
  height: 50px !important;
  background-color: #f5f5f5 !important;
  border: none;
  border-radius: 4px;
  font-size: 18px !important;
  /* margin-top: 0; */
}
.mui-popup-buttons {
  height: 50px;
}
.mui-popup-button {
  line-height: 50px;
  height: 50px;
}
