/* Floating Sidebar Styles */
#adfuz-floating-sidebar {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	transition: all 0.3s ease;
}

/* Expanded state */
#adfuz-floating-sidebar.expanded .adfuz-floating-sidebar-items {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

#adfuz-floating-sidebar.expanded .adfuz-floating-sidebar-toggle .dashicons {
	content: '<?php echo esc_attr( $expanded_icon ); ?>';
}

#adfuz-floating-sidebar.expanded .adfuz-floating-sidebar-toggle-label {
	display: none;
}

/* Collapsed state */
#adfuz-floating-sidebar.collapsed .adfuz-floating-sidebar-items {
	display: none;
}

#adfuz-floating-sidebar.collapsed .adfuz-floating-sidebar-toggle-label {
	display: inline;
}

/* Toggle Button */
.adfuz-floating-sidebar-toggle {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	color: #fff !important;
	text-decoration: none !important;
}

.adfuz-floating-sidebar-toggle:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.adfuz-floating-sidebar-toggle .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
	color: #fff;
	transition: all 0.3s ease;
}

.adfuz-floating-sidebar-toggle-label {
	font-size: 8px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 2px;
	color: #fff;
	text-align: center;
	line-height: 1.2;
	transition: all 0.3s ease;
}

/* Sidebar Items (same as before) */
.adfuz-floating-sidebar-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 8px;
	color: #fff !important;
	text-decoration: none !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	padding: 4px;
}

.adfuz-floating-sidebar-item:hover {
	transform: translateX(-4px) scale(1.05);
	box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.adfuz-floating-sidebar-item .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
	color: #fff;
}

.adfuz-floating-sidebar-label {
	font-size: 8px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 2px;
	color: #fff;
	text-align: center;
	line-height: 1.2;
	max-width: 50px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Responsive - hide on mobile */
@media (max-width: 768px) {
	#adfuz-floating-sidebar {
		display: none;
	}
}

/* Animation for entrance */
@keyframes adfuz-sidebar-slide-in {
	from {
		opacity: 0;
		transform: translateX(20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

#adfuz-floating-sidebar {
	animation: adfuz-sidebar-slide-in 0.5s ease forwards;
}
