
/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 页眉样式 */
.header {
    background-color: #2c3e50;
    color: white;
    padding: 0.5rem 0;
    text-align: left;
}
.header a {
    color: #ffffff;
    text-decoration: none;
}

.header h2 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* 主要内容区样式 - 默认移动端样式（单栏） */
.main-content {
    display: block;
    padding: 2rem 0;
}

.main-content h1 {
    font-size: 1rem;
    padding-bottom: 0.5rem;
}
.main-content a {
    color: #12253f;
    text-decoration: none;
}

.primary-content, .sidebar {
    padding: 1.5rem;
    margin-bottom: 0rem;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sidebar {
    background-color: #ecf0f1;
}

.sidebar h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
      font-size: 1rem;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 0.5rem;
}

.sidebar a {
    color: #3498db;
    text-decoration: none;
}

.sidebar a:hover {
    text-decoration: underline;
}

/* 页脚样式 */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 1.5rem 0;
    text-align: center;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* 电脑端样式 - 两栏布局 */
@media screen and (min-width: 768px) {
    .main-content {
        display: flex;
        gap: 2rem;
    }
    
    .primary-content {
        flex: 3;  /* 主内容区占3份 */
    }
    
    .sidebar {
        flex: 1;  /* 侧边栏占1份 */
        margin-bottom: 0;
    }
    
}

/* 大屏幕优化 */
@media screen and (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .header {
        padding: 1rem 0;
    }
}



 .table-container {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            overflow: hidden;
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
        }
        
        th {
            background-color: #f2f2f2;
            color: #555;
            font-weight: 500;
            text-align: left;
            padding: 0.5rem;
            border-bottom: 2px solid #e0e0e0;
        }
          tr {
    cursor: pointer;
  }
        
        td {
            padding: 0.5rem;
            border-bottom: 1px solid #eee;
            vertical-align: top;
        }
        
        tr:last-child td {
            border-bottom: none;
        }
        
        tr:hover {
            background-color: #dbb3b3da;
        }
        
        /* 斑马条纹效果 (可选) */
        tr:nth-child(even) {
            background-color: #fafafa;
        }
        
        tr:nth-child(even):hover {
            background-color: #dbb3b3da;
        }
   /* 响应式设计 */
        @media (max-width: 600px) {
            th, td {
                padding: 10px 8px;
            }
        }





         .search-container {
            width: 100%;
        }
        
        .search-form {
            display: flex;
            height: 48px;
        }
        
        .search-input {
            flex: 1;
            padding: 0 16px;
            border: 1px solid #ddd;
            border-right: none;
            outline: none;
            font-size: 16px;
            color: #333;
            transition: border-color 0.3s;
        }
        
        .search-input:focus {
            border-color: #475470;
        }
        
        .search-input::placeholder {
            color: #999;
        }
        
        .search-button {
            width: 100px;
            background-color: #475470;
            color: white;
            border: none;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .search-button:hover {
            background-color: #475470;
        }
        
        /* 响应式设计 */
        @media (max-width: 480px) {
            .search-form {
                height: 42px;
            }
            
            .search-input {
                font-size: 14px;
                padding: 0 12px;
            }
            
            .search-button {
                width: 80px;
                font-size: 14px;
            }
        }