/* 404 page */

/* Enable scrolling for main container (Halfmoon sets overflow:hidden on .page-wrapper) */
body:has(.page-404) #main-container {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	overflow: auto;
}

.page-404 {
	min-height: 100vh;
	background: var(--lm-page-bg-color);
}

.page-404 .page-404-container {
	max-width: 540px;
	margin: 0 auto;
	padding: 80px 24px 100px;
	text-align: center;
}

.page-404 .page-404-code {
	font-size: 96px;
	font-weight: 700;
	line-height: 1;
	margin: 0 0 16px;
	background: linear-gradient(135deg, #ffb83a, #ff527a);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.page-404 .page-404-title {
	font-size: 32px;
	font-weight: 600;
	margin: 0 0 12px;
}

.page-404 .page-404-subtitle {
	font-size: 17px;
	color: var(--lm-text-muted-color, #6c757d);
	margin: 0 0 32px;
	line-height: 1.6;
}

.dark-mode .page-404 .page-404-subtitle {
	color: var(--dm-text-muted-color, #99a3ab);
}

.page-404 .page-404-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}
