
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* 确保页面至少占满视口高度 */
}

.main-content {
  flex: 1; /* 内容区域自动填充剩余空间 */
}

.Subpage-header-image {
    position: relative;
    text-align: center;
}

.Subpage-header-image img {
    max-width: 100%;
    height: auto;
}

.Subpage-header-image h1 {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%); 
    border-bottom: 2px solid #ffffff;
    padding-bottom: 20px;
    color: #ffffff;
}

.table-most{
	width: 100%;
	height: auto;
	margin: 50px auto;
	padding: 25px 40px;
	box-sizing: border-box;
	
}

.table-second-floor{
	width: auto;
	min-height: 820px;
	
	border-radius: 10px;
	padding: 10px 40px;
}



        /* 以下是过滤器样式 **********************************************/

        #filter-container {
            width: 100%;
            margin: 0 auto;
			min-height: 58px;
			
        }
		
		.filter-container-expanded {
            height: auto;
        }

        /* 过滤器切换按钮样式 */
        #filter-toggler {
			
			width: 215px;
			height: 58px;
			line-height: 58px;
            cursor: pointer;
            background-color: #589dfc;
            color: #ecf0f1;
            /*padding: 10px 20px;*/
            border-radius: 10px;
            text-align: center;
            transition: background-color 0.3s ease;
        }

        #filter-toggler:hover {
            background-color: #455a64;
        }

        /* 过滤器内容区域样式 */
        #filter-content {
			margin-top: 20px;
			background-color: #eeeeee;
			border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
            padding: 20px;
			padding-top: 40px;
            display: none;

        }

        /* 每行过滤选项样式 */
      .filter-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 5px;
        }

        /* 单个过滤选项样式 */
      .filter-item {
            width: calc(35.33% - 10px);
            background-color: #eee;
            border-radius: 3px;
            padding: 2px;
            position: relative;
            display: flex;
            align-items: center;
        }

        /* 搜索框包裹层样式 */
      .search-input-wrapper {
            position: relative;
            display: flex;
			background-color: #fff;
            align-items: center;
			margin:0 0 30px 5px;
            width: 100%;
        }

        /* 搜索框样式 */
      .search-input-wrapper input {
            width: 100%;
            padding: 8px;
            border: none;
            border-radius: 3px;
            background-color: #fff;
            color: #000000;
            outline: none;
            flex: 1;
        }


.FilterForm,.FilterFormNumericalValue{
			padding: 8px;
            border: none;
            border-radius: 3px;
            background-color: #fff;
            color: #000000;
            outline: none;
}

.FilterFormNumericalValue{
			width: 80%;
	
}

.FilterForm{
            flex: 1;
        }


.search-input-wrapper span{
	position: relative;
	bottom: 30px;
	width: 1px;
}


        /* 搜索框编号样式 */
      .search-box-number {
            font-size: 12px;
            color: #000000;
            margin-right: 5px;
			margin-left:5px;
		    white-space: nowrap;

        }

        /* 删除按钮样式 */
      .delete-btn {
            position: static;
            margin-left: 10px;
            background: none;
            border: none;
            color: #000000;
            cursor: pointer;
            font-size: 20px;
		  padding-bottom: 32px;
        }

        /* 按钮容器样式（用于放置搜索和重置按钮） */
      .button-container {
            display: flex;
            justify-content: flex-start;
            margin-top: 15px;
            padding-left: 20px;
        }

        /* 搜索按钮和重置按钮通用样式 */
      .search-btn,
      .reset-btn {
            cursor: pointer;
            padding: 10px 20px;
            border-radius: 3px;
            border: none;
            margin-right: 10px;
            color: #ecf0f1;
            outline: none;
        }

        /* 搜索按钮特定样式 */
      .search-btn {
            background-color: #3498db;
        }

        /* 重置按钮特定样式 */
      .reset-btn {
            background-color: #455a64;
        }

       /********以上是过滤器样式**********************/


       /*********以下是表格样式********/
.table-BigBox{
	width: 100%;
	height: auto;
}

        .sidebar {
			float: left;
            width: 18%;
			margin: 10px auto;
            background-color: #ffffff;
            border: 1px solid #ddd;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .sidebar h2 {
            margin: 0;
            padding: 15px;
            background-color: #f1f1f1;
            font-size: 14px;
            font-weight: bold;
            border-bottom: 1px solid #ddd;
        }

        .sidebar ul {
            list-style-type: none;
            padding: 0;
            margin: 0;
        }

        .sidebar ul li {
            border-bottom: 1px solid #ddd;
        }

        .sidebar ul li a {
            display: block;
            padding: 10px 15px;
            text-decoration: none;
            color: #333;
            font-size: 12px;
        }

        .sidebar ul li a:hover {
            background-color: #f7f7f7;
        }

        .sidebar ul li a::before {
            content: '+';
            margin-right: 10px;
        }

        .sidebar ul li.sub-item a::before {
            content: '-';
        }



.table-container {
	float: right;
    width: 80%;
    margin: 10px auto;
}

.table-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
	position: relative;
}


.item-per-page select {
    width: 120px;
    height: 44px;
    border: 1px solid #000; 
    background-color: white; 
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none; 
    padding: 0 5px;
}		

.item-per-page select {
    text-align: center;
}
		
.item-per-page label,
.item-per-page select,
.search-box label{
	font-size: 14px;
	font-weight: 100;
		}
		
.item-per-page,
.search-box {
    display: flex;
    align-items: center;
	position: absolute;
    top: 0;
}

.item-per-page{
    right: 47%;
}

.search-box{
	right: 0;
}

select,
input {
    margin-left: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
	font-size: 12px;
}

th {
    background-color: #444444;
	font-size: 12px;
    color: #fff;
	height: 35px;
}
		
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.pagination {
    display: flex;
    align-items: center;
}

.pagination button {
    margin: 0 10px;
    padding: 5px 10px;
}

.page-info {
    /*margin-left: 20px;*/

}
		
.pagination button#prevPage,
.pagination button#nextPage {
	width: 70px;
    background-color: #589dfc;
    color: white; 
    border: none;
    padding: 5px 10px; 
    cursor: pointer; 
}

/* 添加鼠标悬停时的样式变化，增强交互效果 */
.pagination button#prevPage:hover,
.pagination button#nextPage:hover {
    background-color: #3a7ac8;
}

.search-box-Enter-Keyword{
	position: relative;
	width: 340px;
	height: 46px;
}

.search-box-Enter-Keyword input{
    width: 100%;
    height: 100%;
	margin-left: 10px;
	box-sizing: border-box;
    background-color: #e9e9e9;
    border-radius: 30px;
	border: none;
	padding: 10px 30px 10px 10px;
}

.search-box-Enter-Keyword button{
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  padding: 8px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  line-height: 100%;
}

#pageNumbers button {
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #ddd;
    background-color: #f8f9fa;
    cursor: pointer;
}

#pageNumbers button.active {
    background-color: #589dfc;
    color: white;
}
