/**
 * Exit Intent Pro for WooCommerce - Spin-to-Win wheel styles.
 */

.eifw-popup--spinwin .eifw-popup__body {
	text-align: center;
}

.eifwp-wheel {
	position: relative;
	width: 260px;
	height: 260px;
	margin: 20px auto;
}

.eifwp-wheel__pointer {
	position: absolute;
	top: -8px;
	left: 50%;
	width: 0;
	height: 0;
	transform: translateX(-50%);
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
	border-top: 22px solid #2b2b2b;
	z-index: 3;
	filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
}

.eifwp-wheel__disc {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 6px solid #fff;
	box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.15), 0 10px 28px rgba(0, 0, 0, 0.28);
	transform: rotate(0deg);
	will-change: transform;
}

.eifwp-wheel__disc::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 34px;
	height: 34px;
	margin: -17px 0 0 -17px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	z-index: 2;
}

.eifwp-wheel__label {
	position: absolute;
	left: 50%;
	top: 0;
	height: 50%;
	transform-origin: bottom center;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	pointer-events: none;
}

.eifwp-wheel__label-text {
	margin-top: 16px;
	max-width: 90px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.15;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
	white-space: nowrap;
}

.eifwp-wheel__spin {
	margin-top: 6px;
}

.eifwp-wheel__spin[disabled] {
	opacity: 0.6;
	cursor: default;
}

@media (prefers-reduced-motion: reduce) {
	.eifwp-wheel__disc {
		transition: none !important;
	}
}
