.swi-container {
	position: fixed;
	z-index: 999999;
	display: block;
	line-height: 0;
}

.swi-icon-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
	transition: transform 0.2s ease;
}

.swi-icon-link:hover {
	transform: scale(1.08);
}

/* The visual shape (background color + border-radius) lives here, in CSS,
   so any color works with any shape without needing a new SVG. */
.swi-icon-shape {
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	transition: box-shadow 0.2s ease;
	animation: swi-pulse 2.4s infinite;
}

.swi-icon-link:hover .swi-icon-shape {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.swi-shape-circle {
	border-radius: 50%;
}

.swi-shape-rounded {
	border-radius: 22%;
}

.swi-shape-square {
	border-radius: 0;
}

.swi-icon-shape svg {
	display: block;
}

.swi-tooltip {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	white-space: nowrap;
	background: #1f2937;
	color: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 13px;
	padding: 6px 12px;
	border-radius: 4px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
	pointer-events: none;
}

.swi-icon-link:hover .swi-tooltip {
	opacity: 1;
	visibility: visible;
}

.swi-tooltip-right {
	right: calc(100% + 12px);
}

.swi-tooltip-left {
	left: calc(100% + 12px);
}

@keyframes swi-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.28), 0 4px 14px rgba(0, 0, 0, 0.25);
	}
	70% {
		box-shadow: 0 0 0 12px rgba(0, 0, 0, 0), 0 4px 14px rgba(0, 0, 0, 0.25);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0), 0 4px 14px rgba(0, 0, 0, 0.25);
	}
}

@media (max-width: 480px) {
	.swi-tooltip {
		display: none;
	}
}
