/* SOCIAL */
/* Contenitore principale */
.custom-share-container {
	display: flex;
	align-items: center;
	gap: 6px; /* Spazio tra i pulsanti */
	margin: 20px 0;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.social-storie .custom-share-container{
	justify-content: flex-start;
}

/* Stile base per tutti i pulsanti */
.share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #98A2B3; /* Colore Bordo */
	color: #98A2B3;           /* Colore Icone/Testo */
	background: transparent;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none !important;
	box-sizing: border-box;
	line-height: 1;
}

/* Hover effect */
.share-btn:hover {
	background-color: #f3f9ff; /* Sfondo leggerissimo al passaggio */
	color: #101828;
	border-color: #101828;
}

.share-btn:focus-visible {
	outline: 2px solid #101828;
	outline-offset: 2px;
}

/* --- STILE SPECIFICO: Copia Link --- */
.share-copy {
	height: 48px;
	padding: 0 24px;
	border-radius: 12px; /* Pill shape */
	font-weight: 700;
	font-family: inherit;
	font-size: 16px;
	position: relative; /* Per il tooltip */
}

.share-copy .share-icon {
	display: inline-flex;
	align-items: center;
}

.share-copy .share-icon svg {
	width: 20px;
	height: 20px;
	margin-right: 10px;
	position: relative;
	top: 2px;
}

/* --- STILE SPECIFICO: Social Icons (Quadrati arrotondati) --- */
.share-social {
	width: 32px;
	height: 32px;
	border-radius: 12px; /* Angoli arrotondati come screenshot */
	font-size: 0; /* Nasconde eventuale testo */
}

.share-social svg {
	width: 16px;
	height: 16px;
	display: block;
}

/* --- TOOLTIP "COPIATO!" --- */
.copy-tooltip {
	position: absolute;
	background: #333;
	color: #fff;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 12px;
	top: -35px;
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
}

/* Quando la classe 'copied' viene aggiunta via JS */
.share-copy.copied .copy-tooltip {
	opacity: 1;
}
.share-copy.copied {
	background-color: #e6f7ff;
	border-color: #98A2B3;
}
/* END SOCIAL */
