/**
 * ViGo Nexus - Floating Trigger Button
 * Handles floating FAB, unread badge, and icon display.
 */

.vn-widget-root {
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
	box-sizing: border-box;
}

.vn-widget-root * {
	box-sizing: border-box;
}

/* Floating FAB Button */
.vn-floating-trigger {
	position: fixed;
	z-index: 999990;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: 0 12px 30px rgba(26, 86, 219, 0.28), 0 4px 10px rgba(0, 0, 0, 0.06), inset 0 1.5px 1.5px rgba(255, 255, 255, 1);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: 1px solid rgba(255, 255, 255, 0.85);
	transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
	-webkit-tap-highlight-color: transparent;
}

.vn-floating-trigger:active {
	transform: scale(0.9);
}

.vn-icon-img {
	width: 50px;
	height: 50px;
	object-fit: contain;
	border-radius: 50%;
}

.vn-default-svg-icon {
	width: 40px;
	height: 40px;
	fill: #25D366;
}

/* Unread Badge */
.vn-unread-badge {
	position: absolute;
	top: -1px;
	right: -1px;
	width: 15px;
	height: 15px;
	background: #ff3b30;
	border: 2.5px solid #ffffff;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(255, 59, 48, 0.5);
	animation: vnBadgePulse 2s infinite;
}