.elementor-widget-elementsync-auto-scroll {
	overflow: visible;
}

.elementor-widget-elementsync-auto-scroll .esh-auto-scroll {
	--esh-audio-gap: 10px;
	display: flex;
	justify-content: flex-end;
	width: 100%;
	pointer-events: none;
}

.elementor-widget-elementsync-auto-scroll.esh-auto-scroll-follows-audio {
	margin: 0 !important;
	width: auto !important;
}

.elementor-widget-elementsync-auto-scroll.esh-auto-scroll-follows-audio .esh-auto-scroll {
	justify-content: center;
}

.esh-auto-scroll__control {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	pointer-events: auto;
}

.esh-auto-scroll__button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 3px solid #fff;
	border-radius: 50%;
	background: #1f1f1f;
	color: #fff;
	cursor: pointer;
	pointer-events: auto;
	box-shadow: 0 2px 7px rgba(0, 0, 0, .28);
	transition: transform .2s ease;
	-webkit-tap-highlight-color: transparent;
}

.esh-auto-scroll__button:hover { transform: scale(1.04); }
.esh-auto-scroll__button:focus-visible { outline: 3px solid rgba(31, 31, 31, .35); outline-offset: 4px; }

.esh-auto-scroll__progress {
	position: absolute;
	inset: -3px;
	width: calc(100% + 6px);
	height: calc(100% + 6px);
	transform: rotate(-90deg);
	overflow: visible;
}

.esh-auto-scroll__progress circle { fill: none; stroke-width: 2.5; }
.esh-auto-scroll__progress-track { stroke: #d9d9d9; }
.esh-auto-scroll__progress-value {
	stroke: #1f1f1f;
	stroke-linecap: round;
	stroke-dasharray: 100;
	stroke-dashoffset: calc(100 - var(--esh-scroll-progress, 0));
	transition: stroke-dashoffset .12s linear;
}

.esh-auto-scroll__icon,
.esh-auto-scroll__icon svg { display: block; width: 18px; height: 18px; fill: currentColor; }
.esh-auto-scroll__pause { display: none !important; }
.esh-auto-scroll.is-playing .esh-auto-scroll__play { display: none; }
.esh-auto-scroll.is-playing .esh-auto-scroll__pause { display: block !important; }

.esh-auto-scroll__settings {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 40px;
	padding: 11px 5px 7px;
	border: 1px solid rgba(180, 180, 180, .22);
	border-radius: 22px;
	background: rgba(255, 255, 255, .88);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, 14px) scale(.96);
	transform-origin: bottom center;
	transition: opacity .22s ease, transform .3s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .3s;
	backdrop-filter: blur(5px);
}

.esh-auto-scroll.is-playing .esh-auto-scroll__settings {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, 0) scale(1);
	transition-delay: 0s;
}

.esh-auto-scroll__range {
	width: 108px;
	height: 22px;
	margin: 43px -34px;
	accent-color: #1f1f1f;
	cursor: pointer;
	transform: rotate(-90deg);
}

.esh-auto-scroll__speed-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 29px;
	height: 29px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .95);
	color: #1f1f1f;
	font: 700 18px/1 sans-serif;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.esh-auto-scroll__speed-button:hover,
.esh-auto-scroll__speed-button:focus,
.esh-auto-scroll__speed-button:focus-visible {
	background: #fff !important;
}
.esh-auto-scroll__speed-button:active { background: #ececec !important; }
.esh-auto-scroll__speed-button:focus:not(:focus-visible) { outline: 0; }
.esh-auto-scroll__speed-button:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.esh-auto-scroll__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
	.esh-auto-scroll__button,
	.esh-auto-scroll__settings,
	.esh-auto-scroll__progress-value { transition: none; }
}

@media (max-width: 767px) {
	.esh-auto-scroll__button { width: 35px; height: 35px; }
	.esh-auto-scroll__icon,
	.esh-auto-scroll__icon svg { width: 15px; height: 15px; }
}
