/*
  通用布局
*/

/* Css Reset */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td,
img {
  padding: 0;
  margin: 0;
}
i {
  font-weight: normal;
  font-style: normal;
}
ol,
ul,
li {
  list-style: none;
}
div,
dl,
dt,
dd,
ol,
ul,
li {
  zoom: 1;
}

/* Public CSS */
a {
  color: #fff;
  text-decoration: none;
  outline: none;
}

a:hover {
  color: rgba(255, 195, 0, 1);
  text-decoration: underline;
}

/* 自定义整个滚动条 */
::-webkit-scrollbar {
  width: 12px; /* 设置滚动条的宽度 */
}

/* 自定义滚动条轨道 */
::-webkit-scrollbar-track {
  background: #f1f1f1; /* 设置轨道的背景颜色 */
}

/* 自定义滚动条的滑块（thumb） */
::-webkit-scrollbar-thumb {
  background: #888; /* 设置滑块的背景颜色 */
}

/* 当滑块悬停或活动时，可以添加更多样式 */
::-webkit-scrollbar-thumb:hover {
  background: #555; /* 设置滑块在悬停状态下的背景颜色 */
}

body {
  width: 100%;
  min-height: 100vh;
  background-repeat: no-repeat;
  /* 渐变覆盖在背景图片上 */
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 34.73%), url('../static/loginbg.png') 100% 100%;
  background-size: cover; /* 背景图片覆盖整个元素 */
  background-color: rgba(0, 0, 0, 0.8);
}

section {
  min-height: 600px;
}

em {
  font-style: normal;
}

.margin-top-21 {
  margin-top: 21px;
}

/* 分页样式 */
.paging-box {
  width: 100%;
  height: 153px;
  background: rgba(31, 34, 42, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 正常页码样式 */
.paging-box #page .layui-laypage a,
.layui-laypage span {
  box-sizing: border-box;
  font-size: 20px !important;
  font-weight: 400;
  letter-spacing: 0px;
  color: rgba(98, 104, 122, 1);
  padding: 0 !important;
  width: 48px;
  height: 48px;
  text-align: center;
  line-height: 48px;
  margin-right: 15px;
  background: rgba(0, 0, 0, 1);
  border: 1px solid rgba(98, 104, 122, 1);
}
/* 省略...样式 */
.paging-box #page .layui-laypage .layui-laypage-spr {
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  text-align: center;
  line-height: 48px;
  margin-right: 15px;
  background: rgba(0, 0, 0, 1);
  border: 1px solid rgba(98, 104, 122, 1);
}
/* 自定义当前页按钮样式 */
.paging-box #page .layui-laypage-curr {
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  text-align: center;
  line-height: 48px;
  margin-right: 15px;
}
.paging-box #page .layui-laypage-curr em {
  color: rgba(255, 195, 0, 1) !important;
}
.layui-laypage-em {
  border: 1px solid rgba(255, 195, 0, 1) !important;
  background-color: #000;
}

.flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
}
.flex-baseline {
  display: flex;
  align-items: baseline;
}
.flex-center-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 产品列表通用样式 */
.product-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.product-list:after {
  content: '';
  flex: auto;
}
.product-list li {
  box-sizing: border-box;
  width: 279px;
  min-height: 299px;
  background: rgba(31, 34, 42, 1);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
  padding: 15px;
  margin-bottom: 21px;
  margin-right: 17px;
}
.product-list li:nth-child(5n) {
  margin-right: 0;
}
.product-list li a img {
  width: 249px;
  height: 188px;
  margin-bottom: 7px;
}
.product-list li .title {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 20.27px;
  color: rgba(98, 104, 122, 1);
  text-align: left;
  vertical-align: top;
}
.product-list li .price {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 20.27px;
  color: rgba(255, 195, 0, 1);
  text-align: left;
  vertical-align: top;
  margin: 7px 0 4px;
}
.product-list li .msg-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 20.27px;
  color: rgba(98, 104, 122, 1);
  text-align: left;
  vertical-align: top;
}
.product-list li .msg-box .time {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 20.27px;
  color: rgba(0, 186, 173, 1);
  text-align: left;
  vertical-align: top;
}
/* /天Css */
.product-list li .msg-box .day {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: NaNpx;
  color: rgba(109, 116, 135, 1);
  text-align: left;
  vertical-align: top;
}
.product-list li .msg-box .day em {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 34.75px;
  color: rgba(255, 195, 0, 1);
  font-style: normal;
}
.product-list li .msg-box .day span:first-child {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: NaNpx;
  color: rgba(255, 195, 0, 1);
}
/* 押金Css */
.product-list li .msg-box .cash {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 20.27px;
  color: rgba(42, 130, 228, 1);
  vertical-align: top;
}
/* 彩色进度条Css  */
.inventory-color {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  height: 20px;
  .ic-item {
    width: 10%;
    height: 2px;
  }
  .ic-item:nth-child(1) {
    background-color: #056b2e;
  }
  .ic-item:nth-child(2) {
    background-color: #43cf7c;
  }
  .ic-item:nth-child(3) {
    width: 20%;
    background-color: #ffc300;
  }
  .ic-item:nth-child(4) {
    background-color: #d43030;
  }
  .ic-item:nth-child(5) {
    width: 50%;
    background-color: #8a1616;
  }
  img,
  .three {
    width: 9.07px;
    height: 9px;
    position: absolute;
    top: -2px;
    left: 70px;
  }
}

/* 弹框背景Css */
.popup-bg {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 99;
  background-color: rgba(0, 0, 0, 0.5);
}
