        /* 基础样式重置 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* 固定头部 */
        .fixed-header {
            position: sticky;
            top: 0;
            background: white;
            z-index: 100;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            padding: 10px;
        }

        /* 搜索框样式 */
        #searchInput {
            width: 100%;
            padding: 12px;
            margin-bottom: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 16px;
        }

        /* 响应式表格容器 */
        .table-container {
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
border: 0.1rem solid #34495e; /* 内边框 */
        border-bottom:0.2rem solid #2c3e50; /* 加强底部边框 */
background: #34495e; /* 背景色 */
       color: white;
 /*  height: 100%;*/
          max-height: 70vh;
            overflow: auto;
            margin: 0 15px;

        }

        /* 表格样式 */
        #productTable {
            width: 100%;
            border-collapse: collapse;
            font-family: Arial, sans-serif;
        }

        #productTable th {
border: 0.1rem solid #34495e; /* 内边框 */
        border-bottom:0.5rem solid #2c3e50; /* 加强底部边框 */
 background-image: linear-gradient(to top, #209cff 0%, #68e0cf 100%); /* 背景色 */
       color: red;
    
            position: sticky;
            top: 0.1rem; /*  适配固定搜索框 */
            z-index: 50;
        }

        #productTable td, #productTable th {
            padding: 12px;
            border-bottom: 1px solid #eee;
             text-align: center;
border-width: 1px;    /* 边框宽度 */
  border-style: solid;  /* 边框样式（必填，否则边框不显示） */
  border-color:#A9A9A9;    /* 边框颜色 */
        }

        /* 缩略图样式 */
        .thumbnail {
            width: 60px;
            height: 60px;
            object-fit: cover;
            cursor: pointer;
            border-radius: 4px;
            transition: transform 0.2s;
        }

        .thumbnail:hover {
            transform: scale(1.05);
        }

a {
    text-decoration: none; /* 移除默认的下划线 */
}
/*a:link, a:visited, a:hover, a:active {*/
  /*  text-decoration: underline;  添加自定义下划线 */
  /*  text-decoration-color: blue; 设置下划线颜色 */
  /*  text-decoration-style: dotted;  设置下划线样式 */
/*} */
 a:link {color:#FF0000;} /*未访问的链接 */
 a:visited {color:#00FF00;} /*已访问的链接 */
a:hover {color:#FF00FF;}  /*鼠标划过链接 */
a:active {color:#0000FF;}  /*已选中的链接 */
      /* 返回顶部开始 */
#backToTop { 
  position: fixed; /*  定位元素相对于浏览器窗口是固定位置。即使窗口是滚动的它也不会移动*/
  bottom: 50px;
  right: 20px;
  display: none;
  cursor: pointer;  /* 设置鼠标指针的样式  */
}
/* 返回顶部结束 */

        /* 底部版权 */
        footer {
            padding: 2px;
            text-align: center;
            color: #666;
            background: #f8f9fa;
            margin-top: 2px;
        }
 .nsjb{
 background-image: linear-gradient(to top, #4481eb 0%, #04befe 100%);
     }
h1,tr:hover {
background-image: linear-gradient(to top, #4481eb 0%, #04befe 100%);
color:#FF00FF;
} 
.center-flex-both {
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    height: auto; /* 使容器高度为视口高度的100% */
 /* 填充(padding)设置 */
background-color: #f0f8ff; /* 设置填充区域颜色 */
/* 分别设置各边填充(上右下左) */
  padding: 2px 2px 2px 2px;
/* 边框(border)设置 */
 /* 简写形式：宽度 样式 颜色 */
  border: 2px solid #4CAF50;
/* 圆角边框 */
  border-radius: 10px;
}

        /* 移动端优化 */
        @media (max-width: 768px) {
            #productTable td:nth-child(3),
            #productTable th:nth-child(3) {
                display: none;
            }
        }

.jzxs {
font-size: 12px; 
color: #666;
 margin-left: 15px;
            text-align: center;
        }
/* 基础样式 */
.img-container {
  display: inline-block;
  margin: 20px;
  cursor: zoom-in;
}

.thumbnail {
  
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.2s;
}

.thumbnail:hover {
  transform: scale(1.02);
}

/* 遮罩层 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* 原图容器 */
.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  animation: zoomIn 0.3s;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

@keyframes zoomIn {
  from { transform: scale(0.8); }
  to { transform: scale(1); }
}

/* 关闭按钮 */
.close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.close:hover {
  opacity: 1;
}
    