/* Premium modern floating dock styling for Sticky Actions */

.sab-sticky-container {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translate3d(-50%, 0, 0);
	z-index: 999999;
	width: auto;
	max-width: 90%;
	pointer-events: none;
	font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	will-change: transform;
}

.sab-sticky-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(15, 23, 42, 0.35); /* Super-dark premium translucent background */
	backdrop-filter: blur(24px) saturate(190%);
	-webkit-backdrop-filter: blur(24px) saturate(190%);
	padding: 6px 8px;
	border-radius: 100px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 
		0 20px 40px rgba(0, 0, 0, 0.15),
		0 1px 3px rgba(255, 255, 255, 0.05) inset,
		0 0 80px rgba(79, 70, 229, 0.1); /* Subtle glowing background ambiance */
	pointer-events: auto;
	animation: sabSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Base button style */
.sab-btn {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	padding: 10px 24px;
	border-radius: 100px;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: -0.01em;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	overflow: hidden;
}

.sab-btn-inner {
	display: flex;
	align-items: center;
	gap: 8px;
	z-index: 2;
}

.sab-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sab-icon svg {
	width: 100%;
	height: 100%;
}

/* WhatsApp Button */
.sab-whatsapp {
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	color: #ffffff !important;
	box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.sab-whatsapp::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.sab-whatsapp:hover {
	transform: translate3d(0, -3px, 0) scale(1.02);
	box-shadow: 
		0 8px 24px rgba(16, 185, 129, 0.4),
		0 0 0 4px rgba(16, 185, 129, 0.15);
}

.sab-whatsapp:hover ::before {
	opacity: 1;
}

.sab-whatsapp:hover .sab-icon {
	transform: rotate(15deg) scale(1.1);
}

/* Register Button */
.sab-register {
	background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
	color: #ffffff !important;
	box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
}

.sab-register::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.sab-register:hover {
	transform: translate3d(0, -3px, 0) scale(1.02);
	box-shadow: 
		0 8px 24px rgba(99, 102, 241, 0.4),
		0 0 0 4px rgba(99, 102, 241, 0.15);
}

.sab-register:hover ::before {
	opacity: 1;
}

.sab-register:hover .sab-icon {
	transform: translate3d(2px, 0, 0) scale(1.1);
}

/* Pulse Notification Dot on WhatsApp */
.sab-pulse {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 6px;
	height: 6px;
	background-color: #f43f5e;
	border-radius: 50%;
	border: 1px solid #ffffff;
}

.sab-pulse::after {
	content: '';
	position: absolute;
	top: -1px;
	left: -1px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.6);
	animation: sabPulse 2s infinite;
}

/* Animations */
@keyframes sabSlideUp {
	from {
		opacity: 0;
		transform: translate3d(-50%, 25px, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(-50%, 0, 0);
	}
}

@keyframes sabPulse {
	0% {
		transform: scale(0.9);
		opacity: 0.8;
	}
	100% {
		transform: scale(2.8);
		opacity: 0;
	}
}

/* Responsiveness */
@media (max-width: 768px) {
	.sab-sticky-container {
		bottom: 20px;
		width: 100%;
		max-width: calc(100% - 32px);
	}
	.sab-sticky-bar {
		justify-content: space-between;
		width: 100%;
		padding: 6px;
		gap: 8px;
		box-sizing: border-box;
	}
	.sab-btn {
		flex: 1;
		justify-content: center;
		padding: 12px 10px;
		font-size: 14px;
	}
	.sab-text {
		display: none;
	}
	.sab-btn-inner {
		gap: 6px;
	}
	.sab-whatsapp::after {
		content: 'WhatsApp';
		color: #fff;
		font-size: 14px;
		font-weight: 600;
	}
	.sab-register::after {
		content: 'Register';
		color: #fff;
		font-size: 14px;
		font-weight: 600;
	}
}
