/**
 * YGT Reactions — self-contained styles (no external CSS-var dependency).
 * Keeps the legacy .ygt-gc-reactions-* class names so the look matches what
 * readers saw before.
 */
.ygt-gc-reactions-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 10px 15px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	margin: 24px 0;
	font-family: inherit;
}

.ygt-gc-reactions-label {
	font-size: 12px;
	font-weight: 500;
	color: #6b7280;
	flex-shrink: 0;
}

.ygt-gc-reactions-buttons {
	display: flex;
	gap: 2px;
	flex-wrap: wrap;
}

.ygt-gc-reaction-btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	padding: 4px 8px;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 6px;
	cursor: pointer;
	transition: background .15s ease, transform .15s ease, border-color .15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.ygt-gc-reaction-btn:hover {
	background: #f3f4f6;
	transform: scale(1.05);
}

.ygt-gc-reaction-btn.active {
	background: #fef3c7;
	border-color: #f59e0b;
}

.ygt-gc-reaction-btn[disabled] {
	opacity: .6;
	cursor: default;
}

.ygt-gc-reaction-icon {
	font-size: 18px;
	line-height: 1;
	transition: transform .2s ease;
}

.ygt-gc-reaction-btn:hover .ygt-gc-reaction-icon {
	transform: scale(1.1);
}

.ygt-gc-reaction-count {
	font-size: 10px;
	font-weight: 600;
	color: #6b7280;
	min-height: 12px;
}

.ygt-gc-reactions-total {
	margin-left: auto;
	font-size: 11px;
	color: #9ca3af;
	flex-shrink: 0;
}

/* ===== "Share this article" bar (orange) — separate bar under the reactions ===== */
.ygt-gc-share-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
	border: 1px solid #FDBA74;
	border-radius: 8px;
	margin: 10px 0 24px;
	font-family: inherit;
}

.ygt-gc-share-label {
	font-size: 12px;
	font-weight: 600;
	color: #9A3412;
	flex-shrink: 0;
}

.ygt-gc-share-label::before {
	content: '\01F381 ';
}

.ygt-gc-share-buttons {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
}

.ygt-gc-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: #fff;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	-webkit-appearance: none;
	appearance: none;
}

.ygt-gc-share-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.ygt-gc-share-btn svg {
	width: 16px;
	height: 16px;
}

.ygt-gc-share-facebook { color: #1877F2; }
.ygt-gc-share-facebook:hover { background: #1877F2; color: #fff; }
.ygt-gc-share-messenger { color: #0078FF; }
.ygt-gc-share-messenger:hover { background: #0078FF; color: #fff; }
.ygt-gc-share-whatsapp { color: #25D366; }
.ygt-gc-share-whatsapp:hover { background: #25D366; color: #fff; }
.ygt-gc-share-twitter { color: #111827; }
.ygt-gc-share-twitter:hover { background: #000; color: #fff; }
.ygt-gc-share-sms { color: #F97316; }
.ygt-gc-share-sms:hover { background: #F97316; color: #fff; }
.ygt-gc-share-copy { color: #6b7280; }
.ygt-gc-share-copy:hover { background: #6b7280; color: #fff; }
.ygt-gc-share-copy.copied { background: #10b981; color: #fff; }

.ygt-gc-share-url {
	flex: 1;
	min-width: 120px;
	padding: 6px 10px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	font-size: 11px;
	color: #6b7280;
	font-family: monospace;
}

@media (max-width: 600px) {
	.ygt-gc-share-url {
		flex-basis: 100%;
		order: 3;
	}
}
