.lvt-vote-page {
	min-height: 60vh;
}

.lvt-vote-section {
	--lvt-vote-accent: var(--bs-primary);
	background: var(--lvt-mp-section-alt-bg, #f8fafc);
}

.lvt-vote-intro .h2 {
	letter-spacing: -0.02em;
}

.lvt-vote-intro p {
	max-width: 36rem;
	margin-inline: auto;
	font-size: 1.05rem;
}

.lvt-vote-card {
	max-width: 480px;
}

.lvt-vote-results-wrap {
	max-width: 720px;
	margin-inline: auto;
}

.lvt-vote-list-cards {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.lvt-vote-list-card {
	background: #fff;
}

.lvt-vote-list-card__meta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem 0.75rem;
	margin: 0;
}

.lvt-vote-list-card__meta > div {
	min-width: 0;
}

.lvt-vote-list-card__meta dt {
	font-size: 0.75rem;
	color: var(--bs-secondary-color);
	margin: 0;
	font-weight: 500;
}

.lvt-vote-list-card__meta dd {
	margin: 0;
	font-size: 0.875rem;
}

.lvt-vote-list-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	justify-content: flex-end;
}

.lvt-vote-list-card .lvt-vote-list-actions {
	justify-content: stretch;
}

.lvt-vote-list-card .lvt-vote-list-actions .btn {
	flex: 1 1 calc(50% - 0.35rem);
}

@media (min-width: 768px) {
	.lvt-vote-list-actions {
		flex-wrap: nowrap;
	}
}

@media (max-width: 767.98px) {
	.lvt-vote-intro {
		padding-top: 0.75rem;
	}

	.lvt-vote-section > .container {
		padding-top: 1.75rem !important;
	}

	#lvtVotePanelList .d-flex.justify-content-between {
		align-items: stretch !important;
	}

	#lvtVotePanelList .d-flex.gap-2 {
		width: 100%;
	}

	#lvtVotePanelList .d-flex.gap-2 .btn {
		flex: 1;
	}

	.lvt-vote-section .table-responsive {
		font-size: 0.875rem;
	}
}

.lvt-vote-question {
	border: 1px solid var(--bs-border-color);
	border-radius: 0.5rem;
	padding: 1rem;
	margin-bottom: 1rem;
	background: var(--bs-body-bg);
}

.lvt-vote-question__head {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: flex-start;
	margin-bottom: 0.75rem;
}

.lvt-vote-answer-row {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	margin-bottom: 0.5rem;
}

.lvt-vote-answer-row .form-control {
	flex: 1;
}

.lvt-vote-result-card {
	border: 1px solid var(--bs-border-color);
	border-radius: 0.5rem;
	padding: 1rem;
	margin-bottom: 1rem;
}

.lvt-vote-result-bar {
	height: 8px;
	border-radius: 999px;
	background: var(--bs-secondary-bg);
	overflow: hidden;
	margin-top: 0.25rem;
}

.lvt-vote-result-bar > span {
	display: block;
	height: 100%;
	background: var(--bs-primary);
}

.lvt-ballot-option {
	display: block;
	padding: 0.55rem 0.75rem;
	border: 1px solid var(--bs-border-color);
	border-radius: 0.4rem;
	margin-bottom: 0.5rem;
	cursor: pointer;
}

.lvt-ballot-option:has(input:checked) {
	border-color: var(--bs-primary);
	background: color-mix(in srgb, var(--bs-primary) 8%, transparent);
}
