/* Verbesserte Navigation Styles */
.mainMenu nav ol {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mainMenu nav ol li {
    position: relative;
}

.boxMenuLink {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.boxMenuLink:hover {
    background: var(--bg-hover);
    color: var(--accent);
    transform: translateY(-2px);
}

.boxMenuLink svg {
    transition: transform 0.3s ease;
}

.boxMenuLink:hover svg {
    transform: scale(1.1);
}

.mainMenu nav ol li.active .boxMenuLink {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
}

.mainMenu nav ol li.active .boxMenuLink svg {
    filter: brightness(0) invert(1);
}

.badgeUpdate {
    background: #ef4444;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Gruppierung */
.mainMenu nav ol li[style*="margin-left"] {
    position: relative;
}

.mainMenu nav ol li[style*="margin-left"]:before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: var(--border);
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .mainMenu nav ol {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .boxMenuLink {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .boxMenuLink span {
        display: none;
    }
    
    .boxMenuLink svg {
        width: 18px !important;
        height: 18px !important;
    }
}
