/* Navigation styles */
/* Base state: nav sits in normal flow until it intersects top, then JS adds --fixed modifier */
.employee-portal-nav {
	position: relative; /* normal flow initially */
	width: 100%;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 40;
    transition: box-shadow 180ms ease, background-color 220ms ease;
}

/* Placeholder to preserve layout height when nav becomes fixed */
.employee-portal-nav-spacer {
	display: none;
	width: 100%;
}

.employee-portal-nav--fixed {
	position: fixed;
	top: var(--employee-portal-nav-offset, 0px);
	left: 0;
	right: 0;
	margin: 0;
	background: rgba(0, 0, 0, 0.6);
}

/* Slightly more opaque and add shadow once fixed to reinforce state */
.employee-portal-nav--fixed.employee-portal-nav {
	background: rgba(0, 0, 0, 0.72);
	box-shadow: 0 4px 12px -2px rgba(0,0,0,0.6);
}

.employee-portal-nav__inner {
	max-width: 1704px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	padding: 16px clamp(1rem, 6vw, 3rem);
	overflow-x: auto;
	white-space: nowrap;
	scroll-behavior: smooth;
}

.employee-portal-nav__inner::-webkit-scrollbar {
	display: none;
}

#banesco-employee-portal-page .employee-portal-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	font-family: "Helvetica Neue LT Pro", "Helvetica Neue", Arial, sans-serif;
	font-size: 1rem;
	line-height: 1;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	background: none;
	border: none;
	transition: color 150ms ease;
	white-space: nowrap;
	outline: none;
}

#banesco-employee-portal-page .employee-portal-nav__link:hover,
#banesco-employee-portal-page .employee-portal-nav__link:focus-visible {
	color: rgba(255, 255, 255, 0.6);
}

#banesco-employee-portal-page .employee-portal-nav__link.is-active {
	color: #ffffff;
}

@media (max-width: 1200px) {
	.employee-portal-nav__inner {
		justify-content: flex-start;
		padding-inline: 1.5rem;
	}
}
