/**
 * Community help - sparkles trigger + modal (shared)
 */

.hm-ch-help__icon {
	display: block;
	flex-shrink: 0;
	color: #cb1e53;
}

.hm-ch-help__trigger {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.35rem !important;
	margin: 0 !important;
	padding: 0.2rem 0.55rem !important;
	border: 1px solid rgba(203, 30, 83, 0.22) !important;
	border-radius: 999px !important;
	background: rgba(203, 30, 83, 0.06) !important;
	color: #20215a !important;
	font-family: "Polin", sans-serif !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	cursor: pointer !important;
	vertical-align: middle !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	box-shadow: none !important;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease !important;
}

.hm-ch-help__trigger:hover {
	background: rgba(203, 30, 83, 0.12) !important;
	border-color: rgba(203, 30, 83, 0.45) !important;
	transform: translateY(-1px);
}

.hm-ch-help__trigger:focus-visible {
	outline: 2px solid #cb1e53 !important;
	outline-offset: 2px !important;
}

.hm-ch-help__trigger--inline {
	margin-inline-start: 0.45rem !important;
}

.hm-ch-help__trigger-text {
	white-space: nowrap;
}

html[data-hm-theme="dark"] .hm-ch-help__trigger {
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: rgba(255, 255, 255, 0.14) !important;
	color: #fff !important;
}

.hm-ch-help__eyebrow {
	display: block;
	margin: 0 0 0.25rem;
	font-size: 0.78rem;
	font-weight: 700;
	color: #cb1e53;
}

.hm-ch-help__points {
	display: inline-flex;
	align-items: center;
	margin-inline-start: 0.35rem;
	padding: 0.1rem 0.45rem;
	border-radius: 999px;
	background: rgba(32, 33, 90, 0.08);
	font-size: 0.72rem;
	font-weight: 700;
	color: #20215a;
}

html[data-hm-theme="dark"] .hm-ch-help__points {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.hm-ch-help__footer {
	margin: 0 !important;
	padding: 0.75rem 1.15rem 1rem !important;
	border-top: 1px solid rgba(32, 33, 90, 0.08) !important;
	font-size: 0.75rem !important;
	font-weight: 500 !important;
	line-height: 1.45 !important;
	color: #777 !important;
	text-align: center !important;
	font-family: "Polin", sans-serif !important;
}

html[data-hm-theme="dark"] .hm-ch-help__footer {
	border-top-color: rgba(255, 255, 255, 0.1);
	color: #a8a8bd;
}

.hm-ch-help__modal {
	padding: 0;
	border: 0;
	border-radius: 16px;
	max-width: min(420px, calc(100vw - 2rem));
	width: 100%;
	background: transparent;
	box-shadow: 0 20px 50px rgba(32, 33, 90, 0.22);
	font-family: "Polin", sans-serif;
}

.hm-ch-help__modal::backdrop {
	background: rgba(15, 16, 40, 0.55);
	backdrop-filter: blur(3px);
}

.hm-ch-help__modal-inner {
	background: linear-gradient(145deg, #fff 0%, #f7f6ff 100%);
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(32, 33, 90, 0.1);
}

html[data-hm-theme="dark"] .hm-ch-help__modal-inner {
	background: linear-gradient(145deg, #1a1a2e 0%, #12121f 100%);
	border-color: rgba(255, 255, 255, 0.12);
}

.hm-ch-help__modal-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1rem 1.15rem 0.5rem;
}

.hm-ch-help__modal-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.35;
	color: #20215a;
}

html[data-hm-theme="dark"] .hm-ch-help__modal-title {
	color: #fff;
}

.hm-ch-help__modal-close {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: rgba(32, 33, 90, 0.08);
	color: #20215a;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}

html[data-hm-theme="dark"] .hm-ch-help__modal-close {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.hm-ch-help__modal-body {
	padding: 0.5rem 1.15rem 1rem;
}

.hm-ch-help__slider-wrap {
	--hm-ch-slider-brand: #cb1e53;
	--hm-ch-slider-muted: rgba(32, 33, 90, 0.68);
	margin-bottom: 1rem;
}

html[data-hm-theme="dark"] .hm-ch-help__slider-wrap {
	--hm-ch-slider-muted: rgba(245, 245, 247, 0.62);
}

.hm-ch-help__slider-label {
	display: block;
	margin-bottom: 0.65rem;
	font-size: 0.92rem;
	font-weight: 600;
	color: #333;
}

html[data-hm-theme="dark"] .hm-ch-help__slider-label {
	color: #ddd;
}

.hm-ch-help__slider-label strong {
	color: #cb1e53;
	font-size: 1.15rem;
}

.hm-ch-help__slider-track {
	position: relative;
	height: 2.5rem;
	display: flex;
	align-items: center;
}

.hm-ch-help__slider-fill {
	position: absolute;
	inset-inline-start: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 6px;
	border-radius: 999px;
	background: linear-gradient(90deg, #7b8fd4 0%, var(--hm-ch-slider-brand) 100%);
	pointer-events: none;
	z-index: 1;
	transition: width 0.15s ease;
}

.hm-ch-help__slider {
	-webkit-appearance: none;
	appearance: none;
	position: relative;
	z-index: 2;
	width: 100%;
	height: 6px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(32, 33, 90, 0.12);
	cursor: pointer;
	outline: none;
}

html[data-hm-theme="dark"] .hm-ch-help__slider {
	background: rgba(255, 255, 255, 0.15);
}

.hm-ch-help__slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 1.65rem;
	height: 1.65rem;
	border-radius: 50%;
	border: 3px solid #fff;
	background: var(--hm-ch-slider-brand);
	box-shadow: 0 2px 10px rgba(203, 30, 83, 0.45);
	cursor: grab;
	transition: transform 0.15s ease;
}

.hm-ch-help__slider:active::-webkit-slider-thumb {
	cursor: grabbing;
	transform: scale(1.1);
}

.hm-ch-help__slider::-moz-range-thumb {
	width: 1.65rem;
	height: 1.65rem;
	border-radius: 50%;
	border: 3px solid #fff;
	background: var(--hm-ch-slider-brand);
	box-shadow: 0 2px 10px rgba(203, 30, 83, 0.45);
	cursor: grab;
}

.hm-ch-help__slider::-moz-range-track {
	height: 6px;
	border: 0;
	border-radius: 999px;
	background: transparent;
}

.hm-ch-help__slider-ticks {
	display: flex;
	justify-content: space-between;
	margin: 0.45rem 0 0;
	padding: 0 0.15rem;
	list-style: none;
}

.hm-ch-help__slider-ticks li {
	font-size: 0.68rem;
	font-weight: 600;
	color: var(--hm-ch-slider-muted);
	width: 1.2rem;
	text-align: center;
	transition: color 0.15s ease, font-weight 0.15s ease;
}

.hm-ch-help__slider-ticks li.is-active {
	color: var(--hm-ch-slider-brand);
	font-weight: 800;
}

.hm-ch-help__submit {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0.65rem 1rem !important;
	border: 0 !important;
	border-radius: 12px !important;
	background: #20215a !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 0.92rem !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	box-shadow: 0 4px 14px rgba(32, 33, 90, 0.25) !important;
}

.hm-ch-help__submit:hover:not(:disabled) {
	background: #2d2f7a !important;
}

.hm-ch-help__submit:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.hm-ch-help__status {
	margin: 0.65rem 0 0;
	min-height: 1.2em;
	font-size: 0.85rem;
	font-weight: 600;
	color: #555;
	text-align: center;
}

.hm-ch-help__status.is-ok {
	color: #1a7f37;
}

.hm-ch-help__status.is-error {
	color: #cb1e53;
}

.hm-ch-help__options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.hm-ch-help__option {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 0.95rem 0.55rem 0.7rem;
	border: 1px solid rgba(32, 33, 90, 0.16);
	border-radius: 999px;
	background: #fff;
	color: #222;
	font-size: 0.88rem;
	font-weight: 600;
	cursor: pointer;
	user-select: none;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.hm-ch-help__option:hover {
	border-color: #cb1e53;
	transform: translateY(-1px);
}

.hm-ch-help__option.is-selected {
	background: #20215a;
	border-color: transparent;
	color: #fff;
	box-shadow: 0 2px 10px rgba(32, 33, 90, 0.22);
}

.hm-ch-help__option input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.hm-ch-help__option-check {
	display: inline-flex;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid currentColor;
	opacity: 0.55;
	flex-shrink: 0;
}

.hm-ch-help__option.is-selected .hm-ch-help__option-check {
	opacity: 1;
	background: currentColor;
	box-shadow: inset 0 0 0 3px #fff;
}

.hm-ch-help__sub {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.45;
	color: #555;
}

.hm-ch-help.is-busy {
	opacity: 0.72;
	pointer-events: none;
}

.hm-ch-help__row {
	display: flex;
	justify-content: center;
	margin: 0 0 1.25rem;
	padding: 0 0.5rem;
}

.hm-ch-help__row .hm-ch-help__trigger {
	font-size: 0.85rem !important;
	padding: 0.35rem 0.75rem !important;
}

.hm-post__title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0;
}

.hm-post__title-text {
	flex: 1 1 auto;
	min-width: 0;
}

/* === כפיית עיצוב כפתורים ואינפוטים (נגד דריסת תבנית) === */
.hm-ch-help__modal,
.hm-ch-help__drop-panel,
.hm-singer-archive__modal--suggest .hm-singer-archive__modal-inner {
	font-family: "Polin", sans-serif !important;
}

.hm-ch-help__trigger--tag {
	border-style: dashed !important;
}

.hm-ch-help__drop-panel {
	position: absolute !important;
	top: calc(100% + 8px) !important;
	right: 0 !important;
	left: auto !important;
	width: min(320px, calc(100vw - 32px)) !important;
	padding: 12px !important;
	border-radius: 14px !important;
	border: 1px solid rgba(32, 33, 90, 0.14) !important;
	background: linear-gradient(145deg, #fff 0%, #f7f6ff 100%) !important;
	box-shadow: 0 12px 32px rgba(32, 33, 90, 0.16) !important;
	z-index: 40 !important;
	box-sizing: border-box !important;
	direction: rtl !important;
}

.hm-ch-help__drop-panel .hm-ch-help__footer {
	padding: 0.55rem 0 0 !important;
	border-top: 1px solid rgba(32, 33, 90, 0.08) !important;
	margin-top: 0.5rem !important;
}

.hm-ch-help__drop-panel .hm-ch-help__sub {
	margin: 0.25rem 0 0.75rem !important;
	font-size: 0.82rem !important;
}

.hm-ch-help__modal button,
.hm-ch-help__drop-panel button,
.hm-singer-archive__modal--suggest button {
	appearance: none !important;
	-webkit-appearance: none !important;
	font-family: "Polin", sans-serif !important;
	box-shadow: none !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	line-height: 1.3 !important;
	cursor: pointer !important;
}

.hm-ch-help__modal input:not([type="radio"]):not([type="checkbox"]):not([type="range"]),
.hm-ch-help__drop-panel input:not([type="radio"]):not([type="checkbox"]):not([type="range"]),
.hm-singer-archive__modal--suggest input:not([type="radio"]):not([type="checkbox"]):not([type="range"]) {
	appearance: none !important;
	-webkit-appearance: none !important;
	font-family: "Polin", sans-serif !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	direction: rtl !important;
	text-align: right !important;
}

.hm-ch-help__modal-close {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 32px !important;
	height: 32px !important;
	min-width: 32px !important;
	min-height: 32px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(32, 33, 90, 0.08) !important;
	color: #20215a !important;
	font-size: 1.35rem !important;
	line-height: 1 !important;
}

.hm-ch-help__submit {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 44px !important;
	margin: 0 !important;
	padding: 0.65rem 1rem !important;
	border: 0 !important;
	border-radius: 12px !important;
	background: #20215a !important;
	color: #fff !important;
	font-size: 0.92rem !important;
	font-weight: 700 !important;
}

.hm-ch-help__input,
.hm-ch-help__drop-panel .hm-post__genre-search,
.hm-singer-archive__modal--suggest .hm-singer-archive__suggest-field input {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	height: 42px !important;
	min-height: 42px !important;
	margin: 0 0 10px !important;
	padding: 0 12px !important;
	border: 1px solid rgba(32, 33, 90, 0.18) !important;
	border-radius: 10px !important;
	background: #f7f7fb !important;
	color: #1a1a2e !important;
	font-size: 0.9rem !important;
	font-weight: 500 !important;
}

.hm-ch-help__input:focus,
.hm-ch-help__drop-panel .hm-post__genre-search:focus,
.hm-singer-archive__modal--suggest .hm-singer-archive__suggest-field input:focus {
	outline: none !important;
	border-color: #cb1e53 !important;
	background: #fff !important;
	box-shadow: 0 0 0 3px rgba(203, 30, 83, 0.18) !important;
}

.hm-ch-help__slider-track {
	position: relative !important;
	height: 2.5rem !important;
	display: flex !important;
	align-items: center !important;
}

.hm-ch-help__slider-fill {
	position: absolute !important;
	inset-inline-start: 0 !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	height: 6px !important;
	border-radius: 999px !important;
	background: linear-gradient(90deg, #7b8fd4 0%, #cb1e53 100%) !important;
	pointer-events: none !important;
	z-index: 1 !important;
	transition: width 0.15s ease !important;
}

.hm-ch-help__slider {
	-webkit-appearance: none !important;
	appearance: none !important;
	position: relative !important;
	z-index: 2 !important;
	width: 100% !important;
	height: 6px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: rgba(32, 33, 90, 0.12) !important;
	cursor: pointer !important;
	outline: none !important;
	box-shadow: none !important;
	direction: rtl !important;
	text-align: right !important;
	font-family: "Polin", sans-serif !important;
	box-sizing: border-box !important;
}

html[data-hm-theme="dark"] .hm-ch-help__slider {
	background: rgba(255, 255, 255, 0.15) !important;
}

.hm-ch-help__slider::-webkit-slider-thumb {
	-webkit-appearance: none !important;
	appearance: none !important;
	width: 1.65rem !important;
	height: 1.65rem !important;
	border-radius: 50% !important;
	border: 3px solid #fff !important;
	background: #cb1e53 !important;
	box-shadow: 0 2px 10px rgba(203, 30, 83, 0.45) !important;
	cursor: grab !important;
	transition: transform 0.15s ease !important;
}

.hm-ch-help__slider:active::-webkit-slider-thumb {
	cursor: grabbing !important;
	transform: scale(1.1) !important;
}

.hm-ch-help__slider::-moz-range-thumb {
	width: 1.65rem !important;
	height: 1.65rem !important;
	border-radius: 50% !important;
	border: 3px solid #fff !important;
	background: #cb1e53 !important;
	box-shadow: 0 2px 10px rgba(203, 30, 83, 0.45) !important;
	cursor: grab !important;
}

.hm-ch-help__slider::-moz-range-track {
	height: 6px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
}

.hm-ch-help__slider-ticks {
	display: flex !important;
	justify-content: space-between !important;
	margin: 0.45rem 0 0 !important;
	padding: 0 0.15rem !important;
	list-style: none !important;
}

.hm-ch-help__slider-ticks li {
	font-size: 0.68rem !important;
	font-weight: 600 !important;
	color: rgba(32, 33, 90, 0.68) !important;
	width: 1.2rem !important;
	text-align: center !important;
	transition: color 0.15s ease, font-weight 0.15s ease !important;
}

.hm-ch-help__slider-ticks li.is-active {
	color: #cb1e53 !important;
	font-weight: 800 !important;
}

html[data-hm-theme="dark"] .hm-ch-help__slider-ticks li {
	color: rgba(245, 245, 247, 0.62) !important;
}

.hm-ch-help__option {
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
	margin: 0 !important;
	padding: 0.55rem 0.95rem 0.55rem 0.7rem !important;
	border: 1px solid rgba(32, 33, 90, 0.16) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: #222 !important;
	font-size: 0.88rem !important;
	font-weight: 600 !important;
	width: auto !important;
	min-height: unset !important;
	height: auto !important;
	max-width: none !important;
}

.hm-ch-help__option.is-selected {
	background: #20215a !important;
	border-color: transparent !important;
	color: #fff !important;
}

.hm-ch-help__option input[type="radio"],
.hm-ch-help__option input[type="checkbox"] {
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	pointer-events: none !important;
}

.hm-ch-help__drop-panel button.hm-post__genre-option,
.hm-post .hm-ch-help__drop-panel button.hm-post__genre-option {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	width: 100% !important;
	min-height: 40px !important;
	margin: 0 !important;
	padding: 8px 10px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: transparent !important;
	color: #20215a !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	text-align: right !important;
}

.hm-ch-help__drop-panel button.hm-post__genre-option:hover,
.hm-ch-help__drop-panel button.hm-post__genre-option:focus-visible {
	background: rgba(203, 30, 83, 0.1) !important;
	color: #cb1e53 !important;
}

.hm-singer-archive__modal--suggest .hm-singer-archive__suggest-submit {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 42px !important;
	margin: 0 !important;
	padding: 0.55rem 1.1rem !important;
	border: 0 !important;
	border-radius: 10px !important;
	background: #20215a !important;
	color: #fff !important;
	font-size: 0.9rem !important;
	font-weight: 700 !important;
}

.hm-singer-archive__modal--suggest .hm-singer-archive__suggest-cancel {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 42px !important;
	margin: 0 !important;
	padding: 0.55rem 1rem !important;
	border: 1px solid rgba(32, 33, 90, 0.18) !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: #20215a !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
}

.hm-singer-archive__modal--suggest .hm-singer-archive__modal-close {
	appearance: none !important;
	border: 0 !important;
	background: transparent !important;
	color: inherit !important;
	font-size: 1.5rem !important;
	line-height: 1 !important;
	cursor: pointer !important;
	padding: 0 !important;
	width: auto !important;
	height: auto !important;
}

html[data-hm-theme="dark"] .hm-ch-help__drop-panel {
	background: linear-gradient(145deg, #1a1a2e 0%, #12121f 100%) !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
}

html[data-hm-theme="dark"] .hm-ch-help__input,
html[data-hm-theme="dark"] .hm-ch-help__drop-panel .hm-post__genre-search,
html[data-hm-theme="dark"] .hm-singer-archive__modal--suggest .hm-singer-archive__suggest-field input {
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: rgba(255, 255, 255, 0.14) !important;
	color: #fff !important;
}

html[data-hm-theme="dark"] .hm-ch-help__option {
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: rgba(255, 255, 255, 0.14) !important;
	color: #fff !important;
}

.elementor-widget-shortcode .hm-ch-help__modal button,
.elementor-element .hm-ch-help__modal button,
.elementor-widget-shortcode .hm-ch-help__drop-panel button,
.elementor-element .hm-ch-help__drop-panel button {
	font-family: "Polin", sans-serif !important;
}