/* Meteor – Class Search Link
 * הסלקטורים ארוכים בכוונה: הם צריכים לנצח את reset.css של Hello Elementor
 * ([type="button"], button:hover) ואת ה-Kit של אלמנטור (.elementor-kit-5 button).
 */

.jet-search-filter.mcsl-ready {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 10px;
}

.jet-search-filter.mcsl-ready .jet-search-filter__input-wrapper {
	flex: 1 1 240px;
	min-width: 0;
}

.jet-search-filter.mcsl-ready .jet-search-filter__input {
	height: 44px;
}

.jet-search-filter .mcsl-actions {
	display: flex;
	gap: 10px;
	flex: 0 0 auto;
}

.jet-search-filter .mcsl-actions .mcsl-btn,
.jet-search-filter .mcsl-actions .mcsl-btn:focus,
.jet-search-filter .mcsl-actions .mcsl-btn:hover {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	margin: 0;
	padding: 0 20px;
	border-radius: 3px;
	border: 1px solid #fff;
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
	outline: none;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

/* "חפש" – מלא לבן על הטרקוטה */
.jet-search-filter .mcsl-actions .mcsl-btn--search {
	background: #fff;
	color: #9a6a54;
}

.jet-search-filter .mcsl-actions .mcsl-btn--search:hover,
.jet-search-filter .mcsl-actions .mcsl-btn--search:focus-visible {
	background: #f4e9e3;
	border-color: #f4e9e3;
	color: #7d5342;
}

/* "העתק לינק" – מסגרת לבנה, שקוף */
.jet-search-filter .mcsl-actions .mcsl-btn--copy {
	background: transparent;
	color: #fff;
}

.jet-search-filter .mcsl-actions .mcsl-btn--copy:hover,
.jet-search-filter .mcsl-actions .mcsl-btn--copy:focus-visible {
	background: rgba(255, 255, 255, .18);
	color: #fff;
}

.jet-search-filter .mcsl-actions .mcsl-btn svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* כפתור אייקון בלבד (העתקת לינק) */
.jet-search-filter .mcsl-actions .mcsl-btn--icon,
.jet-search-filter .mcsl-actions .mcsl-btn--icon:hover,
.jet-search-filter .mcsl-actions .mcsl-btn--icon:focus {
	position: relative;
	width: 44px;
	padding: 0;
	flex: 0 0 44px;
}

.jet-search-filter .mcsl-actions .mcsl-btn--icon svg {
	width: 20px;
	height: 20px;
}

/* בועית משוב מעל כפתור האייקון */
.jet-search-filter .mcsl-actions .mcsl-tip {
	position: absolute;
	bottom: calc(100% + 10px);
	right: 50%;
	transform: translateX(50%);
	background: #fff;
	color: #2e7d32;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	padding: 8px 12px;
	border-radius: 4px;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
	pointer-events: none;
	z-index: 5;
	animation: mcsl-tip-in .15s ease-out;
}

.jet-search-filter .mcsl-actions .mcsl-tip::after {
	content: '';
	position: absolute;
	top: 100%;
	right: 50%;
	transform: translateX(50%);
	border: 6px solid transparent;
	border-top-color: #fff;
}

.jet-search-filter .mcsl-actions .mcsl-btn.is-error .mcsl-tip {
	color: #c62828;
}

@keyframes mcsl-tip-in {
	from { opacity: 0; transform: translateX(50%) translateY(4px); }
	to   { opacity: 1; transform: translateX(50%) translateY(0); }
}

/* משוב */
.jet-search-filter .mcsl-actions .mcsl-btn.is-success,
.jet-search-filter .mcsl-actions .mcsl-btn.is-success:hover {
	background: #fff;
	border-color: #fff;
	color: #2e7d32;
}

.jet-search-filter .mcsl-actions .mcsl-btn.is-error,
.jet-search-filter .mcsl-actions .mcsl-btn.is-error:hover {
	background: #fff;
	border-color: #fff;
	color: #c62828;
}

@media (max-width: 767px) {
	.jet-search-filter.mcsl-ready .jet-search-filter__input-wrapper {
		flex-basis: 100%;
	}

	.jet-search-filter .mcsl-actions {
		width: 100%;
	}

	.jet-search-filter .mcsl-actions .mcsl-btn--search {
		flex: 1 1 0;
		padding: 0 12px;
		font-size: 16px;
	}
}
