body {
  letter-spacing: 0.02rem;
}

.page_wrapper {
  background-image: url('image/code/home_bg6.png');
  background-size: contain;
  background-repeat: no-repeat;
}

/* 通用样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #f5f5f5;
}

/* 第一层样式 */
.first-layer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: white;
  margin-bottom: 10px;
}

.safety-level {
  font-size: 16px;
  color: #333;
}

/* 第二层样式 */
.second-layer {
  position: relative;
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: white;
  margin-bottom: 0.1rem;
}

.second-layer-zf {
  background-color: transparent;
  padding-top: 1rem;
  padding-left: 0.6rem;
}

.second-layer-sj {
  background-color: transparent;
  width: 92vw;
  margin: 0 auto;
}

.second-layer-sj .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem 0;
}

.second-layer-sj .header span {
  font-weight: 500;
  font-size: 0.3rem;
  color: #0166bc;
}

.second-layer-sj .header img {
  width: 0.25rem;
  height: 0.25rem;
}

.second-layer-sj .bottom {
  display: flex;
  margin: 0 auto;
  border-radius: 0.2rem;
  background-color: #ffffff42;
  padding: 0.24rem;
  margin-bottom: -0.22rem;
}

.second-layer-sj img {
  width: 1rem;
  height: 1rem;
}

.second-layer-sj .user_tag {
  width: 1.8rem;
  height: 0.48rem;
  line-height: 0.48rem;
  background: #cfe8fd;
  border-radius: 0.24rem;
  font-weight: bold;
  font-size: 0.26rem;
  color: #0166bc;
  text-align: center;
}

.second-layer-sj .merchant-name {
  font-weight: bold;
  font-size: 0.34rem;
  color: #0166bc;
}

.second-layer-sj .name-rank {
  display: flex;
  justify-content: space-around;
  align-items: start;
  gap: 0.2rem;
  flex-direction: column;
  margin-bottom: 10px;
}

.second-layer-sj .user-rank {
  width: 2.4rem;
  text-align: center;
  height: 0.5rem;
  line-height: 0.5rem;
  border-radius: 0.22rem;
  font-family: PingFang SC;
  font-weight: 500;
  font-size: 0.26rem;
  color: #ffffff;
}
.second-layer-sj .green {
  background: #00b55e;
}
.second-layer-sj .yellow {
  background: rgba(255, 148, 21, 1);
}
.second-layer-sj .red {
  background: rgba(255, 33, 49, 1);
}

.second-layer-sj .type-address p {
  font-weight: 500;
  font-size: 0.28rem;
  color: #1376ca;
  margin-bottom: 0.14rem;
}

.merchant-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 15px;
}

.second-layer-zf .merchant-icon {
  width: 1.2rem;
  height: 1.2rem;
}

.merchant-info {
  width: 68vw;
}

.welcome {
  font-weight: bold;
  font-size: 0.32rem;
  color: #ffffff;
  line-height: 1.8;
  letter-spacing: 0.02rem;
}

.welcome .user_tag {
  position: absolute;
  right: 0.3rem;
  top: 0.3rem;
  width: 2rem;
  height: 0.48rem;
  background: #cfe8fd;
  border-radius: 0.24rem;
  font-weight: bold;
  font-size: 0.26rem;
  color: #0166bc;
  text-align: center;
}

.welcome .user_tag img {
  width: 0.25rem;
  height: 0.25rem;
}

.divider {
  height: 1px;
  background-color: #eee;
  margin-bottom: 10px;
}

/* 第三层样式 */
.third-layer {
  background-color: white;
  width: 92vw;
  margin: 0 auto;
  border-radius: 0.2rem;
  margin-bottom: 0.3rem;
}

.stats-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem;
  border-bottom: 1px solid #eee;
}

.stats-header .formValue {
  font-size: 0.28rem;
  margin-right: 0.1rem;
}

.stats-header .van-icon:before {
  font-size: 0.2rem;
}

.stats-title {
  font-size: 0.36rem;
  font-weight: bold;
  color: #333;
}

.stats-content {
  display: flex;
  padding: 0.3rem 0;
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-value {
  font-family: PingFang SC;
  font-weight: bold;
  font-size: 0.36rem;
  color: #1081e3;
  margin-bottom: 0.15rem;
}

.stat-label {
  font-family: PingFang SC;
  font-weight: bold;
  font-size: 0.3rem;
  color: #5b5b5b;
}

/* 第四层样式 */
.fourth-layer {
  background-color: white;
  padding: 0.3rem;
  width: 92vw;
  margin: 0 auto;
  border-radius: 0.1rem;
}

.fourth-layer h2 {
  font-size: 0.36rem;
  color: #000000;
  margin-bottom: 0.4rem;
}

.check-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.check-module {
	position: relative;
  width: 3rem;
  height: 1.8rem;
  padding: 0.2rem;
  /* 	border-bottom: 1px solid #eee;
border-right: 1px solid #eee; */
  background-image: url('image/code/bg1.png');
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
}

.check-module p:first-child {
  font-weight: bold;
  font-size: 0.32rem;
  color: #0c4ba2;
  margin-bottom: 0.2rem;
}

.check-module p:last-child {
  font-weight: 500;
  font-size: 0.24rem;
  color: #4c81ca;
}

.check-module.saoma {
  background-image: url('image/code/bg1.png');
}

.check-module.saoma p:first-child {
  color: #0c4ba2;
}

.check-module.saoma p:last-child {
  color: #4c81ca;
}

.check-module.jiancha {
  background-image: url('image/code/bg2.png');
}

.check-module.jiancha p:first-child {
  color: #1e7b61;
}

.check-module.jiancha p:last-child {
  color: #5ca691;
}

.check-module.yinhuan {
  background-image: url('image/code/bg3.png');
}

.check-module.yinhuan p:first-child {
  color: #901a14;
}

.check-module.yinhuan p:last-child {
  color: #901a14;
}

.check-module.anquan {
  background-image: url('image/code/bg4.png');
}

.check-module.anquan p:first-child {
  color: #0063a1;
}

.check-module.anquan p:last-child {
  color: #5aa1ce;
}

.check-module.shangjia {
  background-image: url('image/code/bg5.png');
}

.check-module.shangjia p:first-child {
  color: #9e5d15;
}

.check-module.shangjia p:last-child {
  color: #cd995f;
}

.check-module.zicha {
  background-image: url('image/code/bg4.png');
}
.check-module.shangbao {
  background-image: url('image/code/home/shangbao.png');
}


.check-module:nth-child(2n) {
  border-right: none;
}

.module-intro {
  font-size: 0.24rem;
  color: #666;
  margin-top: 0.1rem;
}



 /* 新增提醒模块样式 */
 .info-reminder {
  width: 6.9rem;
  height: 2.54rem;
  background: #FFFFFF;
  border-radius: 0.2rem;
  margin: 0.3rem auto;
  padding: 0.24rem 0.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reminder-item {
  position: relative;
  width: 2.2rem;
  height: 100%;
  text-align: center;
}

.new-badge {
  position: absolute;
  top: 0.15rem;
  right: 0.1rem;
  min-width: .8rem;
  text-align: left;
  text-indent: .16rem;
  height: 0.36rem;
  line-height: 0.36rem;
  font-size: 0.2rem;
  color: #FFFFFF;
  background-image: url(image/code/home/tip.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.reminder-badge {
  position: absolute;
  top: -0.15rem;
  right: 0.2rem;
  min-width: 0.4rem;
  height: 0.4rem;
  line-height: 0.4rem;
  padding: 0 0.12rem;
  border-radius: 0.2rem;
  font-size: 0.24rem;
  color: #FFFFFF;
  background: #00AEF1;
}

.reminder-badge1 {
  background: #00AEF1;
  /* 默认 蓝色 */
}

.reminder-badge2 {
  background: #FF9C01;
  /* 橙黄色 */
}

.reminder-badge2 {
  background: #FF4D4F;
  /* 红色 */
}

.reminder-img {
  width: 1.2rem;
  height: 1.2rem;
  margin-bottom: 0.16rem;
}

.reminder-text {
  font-size: 0.28rem;
  color: #333333;
  line-height: 1.2;
}

