/* =========================================================
   404 (Not Found) page — YCM theme.
   ========================================================= */

body.error404 .site-main,
body.error404 main,
body.error404 .elementor {
	background-color: #eff3ff;
}

.ycm-404 {
	background-color: #eff3ff;
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.ycm-404__inner {
	max-width: 640px;
	margin: 0 auto;
	padding: 90px 24px 110px;
	text-align: center;
	box-sizing: border-box;
}

.ycm-404__code {
	display: block;
	font-size: 130px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	background: linear-gradient(120deg, #2f6bff, #1f57e6);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #2f6bff;
	margin-bottom: 14px;
}

.ycm-404__title {
	font-size: 34px;
	font-weight: 800;
	color: #111827;
	margin: 0 0 12px;
}

.ycm-404__text {
	font-size: 16px;
	line-height: 1.65;
	color: #6b7280;
	margin: 0 auto 30px;
	max-width: 480px;
}

/* Search */
.ycm-404__search {
	position: relative;
	max-width: 420px;
	margin: 0 auto 28px;
}

.ycm-404__search-input {
	width: 100%;
	height: 52px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 0 48px 0 16px;
	font: inherit;
	font-size: 15px;
	color: #1f2937;
	background-color: #fff;
	box-sizing: border-box;
}

.ycm-404__search-input:focus {
	outline: none;
	border-color: #2f6bff;
	box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.12);
}

.ycm-404__search-btn {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #6b7280;
	cursor: pointer;
	padding: 8px;
	display: inline-flex;
}

/* Actions */
.ycm-404__actions {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

.ycm-404__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ycm-404__btn--primary {
	background-color: #2f6bff;
	color: #fff;
}

.ycm-404__btn--primary:hover {
	background-color: #1f57e6;
	color: #fff;
}

.ycm-404__btn--ghost {
	background-color: #fff;
	color: #374151;
	border: 1px solid #e5e7eb;
}

.ycm-404__btn--ghost:hover {
	background-color: #f3f6ff;
	color: #2f6bff;
	border-color: #c7d7ff;
}

@media (max-width: 560px) {
	.ycm-404__code { font-size: 92px; }
	.ycm-404__title { font-size: 26px; }
	.ycm-404__actions { flex-direction: column; }
	.ycm-404__btn { width: 100%; }
}
