/* ==========================================================================
   Pages d'erreur (404 & Erreur générale)
   ========================================================================== */

.error-box {
	max-width: 680px;
	margin: 2rem auto;
	background:
		radial-gradient(circle at 50% 0%, rgba(225, 6, 0, 0.16), transparent 60%),
		var(--bg-surface);
	border: 1px solid var(--border-color);
	border-top: 5px solid var(--f1-red);
	border-radius: var(--radius-lg);
	padding: 2.5rem 2rem;
	text-align: center;
	animation: fadeSlideUp 0.45s ease both;
}

.error-code {
	display: block;
	font-size: clamp(3.5rem, 10vw, 5.5rem);
	font-weight: 900;
	line-height: 1;
	color: var(--f1-red);
	text-shadow: 0 0 24px rgba(225, 6, 0, 0.4);
	margin-bottom: 0.5rem;
}

.error-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 1.5rem;
}
