/* Menu vertical de navigation principal */

:root {
  --app-nav-width: 64px;
}

.app-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: var(--app-nav-width);
  flex-shrink: 0;
  background: #0f172a;
  border-right: 1px solid #334155;
  z-index: 1300;
}

.app-nav__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  flex-shrink: 0;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #6366f1;
  text-decoration: none;
  border-bottom: 1px solid #334155;
}

.app-nav__links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.65rem 0.4rem;
  flex: 1;
}

.app-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 52px;
  padding: 0.4rem 0.25rem;
  font-family: inherit;
  font-size: 0.5625rem;
  font-weight: 600;
  line-height: 1.2;
  color: #64748b;
  text-decoration: none;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.app-nav__link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.app-nav__link:hover {
  color: #cbd5e1;
  background: #1e293b;
}

.app-nav__link.is-active {
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.15);
}

.app-nav__link--danger {
  color: #f87171;
}

.app-nav__link--danger:hover {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
}

.app-nav__footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.65rem 0.4rem;
  border-top: 1px solid #334155;
}

.app-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
