/* Business Hub — Ψηφοφορίες (από την 1.2.0 στο πρόσθετο· ίδιες κλάσεις με τον Πυρήνα ≤ 4.36). */

/* ===== Ψηφοφορία — πάνελ composer ===== */
.neo-social-poll-box {
	border: 1px solid var(--neo-border, #e3e6ea);
	background: var(--neo-surface-2, #fafbfc);
	border-radius: 10px;
	padding: 12px;
	margin-top: 10px;
}
.neo-social-poll-q {
	width: 100%;
	border: 1px solid var(--neo-border, #dfe3e7);
	border-radius: 8px;
	padding: 8px 11px;
	font-size: 14px;
	box-sizing: border-box;
	margin-bottom: 10px;
}
.neo-social-poll-opt-row {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 7px;
}
.neo-social-poll-opt {
	flex: 1;
	border: 1px solid var(--neo-border, #dfe3e7);
	border-radius: 8px;
	padding: 7px 10px;
	font-size: 14px;
	box-sizing: border-box;
}
.neo-social-poll-opt-rm {
	border: none;
	background: none;
	color: #b23b3b;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	width: 24px;
	padding: 0;
}
.neo-social-poll-add {
	display: inline-block;
	margin-top: 2px;
	font-size: 13px;
	color: var(--neo-primary);
	text-decoration: none;
	font-weight: 600;
	cursor: pointer;
}
.neo-social-poll-add:hover { text-decoration: underline; }
.neo-social-poll-settings {
	border-top: 1px solid var(--neo-border, #e6e9ec);
	margin-top: 12px;
	padding-top: 10px;
}
.neo-social-poll-check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	cursor: pointer;
}
.neo-social-poll-close {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	margin-top: 8px;
	flex-wrap: wrap;
}

/* ===== Ψηφοφορία — εμφάνιση σε ανάρτηση (read-only, 4β) ===== */
.neo-social-poll {
	border: 1px solid var(--neo-border, #e3e6ea);
	border-radius: 10px;
	padding: 12px 14px;
	margin: 10px 0 4px;
}
.neo-social-poll-question {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 10px;
}
.neo-social-poll-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.neo-social-poll-item {
	border: 1px solid var(--neo-border, #e2e5e9);
	border-radius: 8px;
	padding: 9px 12px;
	font-size: 14px;
	margin: 6px 0;
}
.neo-social-poll-meta {
	font-size: 12px;
	color: var(--neo-muted, #777);
	margin-top: 8px;
}

/* ===== Ψηφοφορία — ψήφος & αποτελέσματα (4γ) ===== */
.neo-social-poll-vote {
	display: flex;
	flex-direction: column;
	gap: 7px;
}
.neo-social-poll-choice {
	display: block;
	width: 100%;
	text-align: left;
	border: 1px solid var(--neo-border, #d8dce1);
	background: #fff;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	color: var(--neo-text, #222);
	cursor: pointer;
	transition: border-color .12s, background .12s;
}
.neo-social-poll-choice:hover {
	border-color: var(--neo-primary);
	background: #fafffd;
}
.neo-social-poll-choice.is-static {
	cursor: default;
	color: var(--neo-muted, #777);
}
.neo-social-poll-choice.is-static:hover {
	border-color: var(--neo-border, #d8dce1);
	background: #fff;
}
.neo-social-poll-results {
	display: flex;
	flex-direction: column;
	gap: 7px;
}
.neo-social-poll-res-row {
	position: relative;
	border: 1px solid var(--neo-border, #e6e8eb);
	border-radius: 8px;
	overflow: hidden;
}
.neo-social-poll-res-row.is-mine {
	border-color: var(--neo-primary);
}
.neo-social-poll-res-fill {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	background: #eef1f3;
	transition: width .25s ease;
}
.neo-social-poll-res-row.is-mine .neo-social-poll-res-fill {
	background: #e4f4ee;
	background: color-mix(in srgb, var(--neo-primary) 15%, transparent);
}
.neo-social-poll-res-text {
	position: relative;
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	font-size: 14px;
	color: var(--neo-text, #222);
}
.neo-social-poll-res-pct {
	font-weight: 600;
}

/* ===== 1.4.2: «Δες τα αποτελέσματα» χωρίς ψήφο ===== */
.neo-social-poll-peek { color: var(--neo-primary); text-decoration: none; font-weight: 600; }
.neo-social-poll-peek:hover { text-decoration: underline; }
.neo-social-poll-peek-box { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--neo-border, #e3e6ea); }
.neo-social-poll-peek-box[hidden] { display: none; }

/* ===== Ψηφοφορία — σύνδεσμος εξαγωγής PDF ===== */
.neo-social-poll-pdf {
	color: var(--neo-primary);
	text-decoration: none;
	font-weight: 600;
}
.neo-social-poll-pdf:hover { text-decoration: underline; }



/* ==========================================================================
   Σκοτεινό θέμα (με Business Hub 4.51.0+). Χωρίς σκοτεινό δεν αλλάζει τίποτα.
   ========================================================================== */
/* --- από nssv-polls.css (6 κανόνες) --- */
html[data-neo-theme="dark"] .neo-social-poll-opt-rm { color: color-mix(in srgb, #b23b3b 55%, #fff); }
html[data-neo-theme="dark"] .neo-social-poll-choice { background: var(--neo-bg); }
html[data-neo-theme="dark"] .neo-social-poll-choice:hover { background: var(--neo-bg); }
html[data-neo-theme="dark"] .neo-social-poll-choice.is-static:hover { background: var(--neo-bg); }
html[data-neo-theme="dark"] .neo-social-poll-res-fill { background: var(--neo-bg-soft); }
html[data-neo-theme="dark"] .neo-social-poll-res-row.is-mine .neo-social-poll-res-fill { background: color-mix(in srgb, #e4f4ee 14%, var(--neo-bg)); }
