.sim-share-wrap {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.sim-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	color: #fff;
	background: #999;
	border: none;
	margin: 0;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.15s ease, opacity 0.15s ease;
	line-height: 0;
	flex: 0 0 auto;
}

/* Reset native <button> chrome — without this, some browsers (notably
   mobile Safari) render an unstyled button as a stretched system pill
   and hide the SVG inside it. */
button.sim-icon {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	font: inherit;
	padding: 0;
	border-radius: inherit;
	outline-offset: 2px;
}

.sim-icon:hover {
	transform: translateY(-2px);
	opacity: 0.92;
}

.sim-icon svg {
	display: block;
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* The "Share via Apps" icon is a stroked outline icon, not a filled one */
.sim-more svg {
	fill: none;
}

/* Sizes */
.sim-size-small .sim-icon { width: 32px; height: 32px; }
.sim-size-small .sim-icon svg { width: 16px; height: 16px; }

.sim-size-medium .sim-icon { width: 40px; height: 40px; }
.sim-size-medium .sim-icon svg { width: 20px; height: 20px; }

.sim-size-large .sim-icon { width: 52px; height: 52px; }
.sim-size-large .sim-icon svg { width: 26px; height: 26px; }

/* Shapes */
.sim-style-circle .sim-icon { border-radius: 50%; }
.sim-style-square .sim-icon { border-radius: 0; }
.sim-style-rounded .sim-icon { border-radius: 8px; }

/* Brand colours */
.sim-brand .sim-whatsapp { background: #25D366; }
.sim-brand .sim-telegram { background: #229ED9; }
.sim-brand .sim-email    { background: #6b6b6b; }
.sim-brand .sim-more     { background: #444444; }

/* Single theme colour mode */
.sim-mono .sim-icon { background: var(--sim-theme, #25D366); }

/* Floating bar */
.sim-floating-bar {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9999;
	background: rgba(255, 255, 255, 0.9);
	padding: 10px 8px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.sim-floating-bar .sim-share-wrap {
	flex-direction: column;
}

.sim-float-left  { left: 14px; }
.sim-float-right { right: 14px; }

@media (max-width: 600px) {
	.sim-floating-bar {
		top: auto;
		bottom: 16px;
		transform: none;
		left: 50%;
		transform: translateX(-50%);
		border-radius: 30px;
	}
	.sim-floating-bar .sim-share-wrap {
		flex-direction: row;
	}
}
