/**
 * User playlist view - overrides with !important
 */

.hmp-user-playlist-view .hmp-user-playlist-view__share-btn,
.hmp-user-playlist-view .hmp-user-playlist-view__visibility-btn,
.hmp-user-playlist-view .hmp-user-playlist-view__copy-btn,
.hmp-user-playlist-view .hmp-user-playlist-view__remove-btn,
.hmp-user-playlist-view .hmp-user-playlist-view__cover-edit,
.hmp-user-playlist-view .hmp-user-playlist-view__cover-remove,
.hmp-user-playlist-view .hmp-user-playlist-view__add-songs-btn,
.hmp-user-playlist-view .hm-singer-archive__play-all,
.hmp-user-playlist-view .hm-singer-archive__shuffle {
	font-family: "פולין", sans-serif !important;
	cursor: pointer !important;
	box-shadow: none !important;
	text-decoration: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__share-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.4rem !important;
	padding: 0.55rem 1.1rem !important;
	border: 1px solid #e8e8ee !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: #26235a !important;
	font-size: 0.88rem !important;
	font-weight: 600 !important;
	margin: 0 !important;
	min-height: unset !important;
	width: auto !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__share-btn:hover {
	border-color: #c80553 !important;
	color: #c80553 !important;
	background: #fff !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__visibility-btn {
	display: inline-flex !important;
	align-items: center !important;
	padding: 0.55rem 1.1rem !important;
	border: 1px solid #e8e8ee !important;
	border-radius: 999px !important;
	background: #f4f5f8 !important;
	color: #555 !important;
	font-size: 0.88rem !important;
	font-weight: 600 !important;
	margin: 0 !important;
	min-height: unset !important;
	width: auto !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__visibility-btn.is-public {
	background: linear-gradient(135deg, #c80553 0%, #e0186a 100%) !important;
	border-color: transparent !important;
	color: #fff !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__share-panel {
	margin: 0 0 1.25rem !important;
	padding: 1rem !important;
	background: #fff !important;
	border: 1px solid #e8e8ee !important;
	border-radius: 12px !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__share-label {
	display: block !important;
	font-family: "פולין", sans-serif !important;
	font-size: 0.85rem !important;
	font-weight: 600 !important;
	margin-bottom: 0.5rem !important;
	color: #444 !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__share-row {
	display: flex !important;
	gap: 0.5rem !important;
	align-items: center !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__share-input {
	flex: 1 !important;
	min-width: 0 !important;
	padding: 0.55rem 0.75rem !important;
	font-family: "פולין", sans-serif !important;
	font-size: 0.85rem !important;
	border: 1.5px solid #ddd !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: #333 !important;
	box-shadow: none !important;
	outline: none !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__copy-btn {
	flex: 0 0 auto !important;
	padding: 0.55rem 1rem !important;
	border: none !important;
	border-radius: 999px !important;
	background: #c80553 !important;
	color: #fff !important;
	font-size: 0.85rem !important;
	font-weight: 700 !important;
	min-height: unset !important;
	width: auto !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__copy-btn:hover {
	background: #a50447 !important;
	color: #fff !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__share-hint {
	margin: 0.65rem 0 0 !important;
	font-size: 0.82rem !important;
	color: #888 !important;
}


.hmp-user-playlist-view .hmp-user-playlist-view__icon {
	background: linear-gradient(145deg, #26235a 0%, #4a2d7a 42%, #c80553 100%) !important;
	color: #fff !important;
	display: block !important;
	position: absolute !important;
	inset: 0 !important;
	overflow: hidden !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__icon::before {
	content: none !important;
	display: none !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__icon-svg {
	display: none !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__cover {
	display: block !important;
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
	z-index: 0 !important;
	border-radius: 0 !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__cover-overlay {
	position: absolute !important;
	inset: 0 !important;
	z-index: 1 !important;
	pointer-events: none !important;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.2) 42%),
		linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%) !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__avatar-wrap {
	position: relative !important;
	overflow: hidden !important;
	isolation: isolate !important;
	flex-shrink: 0 !important;
	width: min(280px, 78vw) !important;
	max-width: 320px !important;
	height: auto !important;
	aspect-ratio: 3 / 2 !important;
	border-radius: 12px !important;
	border: 2px solid rgba(255, 255, 255, 0.12) !important;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35) !important;
	background: #0a0a12 !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__cover-edit {
	position: absolute !important;
	bottom: 0.65rem !important;
	left: 0.65rem !important;
	right: auto !important;
	z-index: 3 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 2.15rem !important;
	height: 2.15rem !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 2px solid rgba(255, 255, 255, 0.85) !important;
	border-radius: 50% !important;
	background: linear-gradient(135deg, #c80553 0%, #e0186a 100%) !important;
	color: #fff !important;
	cursor: pointer !important;
	box-shadow: 0 4px 14px rgba(200, 5, 83, 0.45) !important;
	transition: filter 0.2s, box-shadow 0.2s, transform 0.2s !important;
	min-height: unset !important;
	min-width: unset !important;
	max-width: none !important;
	max-height: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	transform: none !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__cover-edit:hover {
	filter: brightness(1.08) !important;
	box-shadow: 0 6px 18px rgba(200, 5, 83, 0.55) !important;
	transform: scale(1.05) !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__cover-edit svg {
	display: block !important;
	width: 0.9rem !important;
	height: 0.9rem !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__cover-remove {
	position: absolute !important;
	top: 0.55rem !important;
	left: 0.55rem !important;
	right: auto !important;
	z-index: 3 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 1.65rem !important;
	height: 1.65rem !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 2px solid rgba(255, 255, 255, 0.85) !important;
	border-radius: 50% !important;
	background: rgba(0, 0, 0, 0.55) !important;
	color: #fff !important;
	font-size: 1rem !important;
	line-height: 1 !important;
	cursor: pointer !important;
	opacity: 0 !important;
	transition: opacity 0.2s, background 0.2s !important;
	min-height: unset !important;
	min-width: unset !important;
	max-width: none !important;
	max-height: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	transform: none !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__avatar-wrap:hover .hmp-user-playlist-view__cover-remove,
.hmp-user-playlist-view .hmp-user-playlist-view__cover-remove:focus-visible {
	opacity: 1 !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__cover-remove:hover {
	background: #be123c !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__avatar-wrap.is-uploading::after {
	content: "" !important;
	position: absolute !important;
	inset: 0 !important;
	z-index: 2 !important;
	background: rgba(10, 10, 18, 0.5) !important;
	border-radius: 0 !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__avatar-wrap.is-uploading .hmp-user-playlist-view__cover-edit {
	pointer-events: none !important;
	opacity: 0.65 !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__track.is-draggable {
	position: relative !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__drag-handle {
	position: absolute !important;
	right: -0.25rem !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	color: #bbb !important;
	cursor: grab !important;
	font-size: 1rem !important;
	padding: 0 0.25rem !important;
	user-select: none !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__track.is-dragging {
	opacity: 0.55 !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__track.is-drag-over {
	box-shadow: inset 0 -2px 0 #c80553 !important;
}

.hmp-user-playlist-view .hm-singer-archive__track,
.hmp-user-playlist-view .hmp-user-playlist-view__track {
	align-items: center !important;
}

.hmp-user-playlist-view .hm-singer-archive__track-actions,
.hmp-user-playlist-view .hmp-user-playlist-view__track-actions {
	display: inline-flex !important;
	align-items: center !important;
	align-self: center !important;
	min-height: 32px !important;
}

.hmp-user-playlist-view .hm-singer-archive__track-date {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	align-self: center !important;
	min-height: 32px !important;
	line-height: 1 !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__remove-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 2rem !important;
	height: 2rem !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	background: #fff1f3 !important;
	color: #be123c !important;
	font-size: 1.25rem !important;
	line-height: 1 !important;
	font-weight: 400 !important;
	min-height: unset !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__remove-btn:hover {
	background: #be123c !important;
	color: #fff !important;
}

.hmp-user-playlist-view__toast {
	position: fixed !important;
	bottom: 1.5rem !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	z-index: 100001 !important;
	padding: 0.75rem 1.25rem !important;
	background: #26235a !important;
	color: #fff !important;
	border-radius: 999px !important;
	font-family: "פולין", sans-serif !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}

.hmp-user-playlist-view__toast.is-error {
	background: #be123c !important;
}

.hmp-user-playlist-view__toast[hidden] {
	display: none !important;
}

.hmp-user-card {
	cursor: pointer !important;
}

.hmp-user-card__open {
	flex: 0 0 auto !important;
	background: #fa8504 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 50% !important;
	width: 2rem !important;
	height: 2rem !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	padding: 0 !important;
	min-height: unset !important;
	box-shadow: 0 2px 8px rgba(250, 133, 4, 0.4) !important;
}

.hmp-user-card__open svg {
	fill: #fff !important;
	margin-inline-start: 2px !important;
}

/* Modal settings step - scoped under overlay for theme overrides */
.hmp-modal-overlay .hmp-modal__hint--settings {
	margin: 0 0 0.75rem !important;
	padding: 0 !important;
	text-align: right !important;
	color: #666 !important;
	font-size: 0.86rem !important;
	line-height: 1.45 !important;
}

.hmp-modal-overlay .hmp-modal__visibility-summary {
	display: flex !important;
	align-items: center !important;
	gap: 0.45rem !important;
	padding: 0.5rem 0.7rem !important;
	margin-bottom: 0.75rem !important;
	border-radius: 8px !important;
	background: #f4f3fa !important;
	border: 1.5px solid #e4e2f0 !important;
	font-family: "פולין", sans-serif !important;
	font-size: 0.82rem !important;
	font-weight: 600 !important;
	color: #26235a !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.hmp-modal-overlay .hmp-modal__visibility-summary.is-public {
	background: #eef8f3 !important;
	border-color: #b8e6cf !important;
	color: #166534 !important;
}

.hmp-modal-overlay .hmp-modal__visibility-summary-icon {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 auto !important;
	color: inherit !important;
}

.hmp-modal-overlay .hmp-modal__visibility-options {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	gap: 0.5rem !important;
	margin-bottom: 1rem !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.hmp-modal-overlay label.hmp-modal__visibility-option {
	position: relative !important;
	flex: 1 1 0 !important;
	min-width: 0 !important;
	width: auto !important;
	max-width: none !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-start !important;
	text-align: right !important;
	gap: 0.5rem !important;
	padding: 0.55rem 0.6rem !important;
	margin: 0 !important;
	border: 2px solid #e8e8ee !important;
	border-radius: 10px !important;
	cursor: pointer !important;
	transition: border-color 0.15s, background 0.15s, box-shadow 0.15s !important;
	background: #fff !important;
	box-sizing: border-box !important;
	min-height: unset !important;
	height: auto !important;
}

.hmp-modal-overlay label.hmp-modal__visibility-option:hover {
	border-color: #c80553 !important;
}

.hmp-modal-overlay label.hmp-modal__visibility-option.is-selected {
	border-color: #c80553 !important;
	background: #fff5f8 !important;
	box-shadow: 0 0 0 2px rgba(200, 5, 83, 0.1) !important;
}

.hmp-modal-overlay label.hmp-modal__visibility-option[data-visibility="public"].is-selected {
	border-color: #16a34a !important;
	background: #f0fdf4 !important;
	box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.1) !important;
}

.hmp-modal-overlay label.hmp-modal__visibility-option input[type="radio"] {
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
	pointer-events: none !important;
	margin: 0 !important;
}

.hmp-modal-overlay .hmp-modal__visibility-check {
	position: absolute !important;
	top: 0.35rem !important;
	left: 0.35rem !important;
	width: 1.1rem !important;
	height: 1.1rem !important;
	border-radius: 50% !important;
	background: #c80553 !important;
	color: #fff !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	opacity: 0 !important;
	transform: scale(0.6) !important;
	transition: opacity 0.15s, transform 0.15s !important;
}

.hmp-modal-overlay label.hmp-modal__visibility-option[data-visibility="public"] .hmp-modal__visibility-check {
	background: #16a34a !important;
}

.hmp-modal-overlay label.hmp-modal__visibility-option.is-selected .hmp-modal__visibility-check {
	opacity: 1 !important;
	transform: scale(1) !important;
}

.hmp-modal-overlay .hmp-modal__visibility-icon {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 2.1rem !important;
	height: 2.1rem !important;
	border-radius: 50% !important;
	flex: 0 0 2.1rem !important;
}

.hmp-modal-overlay .hmp-modal__visibility-icon svg {
	width: 18px !important;
	height: 18px !important;
}

.hmp-modal-overlay .hmp-modal__visibility-icon--private {
	background: #ede9fe !important;
	color: #6d28d9 !important;
}

.hmp-modal-overlay .hmp-modal__visibility-icon--public {
	background: #dcfce7 !important;
	color: #15803d !important;
}

.hmp-modal-overlay label.hmp-modal__visibility-option.is-selected .hmp-modal__visibility-icon--private {
	background: #ddd6fe !important;
	color: #5b21b6 !important;
}

.hmp-modal-overlay label.hmp-modal__visibility-option.is-selected .hmp-modal__visibility-icon--public {
	background: #bbf7d0 !important;
	color: #166534 !important;
}

.hmp-modal-overlay .hmp-modal__visibility-body {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.05rem !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
}

.hmp-modal-overlay .hmp-modal__visibility-body strong {
	display: block !important;
	font-family: "פולין", sans-serif !important;
	font-size: 0.88rem !important;
	font-weight: 800 !important;
	color: #26235a !important;
	line-height: 1.2 !important;
	margin: 0 !important;
}

.hmp-modal-overlay .hmp-modal__visibility-body span {
	font-family: "פולין", sans-serif !important;
	font-size: 0.68rem !important;
	color: #777 !important;
	line-height: 1.25 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

/* ══════════════════════════════════════════
   Community Playlists - overrides נגד תבנית WP/Elementor
   ══════════════════════════════════════════ */
.hmp-community-playlists button,
.hmp-community-playlists .hmp-community-card__play {
	font-family: "פולין", sans-serif !important;
	cursor: pointer !important;
	text-decoration: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	margin: 0 !important;
	min-height: unset !important;
	line-height: normal !important;
}

.hmp-community-playlists .hmp-community-card {
	background: #0a0a12 !important;
	border: 2px solid rgba(255, 255, 255, 0.06) !important;
	border-radius: 12px !important;
	overflow: hidden !important;
}

.hmp-community-playlists .hmp-community-card__play {
	position: absolute !important;
	top: auto !important;
	left: auto !important;
	bottom: 0.75rem !important;
	right: 0.75rem !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 40px !important;
	height: 40px !important;
	background: linear-gradient(135deg, #e91e63 0%, #cb1e53 55%, #9c27b0 100%) !important;
	background-image: linear-gradient(135deg, #e91e63 0%, #cb1e53 55%, #9c27b0 100%) !important;
	border: none !important;
	border-radius: 50% !important;
	padding: 0 !important;
	opacity: 1 !important;
	color: #fff !important;
	box-shadow: 0 4px 14px rgba(203, 30, 83, 0.5) !important;
}

.hmp-community-playlists .hmp-community-card__play-icon {
	width: auto !important;
	height: auto !important;
	border-radius: 0 !important;
	background: none !important;
	background-image: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.hmp-community-playlists .hmp-community-card__play-icon svg {
	fill: #fff !important;
	width: 16px !important;
	height: 16px !important;
	margin-inline-start: 2px !important;
}

.hmp-community-playlists .hmp-community-card__name,
.hmp-community-playlists .hmp-community-card h4 {
	margin: 0 0 0.35rem !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	font-family: "פולין", sans-serif !important;
	font-size: 1.02rem !important;
	font-weight: 700 !important;
	color: #fff !important;
	line-height: 1.25 !important;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75) !important;
}

.hmp-community-playlists .hmp-community-card__count {
	background: rgba(0, 0, 0, 0.42) !important;
	background-image: none !important;
	color: #fff !important;
	border: none !important;
	font-family: "פולין", sans-serif !important;
	font-size: 0.72rem !important;
	font-weight: 500 !important;
	padding: 0.35rem 0.65rem !important;
	border-radius: 999px !important;
	line-height: 1.2 !important;
}

.hmp-community-playlists input[type="text"],
.hmp-community-playlists input[type="search"],
.hmp-hub .hmp-modal__input,
.hmp-hub .hmp-modal__search-wrap .hmp-modal__input {
	font-family: "פולין", sans-serif !important;
	font-size: 0.95rem !important;
	border: 1.5px solid #ddd !important;
	border-radius: 10px !important;
	background: #fff !important;
	background-image: none !important;
	color: #333 !important;
	box-shadow: none !important;
	outline: none !important;
	padding: 0.65rem 0.85rem !important;
	width: 100% !important;
	height: auto !important;
	min-height: unset !important;
	margin: 0 !important;
	line-height: normal !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	box-sizing: border-box !important;
}

.hmp-hub .hmp-modal__input:focus,
.hmp-community-playlists input:focus {
	border-color: #c80553 !important;
	box-shadow: 0 0 0 3px rgba(200, 5, 83, 0.12) !important;
}

.hmp-hub .hmp-modal__btn,
.hmp-hub .hmp-create-playlist-btn,
.hmp-hub .hmp-user-card__delete,
.hmp-hub .hmp-user-card__open {
	font-family: "פולין", sans-serif !important;
	cursor: pointer !important;
	box-shadow: none !important;
	text-decoration: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	min-height: unset !important;
	line-height: normal !important;
}

.hmp-system-playlist-view__subtitle {
	margin: 0.45rem 0 0;
	max-width: 36rem;
	font-size: 0.95rem;
	line-height: 1.45;
	opacity: 0.85;
}

.hmp-system-playlist-view__admin-badge {
	display: inline-block !important;
	margin: 0.55rem 0 0 !important;
	padding: 0.28rem 0.7rem !important;
	border-radius: 999px !important;
	background: rgba(200, 5, 83, 0.12) !important;
	color: #c80553 !important;
	font-family: "פולין", sans-serif !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__add-songs-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.4rem !important;
	padding: 0.55rem 1.1rem !important;
	border: 1px solid transparent !important;
	border-radius: 999px !important;
	background: linear-gradient(135deg, #c80553 0%, #e0186a 100%) !important;
	color: #fff !important;
	font-size: 0.88rem !important;
	font-weight: 600 !important;
	margin: 0 !important;
	min-height: unset !important;
	width: auto !important;
}

.hmp-user-playlist-view .hmp-user-playlist-view__add-songs-btn:hover {
	filter: brightness(1.05);
	color: #fff !important;
}

.hmp-system-playlist-view .hmp-modal-overlay {
	z-index: 100050;
}
