```
#### SidebarManager
All sidebar toggle behavior is handled by the `SidebarManager` class (`scripts/components/sidebar.js`). It is initialized automatically on every page — no inline scripts are needed.
**Desktop behavior (>= 992px):**
- Clicking the hamburger button toggles between full sidebar (280px) and mini sidebar (70px)
- State is saved to `localStorage` and restored on page load
- The `sidebar-collapsed` class is added to `#admin-wrapper`
**Mobile behavior (< 992px):**
- Sidebar is hidden off-screen by default (`transform: translateX(-100%)`)
- Clicking the hamburger slides the sidebar in as an overlay with a backdrop
- Closing methods: backdrop click, Escape key, or hamburger button
- Background scroll is locked while the sidebar is open
**Backdrop element:**
Each page should include a `.sidebar-backdrop` div inside `#admin-wrapper`. If missing, `SidebarManager` creates one automatically:
```html
```
### Header
The header contains the brand, hamburger toggle, search, and user controls.
```html
```
The hamburger button is placed right after the brand in the HTML flow. On desktop (>= 992px), it is absolutely positioned at the right edge of the sidebar. On mobile, it stays in normal flow within the navbar. The `data-sidebar-toggle` attribute is what `SidebarManager` listens for — no other click handlers should be attached to this button.
### Header Dropdowns
Notification and profile dropdown menus use `position: absolute` to overlay properly on all screen sizes. Bootstrap's default dropdown positioning is overridden in `components/_navigation.scss` to prevent dropdowns from pushing page content.
### Cards
Standard Bootstrap 5 card component with custom styling.
```html
Card Title
```
**Notes:**
- Cards have `border-width: 0` and use `box-shadow` for elevation
- On mobile (< 992px), cards use compact padding and reduced margins for better use of screen space
- Card headers and footers also adapt with smaller font sizes and tighter spacing on mobile
---
## Navigation Components
### Breadcrumbs
```html
```
### Tabs
```html
Content 1
Content 2
```
### Pagination
```html
```
---
## Form Components
### Text Inputs
```html
We'll never share your email.
```
### Select
```html
```
### Checkboxes & Radios
```html
```
### Switch
```html
```
---
## Data Display Components
### Tables
```html