/* ==========================================================================
   Custom 404 for Elementor — סגנונות פרונט
   ========================================================================== */

.c404e-wrapper {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

/* יישור לפי בחירת המשתמש (מחלקה שמתווספת ע"י prefix_class).
   עובד מ-flexbox כך שאינו תלוי ב-CSS שנוצר ע"י אלמנטור. */
.c404e-align-center .c404e-wrapper {
	align-items: center;
}

.c404e-align-right .c404e-wrapper {
	align-items: flex-end;
}

.c404e-align-left .c404e-wrapper {
	align-items: flex-start;
}

.c404e-image {
	margin-bottom: 20px;
	max-width: 100%;
}

.c404e-image img {
	max-width: 100%;
	height: auto;
}

.c404e-code {
	font-weight: 800;
	line-height: 1;
	display: block;
}

.c404e-title {
	margin: 0;
	line-height: 1.3;
}

.c404e-description {
	line-height: 1.6;
	max-width: 560px;
}

/* ---- תיבת חיפוש ---- */
.c404e-search {
	width: 100%;
	max-width: 480px;
	margin: 0 auto 30px;
}

.c404e-search form {
	display: flex;
	align-items: stretch;
	border: 1px solid #ddd;
	border-radius: 50px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.c404e-search-input {
	flex: 1;
	border: 0;
	outline: 0;
	padding: 14px 22px;
	font-size: 16px;
	background: transparent;
	color: #333;
}

.c404e-search-button {
	border: 0;
	cursor: pointer;
	background: #3498db;
	color: #fff;
	padding: 0 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.c404e-search-button:hover {
	background: #2980b9;
}

/* ---- כפתור ---- */
.c404e-button-wrap {
	margin-top: 10px;
}

.c404e-button {
	display: inline-block;
	text-decoration: none;
	transition: all 0.25s ease;
	cursor: pointer;
	line-height: 1;
}

.c404e-button:hover {
	transform: translateY(-2px);
}

/* ---- רספונסיבי ---- */
@media (max-width: 767px) {
	.c404e-search form {
		border-radius: 30px;
	}
}
