diff --git a/admin.php b/admin.php index dcf5199..a565cfc 100644 --- a/admin.php +++ b/admin.php @@ -15,6 +15,51 @@ render_flash($flash); ?>
+ +
+ +
+
@@ -183,6 +228,10 @@ render_flash($flash);
+ +
+
+
diff --git a/assets/css/custom.css b/assets/css/custom.css index dd3fafc..b45d7c6 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -907,3 +907,44 @@ textarea.form-control { margin-top: 0.2rem; color: var(--muted); } + + +/* Admin Sidebar */ +.admin-sidebar { + background: var(--surface); + border: 1px solid var(--border); + border-radius: var(--radius-lg); + box-shadow: var(--shadow); + padding: 1.25rem; +} +.sidebar-nav { + display: flex; + flex-direction: column; + gap: 0.35rem; +} +.sidebar-link { + display: flex; + align-items: center; + gap: 0.85rem; + padding: 0.65rem 1rem; + border-radius: var(--radius-md); + color: var(--muted); + text-decoration: none; + font-weight: 500; + transition: all 0.2s ease; +} +.sidebar-link svg { + flex-shrink: 0; +} +.sidebar-link:hover, .sidebar-link.active { + background: #eef2f7; + color: var(--primary); +} +.sidebar-label { + font-size: 0.75rem; + text-transform: uppercase; + letter-spacing: 0.05em; + margin-top: 1rem; + margin-bottom: 0.5rem; + padding: 0 1rem; +}