/* Poll Widget Styles */
.cumbre-poll-widget {
	max-width: 600px;
	margin: 0 auto;
	padding: 24px;
	background: white;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.poll-question {
	margin: 0 0 24px 0;
	font-size: 22px;
	font-weight: 600;
	color: #1f2937;
	line-height: 1.4;
}

.poll-options {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 16px;
}

.poll-option {
	width: 100%;
	position: relative;
	padding: 16px 20px;
	border: 2px solid #e5e7eb;
	background: white;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s ease;
	overflow: hidden;
}

.poll-option:hover:not(.voted) {
	border-color: #3b82f6;
	background: #eff6ff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.poll-option.voted {
	cursor: default;
	border-color: transparent;
}

.poll-option.selected {
	border-color: #3b82f6;
	background: #eff6ff;
}

.poll-option-content {
	display: flex;
	align-items: center;
	gap: 12px;
	position: relative;
	z-index: 2;
}

.poll-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	flex-shrink: 0;
}

.poll-icon.poll-emoji {
	font-size: 28px;
}

.poll-icon.poll-icon-element {
	font-size: 24px;
	color: #374151;
}

.poll-icon.poll-image {
	width: 32px;
	height: 32px;
	object-fit: cover;
	border-radius: 6px;
}

.poll-option-text {
	font-size: 16px;
	font-weight: 500;
	color: #374151;
	flex-grow: 1;
}

.poll-result {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 16px 20px;
	z-index: 1;
}

.poll-result-bar {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	background: #3b82f6;
	opacity: 0.15;
	transition: width 0.6s ease;
	border-radius: 10px;
}

.poll-percentage {
	position: relative;
	z-index: 3;
	font-size: 16px;
	font-weight: 700;
	color: #1f2937;
	margin-left: auto;
}

.poll-footer {
	padding-top: 16px;
	border-top: 1px solid #e5e7eb;
	text-align: center;
}

.poll-total-votes {
	font-size: 14px;
	color: #6b7280;
	margin: 0;
}

.poll-total-votes span {
	font-weight: 600;
	color: #374151;
}

/* Animaciones */
@keyframes pulse {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.6;
	}
}

.poll-option.voting {
	animation: pulse 1s ease-in-out;
	pointer-events: none;
}

/* Responsive */
@media (max-width: 640px) {
	.cumbre-poll-widget {
		padding: 20px 16px;
	}

	.poll-question {
		font-size: 18px;
		margin-bottom: 20px;
	}

	.poll-option {
		padding: 14px 16px;
	}

	.poll-icon.poll-emoji {
		font-size: 24px;
	}

	.poll-icon.poll-icon-element {
		font-size: 20px;
	}

	.poll-option-text {
		font-size: 15px;
	}

	.poll-percentage {
		font-size: 14px;
	}
}

/* Estados de error */
.poll-error {
	padding: 12px 16px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 8px;
	color: #991b1b;
	font-size: 14px;
	margin-top: 12px;
	text-align: center;
}

.poll-success {
	padding: 12px 16px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 8px;
	color: #166534;
	font-size: 14px;
	margin-top: 12px;
	text-align: center;
}
