/* ═══════════════════════════════════════════════
   Ákotí Sidebar Navigation — CSS-First

   <aside class="akoti-sidebar">
     <div class="akoti-sb-header">
       <span class="akoti-sb-brand">Ákotí App</span>
       <button class="akoti-sb-toggle">☰</button>
     </div>
     <nav class="akoti-sb-nav">
       <a class="akoti-sb-item active" href="#">
         <span class="akoti-sb-icon">📊</span>
         <span class="akoti-sb-label">Dashboard</span>
       </a>
       <span class="akoti-sb-section">Finance</span>
       <a class="akoti-sb-item" href="#">
         <span class="akoti-sb-icon">📒</span>
         <span class="akoti-sb-label">Journal Entries</span>
         <span class="akoti-sb-badge">12</span>
       </a>
     </nav>
     <div class="akoti-sb-footer">
       <span class="akoti-sb-user">Adeyemi O.</span>
     </div>
   </aside>

   Collapsed: add .akoti-sb-collapsed to <aside>
   ═══════════════════════════════════════════════ */

.akoti-sidebar {
  width: 260px;
  height: 100vh;
  background: #1a2f5e;
  color: rgba(255,255,255,0.85);
  display: flex;
  flex-direction: column;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 13px;
  position: sticky;
  top: 0;
  flex-shrink: 0;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 2px 0 12px rgba(0,0,0,0.08);
}

/* Collapsed */
.akoti-sidebar.akoti-sb-collapsed { width: 56px; }
.akoti-sb-collapsed .akoti-sb-label,
.akoti-sb-collapsed .akoti-sb-badge,
.akoti-sb-collapsed .akoti-sb-section,
.akoti-sb-collapsed .akoti-sb-brand,
.akoti-sb-collapsed .akoti-sb-user { display: none; }

/* Header */
.akoti-sb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.akoti-sb-brand {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 16px;
  font-weight: 800;
  color: white;
  white-space: nowrap;
}

.akoti-sb-toggle {
  width: 28px;
  height: 28px;
  border: none;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.akoti-sb-toggle:hover { background: rgba(255,255,255,0.15); }

/* Navigation */
.akoti-sb-nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}

.akoti-sb-section {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.35);
  padding: 16px 10px 6px;
  white-space: nowrap;
}

.akoti-sb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px 4px 10px 4px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.2s;
  margin-bottom: 2px;
  white-space: nowrap;
  cursor: pointer;
}

.akoti-sb-item:hover {
  background: rgba(255,255,255,0.08);
  color: white;
  border-radius: 4px 10px 4px 10px;
}

.akoti-sb-item.active {
  background: rgba(168, 200, 232, 0.15);
  color: #a8c8e8;
  font-weight: 600;
  border-radius: 4px 10px 4px 10px;
  box-shadow: inset 3px 0 0 #a8c8e8;
}

.akoti-sb-icon {
  width: 20px;
  text-align: center;
  font-size: 15px;
  flex-shrink: 0;
}

.akoti-sb-label { flex: 1; }

.akoti-sb-badge {
  font-size: 10px;
  font-weight: 700;
  background: #e8b4b8;
  color: #1e1e24;
  padding: 2px 7px;
  border-radius: 8px;
  min-width: 18px;
  text-align: center;
}

/* Footer */
.akoti-sb-footer {
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.akoti-sb-user {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}

/* Mobile overlay */
@media (max-width: 768px) {
  .akoti-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s;
  }
  .akoti-sidebar.akoti-sb-open { transform: translateX(0); }
}
