/* Easy Social Share Button - Frontend Styles */

.esb-share-bar {
	--esb-accent: #3858e9;
	margin: 20px 0;
}

.esb-icon-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.esb-icon .esb-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	padding: 8px;
	border-radius: 50%;
	background: #eee;
	color: #444;
	transition: transform .15s ease, opacity .15s ease;
	line-height: 0;
}

.esb-icon .esb-link:hover {
	transform: translateY(-2px);
	opacity: 0.9;
}

.esb-icon-svg svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
	display: block;
}

/* Sizes */
.esb-size-small .esb-icon-svg svg { width: 14px; height: 14px; }
.esb-size-medium .esb-icon-svg svg { width: 18px; height: 18px; }
.esb-size-large .esb-icon-svg svg { width: 24px; height: 24px; }
.esb-size-small .esb-link { padding: 6px; }
.esb-size-large .esb-link { padding: 10px; }

/* Shapes */
.esb-shape-circle .esb-link { border-radius: 50%; }
.esb-shape-rounded .esb-link { border-radius: 8px; }
.esb-shape-square .esb-link { border-radius: 0; }

/* Labels */
.esb-with-labels .esb-link { border-radius: 6px; padding: 8px 12px; }
.esb-label { font-size: 13px; font-weight: 500; white-space: nowrap; }

/* Count bubble */
.esb-count {
	font-size: 11px;
	font-weight: 600;
	opacity: .85;
}

/* Style: colored (brand colors) */
.esb-style-colored .esb-icon-facebook .esb-link { background: #1877f2; color: #fff; }
.esb-style-colored .esb-icon-twitter .esb-link { background: #000; color: #fff; }
.esb-style-colored .esb-icon-linkedin .esb-link { background: #0a66c2; color: #fff; }
.esb-style-colored .esb-icon-whatsapp .esb-link { background: #25d366; color: #fff; }
.esb-style-colored .esb-icon-pinterest .esb-link { background: #e60023; color: #fff; }
.esb-style-colored .esb-icon-reddit .esb-link { background: #ff4500; color: #fff; }
.esb-style-colored .esb-icon-telegram .esb-link { background: #26a5e4; color: #fff; }
.esb-style-colored .esb-icon-tumblr .esb-link { background: #34526f; color: #fff; }
.esb-style-colored .esb-icon-pocket .esb-link { background: #ef4056; color: #fff; }
.esb-style-colored .esb-icon-email .esb-link { background: #6b7280; color: #fff; }
.esb-style-colored .esb-icon-copy_link .esb-link { background: #374151; color: #fff; }

/* Style: grayscale */
.esb-style-grayscale .esb-link { background: #e5e7eb; color: #374151; }
.esb-style-grayscale .esb-link:hover { background: #d1d5db; }

/* Style: outline / custom accent color */
.esb-style-outline .esb-link {
	background: transparent;
	color: var(--esb-accent);
	border: 2px solid var(--esb-accent);
}
.esb-style-outline .esb-link:hover {
	background: var(--esb-accent);
	color: #fff;
}

/* Floating sidebar */
.esb-floating {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9999;
	background: #fff;
	padding: 10px 6px;
	border-radius: 10px;
	box-shadow: 0 4px 16px rgba(0,0,0,.12);
}

.esb-floating .esb-icon-list {
	flex-direction: column;
}

.esb-floating--left { left: 14px; }
.esb-floating--right { right: 14px; }

.esb-floating--desktop { display: block; }
.esb-floating--mobile { display: none; }

@media (max-width: 782px) {
	.esb-floating--desktop { display: none; }
	.esb-floating--mobile { display: block; }
	.esb-floating--all { padding: 8px 4px; }
}

.esb-copied-toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	background: #111827;
	color: #fff;
	padding: 10px 18px;
	border-radius: 8px;
	font-size: 14px;
	z-index: 99999;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease;
}

.esb-copied-toast.esb-visible {
	opacity: 1;
}
