.charity-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	position: relative;
}

/* Scoped through .charity-share so Elementor's Global Kit button styling
   (`.elementor-kit-N button`, specificity 0,1,1) can't repaint these — the
   widget's own colour controls should win, and the copy/share buttons are
   real <button> elements. */
.charity-share .charity-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background-color: #fff;
	color: #123c2e;
	cursor: pointer;
	text-decoration: none;
	line-height: 1;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.charity-share .charity-share__btn:hover {
	text-decoration: none;
}

/* With labels on, the button sizes to its content instead of being a square. */
.charity-share .charity-share__btn:has(.charity-share__label) {
	width: auto;
	height: auto;
	padding: 10px 16px;
}

.charity-share__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}
.charity-share__icon svg {
	width: 18px;
	height: 18px;
	display: block;
	fill: currentColor;
}
.charity-share__label {
	white-space: nowrap;
}

/* "Link copied!" confirmation — only visible once JS adds .is-visible. */
.charity-share__toast {
	position: absolute;
	bottom: 100%;
	left: 0;
	margin-bottom: 8px;
	padding: 6px 10px;
	border-radius: 6px;
	background: #111827;
	color: #fff;
	font-size: 12px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
	pointer-events: none;
}
.charity-share__toast.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
