:root {
	--primary-color: #3366ff;
	--second-color-green: #2e8b57;
	--second-color-blue: #05c2fc;
	--second-color-orange: #ff6600;
	--second-color-red: #de283b;
	--page-background-color: #eef1f9;
	--box-background-color: #ededed;
	--text-color: #1e2732;
	--text-color-2: #2d2d2d;
	--text-color-3: #546e7a;
}
body {
	background-color: var(--page-background-color);
	color: var(--text-color);
	font-family: Arial, Helvetica, sans-serif;
}

.layui-header {
	display: flex;
	align-items: center;
	padding: 10px;
	height: 3vh;
	background-color: #007bff;
	color: white;
	margin-bottom: 15px;
}

.layui-header .layui-icon {
	font-size: 24px;
	cursor: pointer;
	margin-right: 10px;
}

.layui-header .layui-title {
	flex-grow: 1;
	text-align: center;
	font-weight: 500;
	font-size: 16px;
}

.layui-table-cell {
	height: 45px;
	line-height: 35px;
}
.layui-table td,
.layui-table th {
	font-size: 14px;
}

.result-box {
	margin-block: 10px;
}

.layui-panel {
	margin-bottom: 5px;
	display: grid;
	height: auto; /* 自动调整高度 */
	overflow: hidden; /* 隐藏溢出内容 */
}

.samples-item {
	padding-inline: 20px;
	padding-block: 10px;
	box-sizing: border-box;
	height: auto; /* 自动调整高度 */
}

.sample-attribute {
	min-height: 45px;
	line-height: 2;
	color: var(--text-color);
	overflow: hidden; /* 隐藏溢出内容 */
	word-wrap: break-word; /* 允许长单词换行 */

	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	align-content: center;
}

.attribute-label {
	display: inline-flex;
	width: 23%;
	color: var(--text-color-3);
}

/* 奇数行的背景色 */
.result-box .layui-panel:nth-child(odd) {
	background-color: #ffffff;
	/* 奇数行的背景色 */
}

/* 偶数行的背景色 */
.result-box .layui-panel:nth-child(even) {
	background-color: rgba(255, 255, 255, 0.8);
	/* 偶数行的背景色 */
}

.result-box .layui-col-sm6 {
	border-bottom: 1px dashed rgba(96, 125, 139, 0.2);
	height: 45px;
	line-height: 45px;
}

.result-box .layui-col-sm6:last-child {
	border-bottom: 0; /* 最后一个元素的边框宽度为0 */
}
.result-box .layui-col-sm12 {
	border-bottom: 1px dashed rgba(96, 125, 139, 0.2);
	height: auto;
	min-height: 45px;
}

.result-box .layui-col-sm12:last-child {
	border-bottom: 0; /* 最后一个元素的边框宽度为0 */
}

.save-item {
	margin-top: 35px;
}

.save-btn {
	background-color: #007bff !important;
}
/* 登录页面 */
.login-page-box {
	background-color: var(--primary-color);
}
