.evw-widget {
	--evw-border: #0092E2;
	--evw-badge: #00D86A;
	--evw-green: #18A21F;
	--evw-red: #A21818;
	--evw-text: #ffffff;
	--evw-subtext: rgba(255, 255, 255, 0.78);
	--evw-unsure-border: rgba(255, 255, 255, 0.4);
	--evw-bg-dark: #0a1628;
	--evw-bg-mid: #0f2847;

	font-family: 'almoni', sans-serif;
	text-align: center;
	direction: rtl;
	position: relative;
	overflow: visible;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	border: 1px solid var(--evw-border);
	border-radius: 20px;
	padding: 13px 17px 17px;
	background-color: transparent;
	background-image: none;
	box-shadow: 0 0 12px rgba(0, 146, 226, 0.25);
	isolation: isolate;
}

.evw-widget::before {
	display: none;
}

.evw-widget > * {
	position: relative;
	z-index: 1;
}

.evw-badge {
	display: inline-block;
	color: var(--evw-badge);
	font-family: 'almoni', sans-serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.2;
	padding: 0 0 3px;
	margin: 3px 0 0;
	background: transparent;
	border: none;
	border-radius: 4px;
	align-self: center;
}

.evw-question {
	font-family: 'almoni', sans-serif;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.2px;
	color: var(--evw-text);
	margin: 10px 0 0;
	max-width: 233px;
	align-self: center;
}

.evw-subtitle {
	font-family: 'almoni', sans-serif;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.55;
	letter-spacing: 0.2px;
	color: var(--evw-subtext);
	margin: 12px 0 0;
	max-width: 313px;
	align-self: center;
	white-space: pre-line;
}

.evw-buttons {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin: 20px 0 0;
	padding: 0;
	width: 100%;
}

.evw-btn {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 1 1 0;
	min-width: 0;
	max-width: 112px;
	gap: 4px;
	padding: 8px 12px 10px;
	min-height: 52px;
	border: none;
	border-radius: 4px;
	font-family: 'almoni', sans-serif;
	font-size: 18px;
	font-weight: 500;
	cursor: pointer;
	transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
	color: #fff;
	white-space: nowrap;
	box-sizing: border-box;
}

.evw-btn__content {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.evw-btn:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.evw-btn:active:not(:disabled) {
	transform: translateY(0);
}

.evw-btn:disabled {
	cursor: default;
	opacity: 0.85;
}

.evw-btn--for {
	background-color: var(--evw-green);
}

.evw-btn--against {
	background-color: var(--evw-red);
}

.evw-btn--unsure {
	background-color: transparent;
	color: var(--evw-text);
	border: 1px solid var(--evw-unsure-border);
	padding: 7px 12px 9px;
	font-size: 17px;
	min-height: 52px;
}

.evw-btn--unsure:hover:not(:disabled) {
	background-color: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.55);
}

.evw-btn__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 1;
}

.evw-btn__icon i {
	font-size: 1em;
	line-height: 1;
}

.evw-btn__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
	display: block;
}

.evw-btn__label {
	flex-shrink: 0;
}

.evw-btn__count {
	display: block;
	width: 100%;
	text-align: center;
	padding: 0;
	margin: 0;
	background: none;
	border: none;
	border-radius: 0;
	min-width: 0;
	height: auto;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	color: inherit;
}

.evw-btn.is-selected {
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.evw-btn--pop {
	animation: evw-btn-pop 0.3s ease;
}

@keyframes evw-btn-pop {
	0% { transform: scale(1); }
	40% { transform: scale(1.08); }
	100% { transform: scale(1); }
}

.evw-fly-icon {
	position: absolute;
	z-index: 20;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin-left: -16px;
	margin-top: -16px;
	font-size: 24px;
	color: #fff;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.evw-fly-icon i {
	font-size: 24px;
	line-height: 1;
}

.evw-fly-icon svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
	display: block;
}

.evw-fly-icon--for {
	animation: evw-fly-for 0.85s ease-out forwards;
}

.evw-fly-icon--against {
	animation: evw-fly-against 0.85s ease-out forwards;
}

.evw-fly-icon--unsure {
	animation: evw-fly-unsure 0.85s ease-out forwards;
}

@keyframes evw-fly-for {
	0% {
		transform: translateY(0) scale(1) rotate(0deg);
		opacity: 1;
	}
	100% {
		transform: translateY(-90px) scale(1.6) rotate(-12deg);
		opacity: 0;
	}
}

@keyframes evw-fly-against {
	0% {
		transform: translateY(0) scale(1) rotate(0deg);
		opacity: 1;
	}
	100% {
		transform: translateY(70px) scale(1.6) rotate(12deg);
		opacity: 0;
	}
}

@keyframes evw-fly-unsure {
	0% {
		transform: translateY(0) scale(1) rotate(0deg);
		opacity: 1;
	}
	50% {
		transform: translateY(-45px) scale(1.3) rotate(180deg);
		opacity: 0.8;
	}
	100% {
		transform: translateY(-95px) scale(1.5) rotate(360deg);
		opacity: 0;
	}
}

.evw-counter {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin: 22px 0 0;
	text-align: center;
	width: 100%;
}

.evw-counter__number {
	font-family: 'almoni', sans-serif;
	font-size: 40px;
	font-weight: 500;
	line-height: 1;
	color: #ffffff;
	letter-spacing: -0.5px;
}

.evw-counter__title {
	font-family: 'almoni', sans-serif;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--evw-text);
	margin: 0;
}

.evw-message {
	margin-top: 12px;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.75);
}

.evw-message.is-success {
	color: #7dcea0;
}

.evw-message.is-error {
	color: #ff6b6b;
}

.evw-widget.is-loading .evw-btn {
	pointer-events: none;
	opacity: 0.6;
}

@media (min-width: 768px) {
	.evw-widget {
		padding: 32px 40px 36px;
	}

	.evw-badge {
		font-size: 26px;
		margin-top: 0;
		padding-bottom: 0;
	}

	.evw-question {
		font-size: 42px;
		line-height: 1.15;
		max-width: none;
		margin-top: 14px;
		letter-spacing: 0;
	}

	.evw-subtitle {
		font-size: 22px;
		line-height: 1.45;
		max-width: 700px;
		margin-top: 16px;
		letter-spacing: 0;
	}

	.evw-buttons {
		gap: 14px;
		margin-top: 28px;
		justify-content: center;
		align-items: center;
	}

	.evw-btn {
		flex: 0 1 auto;
		min-width: auto;
		max-width: none;
		flex-direction: column;
		font-size: 18px;
		padding: 10px 28px 12px;
		min-height: auto;
		border-radius: 4px;
		gap: 5px;
	}

	.evw-btn--unsure {
		font-size: 17px;
		padding: 9px 28px 11px;
	}

	.evw-btn__count {
		font-size: 15px;
	}

	.evw-btn__icon i {
		font-size: 1.1em;
	}

	.evw-btn__icon svg {
		width: 1.1em;
		height: 1.1em;
	}

	.evw-counter {
		margin-top: 28px;
		gap: 8px;
	}

	.evw-counter__number {
		font-size: 64px;
	}

	.evw-counter__title {
		font-size: 22px;
		line-height: 1.5;
	}
}

@media (min-width: 1024px) {
	.evw-question {
		font-size: 52px;
		line-height: 1.12;
		margin-top: 16px;
	}

	.evw-subtitle {
		font-size: 24px;
		line-height: 1.4;
		margin-top: 18px;
	}

	.evw-buttons {
		margin-top: 32px;
	}

	.evw-counter {
		margin-top: 32px;
	}

	.evw-counter__number {
		font-size: 72px;
	}
}
