/**
 * Public CSS for Floating Action Button Customizer
 */

#fab-button-link {
	position: fixed;
	z-index: 999999;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-decoration: none !important;
	box-sizing: border-box;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
	outline: none;
	cursor: pointer;
}

/* Align text and icon */
#fab-button-link .fab-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: inherit;
	width: auto;
	height: auto;
}

#fab-button-link .fab-custom-svg svg {
	width: 1.25em;
	height: 1.25em;
	fill: currentColor;
	display: block;
}

#fab-button-link .fab-text {
	font-weight: 600;
	white-space: nowrap;
	line-height: normal;
}

/* Premium Shadows */
.fab-shadow {
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
}

.fab-shadow:hover {
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.15) !important;
}

/* Animation: Pulse Glow */
.fab-anim-pulse {
	animation: fabPulse 2s infinite;
}

@keyframes fabPulse {
	0% {
		box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.6), 0 10px 25px -5px rgba(0, 0, 0, 0.15);
	}
	70% {
		box-shadow: 0 0 0 15px rgba(99, 102, 241, 0), 0 10px 25px -5px rgba(0, 0, 0, 0.15);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(99, 102, 241, 0), 0 10px 25px -5px rgba(0, 0, 0, 0.15);
	}
}

/* Animation: Floating Bounce */
.fab-anim-float {
	animation: fabFloat 3.5s ease-in-out infinite;
}

@keyframes fabFloat {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}

/* Animation: Bounce on Hover */
.fab-anim-bounce:hover {
	animation: fabBounce 0.6s ease-in-out;
}

@keyframes fabBounce {
	0%, 100% {
		transform: translateY(0);
	}
	30% {
		transform: translateY(-8px);
	}
	50% {
		transform: translateY(3px);
	}
	70% {
		transform: translateY(-4px);
	}
}

/* Animation: Scale Up on Hover */
.fab-anim-scale {
	transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.fab-anim-scale:hover {
	transform: scale(1.08);
}
