/**
 * Community genre vote widget - singer archive
 * Forced input styles so theme cannot override
 */

.hm-singer-genre-vote {
	--hm-sgv-brand: #cb1e53;
	--hm-sgv-navy: #20215a;
	--hm-sgv-font: "Polin", sans-serif;
	direction: rtl !important;
	font-family: var(--hm-sgv-font) !important;
	margin: 0 0 1.5rem !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

.hm-singer-genre-vote *,
.hm-singer-genre-vote *::before,
.hm-singer-genre-vote *::after {
	box-sizing: border-box !important;
	font-family: var(--hm-sgv-font) !important;
}

.hm-singer-genre-vote__inner {
	padding: 0 !important;
	border-radius: 16px !important;
	border: 1px solid rgba(32, 33, 90, 0.12) !important;
	background: linear-gradient(145deg, #fff 0%, #f7f6ff 100%) !important;
	box-shadow: 0 8px 24px rgba(32, 33, 90, 0.06) !important;
	overflow: hidden !important;
}

html[data-hm-theme="dark"] .hm-singer-genre-vote__inner {
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%) !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28) !important;
}

.hm-singer-genre-vote button.hm-singer-genre-vote__toggle {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 0.75rem !important;
	width: 100% !important;
	max-width: none !important;
	min-height: unset !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0.95rem 1.15rem !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: inherit !important;
	text-align: right !important;
	cursor: pointer !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	box-shadow: none !important;
	font-family: var(--hm-sgv-font) !important;
	line-height: 1.3 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

.hm-singer-genre-vote button.hm-singer-genre-vote__toggle:hover {
	background: rgba(203, 30, 83, 0.04) !important;
}

.hm-singer-genre-vote button.hm-singer-genre-vote__toggle:focus-visible {
	outline: 2px solid var(--hm-sgv-brand) !important;
	outline-offset: -2px !important;
}

.hm-singer-genre-vote__toggle-text {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 0.15rem !important;
	min-width: 0 !important;
	flex: 1 1 auto !important;
}

.hm-singer-genre-vote__eyebrow {
	display: block !important;
	margin: 0 !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em !important;
	color: var(--hm-sgv-brand) !important;
	text-transform: none !important;
}

.hm-singer-genre-vote__title {
	display: block !important;
	margin: 0 !important;
	font-size: clamp(0.98rem, 2.2vw, 1.2rem) !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
	color: var(--hm-sgv-navy) !important;
}

html[data-hm-theme="dark"] .hm-singer-genre-vote__title {
	color: #fff !important;
}

.hm-singer-genre-vote__toggle-meta {
	display: block !important;
	margin: 0.1rem 0 0 !important;
	font-size: 0.8rem !important;
	font-weight: 500 !important;
	color: #777 !important;
	line-height: 1.3 !important;
}

html[data-hm-theme="dark"] .hm-singer-genre-vote__toggle-meta {
	color: #a8a8bd !important;
}

.hm-singer-genre-vote__chevron {
	display: inline-block !important;
	width: 10px !important;
	height: 10px !important;
	flex-shrink: 0 !important;
	border-right: 2px solid var(--hm-sgv-navy) !important;
	border-bottom: 2px solid var(--hm-sgv-navy) !important;
	transform: rotate(45deg) !important;
	transition: transform 0.2s ease !important;
	margin-top: -4px !important;
}

html[data-hm-theme="dark"] .hm-singer-genre-vote__chevron {
	border-color: #fff !important;
}

.hm-singer-genre-vote:not(.is-collapsed) .hm-singer-genre-vote__chevron {
	transform: rotate(225deg) !important;
	margin-top: 4px !important;
}

.hm-singer-genre-vote__panel {
	padding: 0 1.15rem 1.15rem !important;
	border-top: 1px solid rgba(32, 33, 90, 0.08) !important;
}

.hm-singer-genre-vote__panel[hidden] {
	display: none !important;
}

html[data-hm-theme="dark"] .hm-singer-genre-vote__panel {
	border-top-color: rgba(255, 255, 255, 0.1) !important;
}

.hm-singer-genre-vote__sub {
	margin: 0.9rem 0 1rem !important;
	font-size: 0.9rem !important;
	font-weight: 500 !important;
	line-height: 1.45 !important;
	color: #555 !important;
}

html[data-hm-theme="dark"] .hm-singer-genre-vote__sub {
	color: #b3b3b3 !important;
}

.hm-singer-genre-vote__current {
	color: #777 !important;
	font-weight: 500 !important;
}

.hm-singer-genre-vote__options {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 0.55rem !important;
	margin: 0 !important;
	padding: 0 !important;
}

.hm-singer-genre-vote__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;
	line-height: 1.2 !important;
	cursor: pointer !important;
	user-select: none !important;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease !important;
	width: auto !important;
	min-height: unset !important;
	height: auto !important;
	max-width: none !important;
}

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

.hm-singer-genre-vote__option:hover {
	border-color: var(--hm-sgv-brand) !important;
	transform: translateY(-1px) !important;
}

.hm-singer-genre-vote__option.is-selected {
	background: var(--hm-sgv-navy) !important;
	border-color: transparent !important;
	color: #fff !important;
	box-shadow: 0 2px 10px rgba(32, 33, 90, 0.22) !important;
}

html[data-hm-theme="dark"] .hm-singer-genre-vote__option.is-selected {
	background: #fff !important;
	color: #0b0b24 !important;
}

.hm-singer-genre-vote input[type="radio"],
.hm-singer-genre-vote input[type="checkbox"],
.hm-singer-genre-vote .hm-singer-genre-vote__input {
	-webkit-appearance: none !important;
	appearance: none !important;
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	clip: rect(0, 0, 0, 0) !important;
	overflow: hidden !important;
	pointer-events: none !important;
}

.hm-singer-genre-vote__check {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	border-radius: 50% !important;
	border: 2px solid currentColor !important;
	opacity: 0.55 !important;
	flex-shrink: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.hm-singer-genre-vote__option.is-selected .hm-singer-genre-vote__check {
	opacity: 1 !important;
	background: currentColor !important;
	box-shadow: inset 0 0 0 3px #fff !important;
}

html[data-hm-theme="dark"] .hm-singer-genre-vote__option.is-selected .hm-singer-genre-vote__check {
	box-shadow: inset 0 0 0 3px #0b0b24 !important;
}

.hm-singer-genre-vote__label {
	display: inline-block !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.2 !important;
}

.hm-singer-genre-vote__status {
	margin: 0.85rem 0 0 !important;
	min-height: 1.2em !important;
	font-size: 0.85rem !important;
	font-weight: 600 !important;
	color: #555 !important;
}

.hm-singer-genre-vote__status.is-ok {
	color: #1a7f37 !important;
}

.hm-singer-genre-vote__status.is-error {
	color: #cb1e53 !important;
}

html[data-hm-theme="dark"] .hm-singer-genre-vote__status {
	color: #b3b3b3 !important;
}

html[data-hm-theme="dark"] .hm-singer-genre-vote__status.is-ok {
	color: #3dd68c !important;
}

.hm-singer-genre-vote.is-busy {
	opacity: 0.72 !important;
	pointer-events: none !important;
}

.elementor-widget-shortcode .hm-singer-genre-vote,
.elementor-element .hm-singer-genre-vote,
.elementor-widget-shortcode .hm-singer-genre-vote *,
.elementor-element .hm-singer-genre-vote * {
	font-family: "Polin", sans-serif !important;
}

.elementor-widget-shortcode .hm-singer-genre-vote input[type="radio"],
.elementor-element .hm-singer-genre-vote input[type="radio"],
.elementor-widget-shortcode .hm-singer-genre-vote input[type="checkbox"],
.elementor-element .hm-singer-genre-vote input[type="checkbox"] {
	-webkit-appearance: none !important;
	appearance: none !important;
	opacity: 0 !important;
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
}
