
/* --- Maintenance Flag Styles --- */
.nav-item-container {
    position: relative;
    display: inline-block;
}

.maintenance-flag {
    position: absolute;
    top: -12px;
    right: -15px;
    background: linear-gradient(45deg, #ffc107, #ff9800); /* Warning Gradient */
    color: #000;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    pointer-events: none; /* Let clicks pass through to the link */
    animation: floatBadge 3s ease-in-out infinite;
    z-index: 10;
}

/* Small triangle to make it look like a speech bubble/flag */
.maintenance-flag::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px 4px 0;
    border-style: solid;
    border-color: #ff9800 transparent transparent transparent;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); } /* Bobbing effect */
}