/* theFibra Member Area — sondagens e denúncias nas páginas públicas.
   Herdam a tipografia e as cores do tema (sem fundo próprio). */

.thefibra-member-poll {
	margin: 32px 0;
	padding: 20px;
	border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
	border-radius: 12px;
}

.thefibra-member-poll__eyebrow {
	margin: 0 0 4px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.8;
}

.thefibra-member-poll .thefibra-member-poll__question {
	margin: 0 0 12px;
	font-size: 1.25rem;
	line-height: 1.3;
}

.thefibra-member-poll fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

.thefibra-member-poll__option {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 6px;
	min-height: 44px;
}

.thefibra-member-poll__option input {
	width: 20px;
	height: 20px;
	margin: 0;
	flex: 0 0 auto;
}

.thefibra-member-poll__option label {
	cursor: pointer;
}

.thefibra-member-poll__note,
.thefibra-member-poll__total {
	margin: 8px 0;
	font-size: 0.875rem;
}

.thefibra-member-poll__message {
	margin: 0 0 12px;
	font-weight: 600;
}

.thefibra-member-poll .thefibra-member-poll__submit {
	min-height: 44px;
	padding: 0 22px;
	cursor: pointer;
}

.thefibra-member-poll .thefibra-member-poll__results-title {
	margin: 16px 0 8px;
	font-size: 1rem;
}

.thefibra-member-poll__bars {
	margin: 0;
	padding: 0;
	list-style: none;
}

.thefibra-member-poll__bars li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 4px 12px;
	margin: 0 0 10px;
}

.thefibra-member-poll__bar {
	grid-column: 1 / -1;
	display: block;
	height: 8px;
	border-radius: 4px;
	background: color-mix(in srgb, currentColor 15%, transparent);
	overflow: hidden;
}

.thefibra-member-poll__bar span {
	display: block;
	height: 100%;
	background: currentColor;
}

.thefibra-member-poll__bars .is-choice .thefibra-member-poll__label {
	font-weight: 700;
}

.thefibra-member-report-wrap {
	margin: 4px 0 0;
}

.thefibra-member-report {
	min-height: 32px;
	padding: 2px 10px;
	font-size: 0.8125rem;
	background: transparent;
	color: inherit;
	border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
	border-radius: 6px;
	cursor: pointer;
}

.thefibra-member-report-msg {
	margin-left: 8px;
	font-size: 0.8125rem;
}

.thefibra-member-report-dialog {
	max-width: min(480px, calc(100vw - 32px));
	padding: 20px;
	border: 1px solid #333;
	border-radius: 12px;
	background: #fff;
	color: #111;
}

.thefibra-member-report-dialog::backdrop {
	background: rgba(0, 0, 0, 0.5);
}

.thefibra-member-report-dialog h2 {
	margin: 0 0 8px;
	font-size: 1.125rem;
	color: #111;
}

.thefibra-member-report-dialog fieldset {
	margin: 12px 0;
	padding: 0;
	border: 0;
}

.thefibra-member-report-dialog legend {
	font-weight: 700;
}

.thefibra-member-report-dialog fieldset p {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 6px 0;
	min-height: 32px;
}

.thefibra-member-report-dialog textarea {
	display: block;
	width: 100%;
	margin-top: 4px;
	color: #111;
	background: #fff;
	border: 1px solid #555;
}

.thefibra-member-report-actions {
	display: flex;
	gap: 8px;
	margin: 12px 0 0;
}

.thefibra-member-report-actions button {
	min-height: 44px;
	padding: 0 16px;
	cursor: pointer;
	color: #111;
	background: #f2f2f2;
	border: 1px solid #555;
	border-radius: 8px;
}

.thefibra-member-report-actions button[type="submit"] {
	color: #fff;
	background: #111;
	border-color: #111;
}

.thefibra-member-report:focus-visible,
.thefibra-member-report-actions button:focus-visible,
.thefibra-member-poll__submit:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
