/* =============================================
   history.css - 历史页样式
   ============================================= */

.page-history {
	background: var(--bg);
	color: var(--text);
}

.page-history html,
.page-history body {
	overflow-x: hidden;
}

.page-history h1 {
	color: var(--primary);
	margin: 1rem 0;
	font-size: 1.5rem;
	font-weight: 600;
	text-align: center;
}

.page-history .record-list {
	margin-top: 0.5rem;
}

.page-history .record {
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	padding: 0.75rem 0.9rem;
	margin: 0.75rem 0;
	background: #fff;
}

.page-history .row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.4rem 0;
	border-bottom: 1px dashed #e5e7eb;
	flex-wrap: wrap;
	gap: 0.25rem 0.5rem;
}

.page-history .row:last-child {
	border-bottom: none;
}

.page-history .time-row .label,
.page-history .time-row .value {
	color: #334155;
}

.page-history .details-row {
	border-bottom: none;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.25rem;
	padding-top: 0.8rem;
}

.page-history .label {
	color: #64748b;
}

.page-history .value {
	color: #334155;
	word-break: break-all;
	overflow-wrap: anywhere;
}

.page-history .title {
	color: #94a3b8;
}

.page-history .text {
	color: #334155;
}

.page-history .sub {
	color: #94a3b8;
	margin-left: 0;
}

.page-history .actions {
	display: flex;
	justify-content: center;
	margin-top: 12px;
}

.page-history .load-more-btn {
	min-width: 140px;
}

.page-history .empty {
	text-align: center;
	color: #94a3b8;
	padding: 48px 0;
}
