/*
 * Deocracy Auto Webmaster — social proof element styles.
 *
 * These styles are intentionally minimal and theme-agnostic.
 * Override via your theme's style.css using the .deocracy-* class names.
 */

/* ── Wrapper ─────────────────────────────────────────────────────────────── */

.deocracy-social-proof {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid currentColor;
	opacity: 0.85;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	font-size: 0.875rem;
	line-height: 1.5;
}

/* ── AI disclosure ───────────────────────────────────────────────────────── */

.deocracy-ai-disclosure {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	background: rgba(99, 102, 241, 0.08);
	border-left: 3px solid #6366f1;
	border-radius: 0 4px 4px 0;
}

.deocracy-ai-disclosure__icon {
	flex-shrink: 0;
	font-size: 1rem;
	line-height: 1.5;
}

.deocracy-ai-disclosure__text a {
	color: inherit;
	text-decoration: underline;
}

/* ── E-E-A-T credentials ─────────────────────────────────────────────────── */

.deocracy-eeat {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.deocracy-eeat__avatar {
	border-radius: 50%;
	flex-shrink: 0;
	object-fit: cover;
}

.deocracy-eeat__info {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.deocracy-eeat__name {
	font-weight: 600;
}

.deocracy-eeat__title {
	opacity: 0.7;
}

.deocracy-eeat__credentials {
	margin: 0.25rem 0 0;
	padding-left: 1.25rem;
	list-style: disc;
}

.deocracy-eeat__credentials li {
	margin: 0;
}

/* ── Author bio ──────────────────────────────────────────────────────────── */

.deocracy-author-bio {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.deocracy-author-bio img {
	border-radius: 50%;
	flex-shrink: 0;
}

.deocracy-author-bio__body {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.deocracy-author-bio__name {
	font-weight: 600;
	text-decoration: none;
	color: inherit;
}

.deocracy-author-bio__name:hover {
	text-decoration: underline;
}

/* ── Trust badge ─────────────────────────────────────────────────────────── */

.deocracy-trust-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.35rem 0.75rem;
	background: rgba(34, 197, 94, 0.1);
	border: 1px solid rgba(34, 197, 94, 0.35);
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 500;
	width: fit-content;
}

.deocracy-trust-badge__icon {
	color: #16a34a;
	font-weight: 700;
}

/* ── Share counts ────────────────────────────────────────────────────────── */

.deocracy-share-counts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.deocracy-share-counts__item {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.3rem 0.65rem;
	border: 1px solid rgba(128, 128, 128, 0.25);
	border-radius: 4px;
	font-size: 0.8rem;
}

.deocracy-share-counts__platform {
	font-weight: 500;
}

.deocracy-share-counts__count {
	opacity: 0.8;
}

.deocracy-share-counts__count--pending {
	opacity: 0.4;
}

/* Platform accent colours */
.deocracy-share-counts__item--facebook { border-color: rgba(24,  119, 242, 0.4); }
.deocracy-share-counts__item--reddit   { border-color: rgba(255,  69,  0, 0.4); }
.deocracy-share-counts__item--linkedin { border-color: rgba(10,  102, 194, 0.4); }
.deocracy-share-counts__item--x        { border-color: rgba(29,  155, 240, 0.4); }

/* ── Reduced motion ──────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
	.deocracy-social-proof * {
		animation: none !important;
		transition: none !important;
	}
}
