/* =========================================
   LIQUID GLASS HEADER INDICATOR (Static/Slide)
   ========================================= */

#nav-list {
    position: relative;
    /* Container must be relative */
    display: flex;
    align-items: center;
}

/* Ensure all links sit ABOVE the glass indicator */
#nav-list>li {
    position: relative;
    z-index: 2;
}

#nav-list>li>a:not(.pfp-trigger) {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

#nav-list>li>a.active,
#nav-list>li>a:not(.pfp-trigger):hover {
    color: #ffffff;
}

/* The Glass Pill Indicator */
.nav-indicator {
    position: absolute;
    top: 50%;
    /* Center it vertically in the nav */
    left: 0;
    height: 38px;
    /* Fixed height for a sleek pill look */
    margin-top: -19px;
    /* Offset half the height to perfectly center */
    background: rgba(255, 255, 255, 0.1);
    /* Subtle white glass */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 2px solid #60a5fa;
    /* Your blue accent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    z-index: 1;
    /* Sits behind the text */
    pointer-events: none;
    opacity: 0;
}

/* =========================================
   HEADER PROFILE PICTURE (.nav-pfp)
   ========================================= */
.nav-pfp {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    /* Prevents flexbox from squeezing or expanding it */
    transition: all 0.3s ease;
    display: block;
}

/* Optional: Add a nice hover effect when hovering over the profile button */
.pfp-trigger:hover .nav-pfp {
    border-color: #60a5fa;
    transform: scale(1.05);
}

/* Fix vertical alignment of the trigger button */
.pfp-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    /* Space between image and the little down arrow */
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
}

.pfp-trigger:hover {
    color: white;
}