/* ============================================
   Pretpot Smart Bottom Nav Bar Styles
   ============================================ */

/* Wrapper */
.pretpot-bottom-nav-wrapper {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 9999;
	transition: transform 0.3s ease, opacity 0.3s ease;
	pointer-events: none;
}

.pretpot-bottom-nav-wrapper.pill {
	display: flex;
	justify-content: center;
	padding: 0 20px;
}

.pretpot-bottom-nav-wrapper.full {
	bottom: 0 !important;
}

/* iOS Safe Area Support */
.pretpot-bottom-nav-wrapper {
	padding-bottom: env(safe-area-inset-bottom);
}

/* Hide/Show States */
.pretpot-bottom-nav-wrapper.hidden {
	transform: translateY(150%);
	opacity: 0;
}

.pretpot-bottom-nav-wrapper.visible {
	transform: translateY(0);
	opacity: 1;
}

/* Visibility Controls */
.pretpot-bottom-nav-wrapper.mobile-only {
	display: none;
}

@media (max-width: 768px) {
	.pretpot-bottom-nav-wrapper.mobile-only {
		display: flex;
	}
	.pretpot-bottom-nav-wrapper.desktop-only {
		display: none !important;
	}
}

/* Navigation Container */
.pretpot-smart-bottom-nav {
	display: flex;
	align-items: center;
	justify-content: space-around;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(0, 0, 0, 0.1);
	box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
	pointer-events: auto;
	width: 100%;
	max-width: 100%;
	transition: all 0.3s ease;
}

.pretpot-bottom-nav-wrapper.pill .pretpot-smart-bottom-nav {
	max-width: 600px;
	border-radius: 50px;
}

.pretpot-bottom-nav-wrapper.full .pretpot-smart-bottom-nav {
	border-radius: 0;
	border-left: none;
	border-right: none;
	border-bottom: none;
}

/* Glass Blur Effect */
.pretpot-smart-bottom-nav.glass-blur {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

/* Navigation Items */
.pretpot-nav-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 1;
	text-decoration: none;
	color: #666;
	transition: all 0.3s ease;
	cursor: pointer;
	padding: 8px 12px;
	border-radius: 12px;
	position: relative;
}

.pretpot-nav-item:hover {
	color: #000;
	background-color: rgba(0, 0, 0, 0.05);
}

.pretpot-nav-item.active {
	color: #fff;
	background-color: #007bff;
}

/* Icon */
.pretpot-nav-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	line-height: 1;
	transition: all 0.3s ease;
}

.pretpot-nav-icon i {
	transition: transform 0.3s ease;
}

.pretpot-nav-item:hover .pretpot-nav-icon i,
.pretpot-nav-item:hover .pretpot-nav-icon svg {
	transform: scale(1.1);
}

.pretpot-nav-icon svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
	transition: all 0.3s ease;
}

/* Label */
.pretpot-nav-label {
	font-size: 11px;
	margin-top: 4px;
	line-height: 1.2;
	text-align: center;
	transition: all 0.3s ease;
	white-space: nowrap;
}

/* Active State Animation */
.pretpot-nav-item.active .pretpot-nav-icon {
	animation: navBounce 0.5s ease;
}

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

/* Mobile Optimization */
@media (max-width: 480px) {
	.pretpot-bottom-nav-wrapper.pill {
		padding: 0 10px;
	}
	
	.pretpot-nav-item {
		padding: 6px 8px;
	}
	
	.pretpot-nav-icon {
		font-size: 20px;
	}
	
	.pretpot-nav-icon svg {
		width: 20px;
		height: 20px;
	}
	
	.pretpot-nav-label {
		font-size: 10px;
	}
}

/* Loading State */
.pretpot-bottom-nav-wrapper.loading {
	opacity: 0.6;
	pointer-events: none;
}

/* Print Hidden */
@media print {
	.pretpot-bottom-nav-wrapper {
		display: none !important;
	}
}