* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
// ==================== 全局滚动条样式优化 ====================
// Webkit 滚动条基础样式
::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

// 滚动条轨道
::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.03);
	border-radius: 8px;
	margin: 4px;
}

// 滚动条滑块 - 渐变色设计
::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #d9d9d9 0%, #bfbfbf 100%);
	border-radius: 8px;
	border: 2px solid transparent;
	background-clip: content-box;
	transition: all 0.3s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);

	&:hover {
		background: linear-gradient(180deg, #c0c0c0 0%, #a6a6a6 100%);
		border-radius: 8px;
		border: 2px solid transparent;
		background-clip: content-box;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	}

	&:active {
		background: linear-gradient(180deg, #a6a6a6 0%, #8c8c8c 100%);
		border-radius: 8px;
		border: 2px solid transparent;
		background-clip: content-box;
	}
}

// 滚动条两端按钮
::-webkit-scrollbar-button {
	display: none;
}

// 滚动条角落
::-webkit-scrollbar-corner {
	background: rgba(0, 0, 0, 0.03);
	border-radius: 8px;
}

// Firefox 滚动条样式
* {
	scrollbar-width: thin;
	scrollbar-color: #d4d4d4 rgba(0, 0, 0, 0.03);
}

#app {
	min-height: 100vh;
}

// 标准页面布局（垂直布局）
.pages-base-layout {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 0;

	.tool-bar {
		padding: 12px 16px;
		background: #fff;
		border-bottom: 1px solid #f0f0f0;
		display: flex;
		flex-direction: row;

		.left-panel {
			display: flex;
			align-items: center;
			flex: 1;
		}

		.right-panel {
			display: flex;
			gap: 8px;
		}
	}

	.table-content {
		flex: 1;
		overflow: hidden;
		background: #f5f5f5;
	}
}

// 侧边栏布局（左右分栏）
.pages-sidebar-layout {
	display: flex;
	flex-direction: row;
	height: 100%;
	padding: 0;

	.left-box {
		width: 260px;
		border-right: 1px solid #f0f0f0;
		display: flex;
		flex-direction: column;
		background: #fff;

		.header {
			padding: 12px 16px;
			border-bottom: 1px solid #f0f0f0;
			background: #fafafa;
		}

		.body {
			flex: 1;
			overflow-y: auto;
			padding: 16px;
		}
	}

	.right-box {
		flex: 1;
		display: flex;
		flex-direction: column;
		overflow: hidden;

		.tool-bar {
			padding: 12px 16px;
			background: #fff;
			border-bottom: 1px solid #f0f0f0;
			display: flex;
			flex-direction: row;

			.left-panel {
				display: flex;
				align-items: center;
				flex: 1;
			}

			.right-panel {
				display: flex;
				gap: 8px;
			}
		}

		.table-content {
			flex: 1;
			overflow: hidden;
			background: #f5f5f5;
		}
	}
}
