/* 页面布局容器 */
.page-container {
    display: flex;
    min-height: 100vh;
}

/* 左侧导航栏 */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100vh;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 20px 0;
    overflow-y: auto;
}

/* 导航菜单容器 */
.nav-menu {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* 导航菜单项 */
.nav-item {
    padding: 0;
    margin: 0;
}

/* 导航链接 */
.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background-color: rgba(0, 123, 255, 0.05);
    border-left-color: #007bff;
    color: #007bff;
}

.nav-link.active {
    background-color: rgba(0, 123, 255, 0.1);
    border-left-color: #007bff;
    color: #007bff;
    font-weight: 500;
}

/* 导航分组标题 */
.nav-group-title {
    padding: 16px 24px 8px;
    color: #666;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* 分隔线 */
.nav-divider {
    margin: 8px 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
}

/* 主内容区域 */
.main-content {
    flex: 1;
    margin-left: 250px; /* 与侧边栏宽度相同 */
    min-height: 100vh;
    padding: 20px;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
} 