/*
 * Share bar of the blog single (EO_Share_Bar). Ohio styles the rail and the icons; this only adds the «Copiado»
 * confirmation of the copy link and the hidden live region. La órbita light: navy #023c70.
 */

.eo-share .network.copy {
	position: relative;
}

.eo-share__done {
	position: absolute;
	top: 50%;
	left: calc(100% + 10px);
	padding: 4px 10px;
	border-radius: 999px;
	background: #023c70;
	color: #ffffff;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transform: translate(-4px, -50%);
	transition: opacity 0.2s, transform 0.2s;
}

.eo-share .network.copy.is-copied .eo-share__done {
	opacity: 1;
	transform: translate(0, -50%);
}

/* Phone: the bar is a horizontal row; the confirmation sits above the icon so it never leaves the screen. */
@media (max-width: 1023px) {
	.eo-share__done {
		top: auto;
		bottom: calc(100% + 8px);
		left: 50%;
		transform: translate(-50%, 4px);
	}

	.eo-share .network.copy.is-copied .eo-share__done {
		transform: translate(-50%, 0);
	}
}

.eo-share__status {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
	.eo-share__done {
		transition: none;
	}
}
