/**
 * Atomic Proof — Form polling overlay styles.
 */

/* Full-page overlay */
.atomic-proof-poll-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(3px);
}

/* Card */
.atomic-proof-poll-card {
	background: #fff;
	border-radius: 12px;
	padding: 2.5rem 2rem 2rem;
	width: 360px;
	max-width: 90vw;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Spinner */
.atomic-proof-poll-spinner {
	width: 48px;
	height: 48px;
	margin: 0 auto 1.25rem;
	border: 4px solid #e5e7eb;
	border-top-color: #4f46e5;
	border-radius: 50%;
	animation: atomic-proof-spin 0.8s linear infinite;
}

@keyframes atomic-proof-spin {
	to { transform: rotate(360deg); }
}

/* Status label */
.atomic-proof-poll-label {
	font-size: 1rem;
	font-weight: 500;
	color: #374151;
	margin-bottom: 1rem;
	line-height: 1.4;
}

.atomic-proof-poll-label.is-error {
	color: #dc2626;
}

.atomic-proof-poll-label.is-success {
	color: #059669;
}

/* Progress bar wrapper */
.atomic-proof-poll-bar-wrap {
	height: 8px;
	background: #e5e7eb;
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 0.5rem;
}

/* Progress bar fill */
.atomic-proof-poll-bar {
	height: 100%;
	background: #4f46e5;
	border-radius: 4px;
	transition: width 0.4s ease;
}

/* Percentage text */
.atomic-proof-poll-percent {
	font-size: 0.875rem;
	color: #6b7280;
	font-variant-numeric: tabular-nums;
}
