/* P4: Navigation & Drawer */
:root { --sol-header-h: 56px; }

.sol-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--sol-header-h);
  display: flex; align-items: center; padding: 0 16px;
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 900;
}
.sol-hamburger, .sol-close-btn {
  background: none; border: none; color: var(--fg-1); cursor: pointer;
  padding: 8px; display: flex; align-items: center; justify-content: center;
}
.sol-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--fg-1); margin-left: 12px; }
.sol-brand { font-weight: 700; font-size: 18px; }
.sol-cabinet-link { margin-left: auto; color: var(--fg-3); text-decoration: none; font-size: 14px; font-weight: 500; }
.sol-cabinet-link:hover { color: var(--fg-1); }

.sol-drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease; z-index: 998;
}
.sol-drawer-overlay.open { opacity: 1; pointer-events: auto; }

.sol-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: 280px;
  background: #0f0f13; border-right: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999; display: flex; flex-direction: column;
}
.sol-drawer.open { transform: translateX(0); }
.sol-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.sol-nav-menu { flex: 1; padding: 16px 8px; display: flex; flex-direction: column; gap: 4px; }
.sol-nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 8px; color: var(--fg-3); text-decoration: none; font-size: 15px; font-weight: 500; transition: all 0.2s ease; }
.sol-nav-item:hover { background: rgba(255, 255, 255, 0.05); color: var(--fg-1); }
.sol-nav-item.active { background: rgba(124, 92, 255, 0.15); color: var(--accent); }
.sol-nav-item svg { opacity: 0.7; }
.sol-nav-item.active svg { opacity: 1; }
.text-danger { color: #ef4444 !important; }
.text-danger:hover { background: rgba(239, 68, 68, 0.1); }
.sol-drawer-footer { padding: 16px 8px; border-top: 1px solid rgba(255, 255, 255, 0.08); }

body { padding-top: var(--sol-header-h) !important; }

@media (min-width: 768px) {
  .sol-hamburger { display: none; }
  .sol-drawer, .sol-drawer-overlay { display: none; }
  .sol-header { justify-content: flex-start; gap: 24px; }
  .sol-cabinet-link { margin-left: 0; }
}
