class CustomSidebar extends HTMLElement { connectedCallback() { this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = `
`; // Initialize Feather Icons within shadow DOM setTimeout(() => { if (typeof feather !== 'undefined') { feather.replace(); } }, 100); } } customElements.define('custom-sidebar', CustomSidebar);