/* Map Navigation Modal Styles */
.navigation-modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	justify-content: center;
	align-items: center;
	animation: fadeIn 0.3s ease;
}

.navigation-modal-content {
	background-color: #fff;
	border-radius: 10px;
	padding: 0;
	max-width: 400px;
	width: 90%;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	animation: slideUp 0.3s ease;
}

.navigation-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	border-bottom: 1px solid #e0e0e0;
}

.navigation-modal-header h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: #222;
}

.navigation-modal-close {
	background: none;
	border: none;
	font-size: 28px;
	color: #999;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	line-height: 30px;
	transition: color 0.3s ease;
}

.navigation-modal-close:hover {
	color: #ec1d25;
}

.navigation-modal-body {
	padding: 20px;
}

.navigation-modal-body p {
	margin: 0 0 15px 0;
	color: #666;
	font-size: 14px;
}

.navigation-apps {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.nav-app-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px 15px;
	background-color: #f5f5f5;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	color: #222;
}

.nav-app-btn:hover {
	background-color: #ec1d25;
	border-color: #ec1d25;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(236, 29, 37, 0.3);
}

.nav-app-btn i {
	font-size: 24px;
	margin-bottom: 8px;
}

.nav-app-btn span {
	font-size: 14px;
	font-weight: 500;
}

/* Map Navigation Overlay */
.map-navigation-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: rgba(0, 0, 0, 0.2);
	pointer-events: auto;
	opacity: 0.8;
	transition: opacity 0.3s ease, background-color 0.3s ease;
}

.map-navigation-overlay:active {
	background-color: rgba(0, 0, 0, 0.4);
	opacity: 1;
}

.map:hover .map-navigation-overlay {
	opacity: 0.9;
	background-color: rgba(0, 0, 0, 0.3);
}

.map-navigation-hint {
	background-color: rgba(236, 29, 37, 0.9);
	color: #fff;
	padding: 12px 20px;
	border-radius: 25px;
	font-size: 14px;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.map-navigation-hint i {
	font-size: 16px;
}

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideUp {
	from {
		transform: translateY(50px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* Mobile specific styles */
@media (max-width: 768px) {
	.navigation-modal-content {
		max-width: 90%;
	}
	
	.navigation-apps {
		grid-template-columns: 1fr;
	}
	
	.nav-app-btn {
		padding: 15px;
		flex-direction: row;
		justify-content: flex-start;
		gap: 15px;
	}
	
	.nav-app-btn i {
		margin-bottom: 0;
		font-size: 20px;
	}
	
	.map-navigation-overlay {
		opacity: 0.9 !important;
		background-color: rgba(0, 0, 0, 0.3) !important;
	}
	
	.map-navigation-hint {
		font-size: 16px;
		padding: 15px 25px;
	}
}

