* { margin: 0; padding: 0; box-sizing: border-box; }

.content-wrapper {
  width: 100%;
  min-height: 100vh;
  padding: 0;
}

@media (min-width: 768px) {
  .list-item { font-size: 22px; }
  .title { font-size: 32px; }
  .text_13, .text_14 { font-size: 8px; }
}

@media (max-width: 480px) {
  .list-item { 
    font-size: 1.5vw;
    padding-left: 3%;
  }
  .fanhui {
    width: 7vw;
    height: 7vw;
  }
}
@font-face {
  font-family: 'PingFang-SC-Bold';
  src: url('PingFang-SC-Bold.ttf') format('truetype');
}
a{
	text-decoration: none;
}

/* 标题样式 */
.title {

  top: auto;
  left: auto;
  transform: none;
  width: 100%;
  font-family: 'PingFang-SC-Bold';
  font-size: 20px;
  color: #333333;
  z-index: 1000;
  background:#fff;
  padding: 2vh 0 0 0; /* 按需保留背景覆盖区域 */
  text-align: center;
  white-space: normal;
}

.fanhui {
position:absolute;
  width: 5vw;
  height: 5vw;
max-width:50px;
max-height:50px;
  top: 2.5vh;
  left: 2vh;
  z-index: 1000;
  margin:0;
}

/* 搜索框样式 */
.search-box {
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.3);
  background: #fff;
  border-radius: 10px;
  position: relative;
 z-index: 1000;
   margin: 3vh 8% 4vh 8%;
 width: 84%;
  height: 6vh;
  display: flex;
  align-items: center;
  padding: 0 3vh 0 3vh;
}
.label_1 {
  width: 2.5vh;
  height: 2.5vh;
  margin:0;
}
.text_13 {
  color: rgba(153, 153, 153, 1);
  font-size: 16px;
  font-family: PingFang-SC-Regular;
  margin-left: 2vh; /* 替换原有图片位置 */
  flex-grow: 1; /* 新增自动扩展 */
}
.text_14 {
  color: rgba(153, 153, 153, 1);
  font-size: 16px;
  font-family: PingFang-SC-Regular;
  margin-left: auto; /* 新增右侧对齐 */
  padding-left: 20px; /* 新增间隔 */
}

.scroll-wrapper {
  position: relative;
  top: auto;
  width: 100%;

  height: 80vh;
  margin: 0 auto;
  overflow-y: auto; /* 启用滚动 */
  /* 隐藏滚动条 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.scroll-wrapper::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
/* 折叠列表容器 */
.list-container {

  top:auto;
  width: 100%;
}

.category-group {
  margin-bottom: 2px;

}

/* 通用行样式 */
.list-item {
  width: 100%;
  height: 5vh;
  min-height: 60px;
  display: flex;
  align-items: center;
  position: relative;
  font-family: 'PingFang-SC-Bold';
   font-size: 16px;
  padding-left: 5%;
 border-bottom: 1px solid rgba(102, 102, 102, 0.2); 
}

/* 最后一行去除边框 */
.list-item:last-child,
.category-group .level2:last-child {
  border-bottom: none;
}

/* 一级行样式 */
.level1 {
  background: #D5E0ED;
  color: #333333;
}

/* 修改二级条目选择器 */
.category-group .level2 {
  display: none;
  background: #FFFFFF;
  color: #575757;
}

.category-group.active .level2 {
  display: flex !important;
}

.divider {
  width: 100%;
  height: 2px;
  background: #666666;
}

/* 折叠图标 */
.arrow {
  position: absolute;
  right: 31px;
  top: 50%;
transform: translateY(-50%); /* 新增此行 */
 width: 4vw;
  height: 4vw;
  max-width: 35px;
max-height: 35px;
}
