/* 全局重置 */
* {
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: "Inter", "Microsoft YaHei", Arial, sans-serif; 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
}

/* 基础样式 */
body {
    background-color: #f5f7fa; 
    color: #4e5969; 
    font-size: 14px; 
    line-height: 1.6;
}

/* 导航栏 */
.navbar {
    height: 56px; 
    background-color: #2f4050; 
    color: #fff; 
    line-height: 56px; 
    padding: 0 20px; 
    border-radius: 0 0 8px 8px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
    position: relative; 
    z-index: 10;
}
.navbar .logo {
    font-size: 18px; 
    font-weight: 600; 
    letter-spacing: 0.5px;
}
.navbar .right {
    float: right;
}
.navbar .right a {
    color: #e5e6eb; 
    text-decoration: none; 
    margin-left: 20px; 
    font-weight: 400; 
    transition: color 0.3s ease;
}
.navbar .right a:hover {
    color: #fff;
}

/* 主容器 */
.container {
    display: flex; 
    gap: 16px; 
    padding: 16px;
}

/* 侧边栏 */
.sidebar {
    width: 180px; 
    background-color: #2f4050; 
    min-height: calc(100vh - 88px); 
    border-radius: 8px; 
    box-shadow: 0 2px 12px rgba(0,0,0,0.08); 
    overflow: hidden;
}
.sidebar .menu {
    list-style: none;
}
.sidebar .menu li {
    border-bottom: 1px solid #38495c;
}
.sidebar .menu li a {
    display: block; 
    color: #a7b1c2; 
    text-decoration: none; 
    padding: 14px 20px; 
    font-size: 14px; 
    font-weight: 500; 
    transition: all 0.3s ease;
}
.sidebar .menu li a:hover, .sidebar .menu li.active a {
    background-color: #1f2d3d; 
    color: #fff; 
    padding-left: 24px;
}

/* 主内容区 */
.main {
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    gap: 16px;
}

/* 面包屑 */
.breadcrumbs {
    font-size: 14px; 
    color: #6b778c; 
    font-weight: 400;
}
.breadcrumbs a {
    color: #6b778c; 
    text-decoration: none; 
    transition: color 0.3s ease;
}
.breadcrumbs a:hover {
    color: #1ab394;
}
.breadcrumbs span {
    color: #1ab394; 
    font-weight: 600;
}

/* 通用按钮 */
.btn {
    background-color: #1ab394; 
    color: #fff; 
    border: none; 
    padding: 8px 16px; 
    cursor: pointer; 
    border-radius: 6px; 
    font-size: 14px; 
    font-weight: 500; 
    transition: all 0.3s ease; 
    outline: none; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
}
.btn:hover {
    background-color: #18a689; 
    box-shadow: 0 2px 6px rgba(26, 179, 148, 0.2);
}
.btn:active {
    transform: scale(0.98);
}

/* 复选框 */
input[type="checkbox"] {
    width: 16px; 
    height: 16px; 
    border: 1px solid #e4e7ed; 
    border-radius: 4px; 
    outline: none; 
    cursor: pointer; 
    accent-color: #1ab394;
}

/* 分页 */
.pagination {
    text-align: right; 
    padding: 16px 20px; 
    font-size: 14px; 
    display: flex; 
    align-items: center; 
    justify-content: flex-end; 
    gap: 4px;
}
.pagination a {
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 36px; 
    height: 36px; 
    border: 1px solid #e4e7ed; 
    color: #6b778c; 
    text-decoration: none; 
    border-radius: 6px; 
    transition: all 0.3s ease; 
    font-weight: 500;
}
.pagination a:hover {
    border-color: #1ab394; 
    color: #1ab394;
}
.pagination a.active {
    background-color: #1ab394; 
    color: #fff; 
    border-color: #1ab394;
}