/*
  Legacy layout styles (deprecated).
  These rules are kept for backward compatibility but should only apply
  when explicitly opting in via body.legacy-layout.
*/
body.legacy-layout {
  display: flex;
  height: 100vh;
}

body.legacy-layout .sidebar {
  width: 280px;
  flex-shrink: 0;
  background-color: #f8f9fa;
  padding: 1rem;
  overflow-y: auto;
  position: relative;
  z-index: 1000;
}

body.legacy-layout .main-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1rem;
}

body.legacy-layout .sidebar .nav-link {
  color: #333;
}

body.legacy-layout .sidebar .nav-link.active,
body.legacy-layout .sidebar .nav-link:hover {
  color: #0d6efd;
  background-color: #e9ecef;
}

body.legacy-layout .sidebar .nav-link .bi {
  margin-right: 0.5rem;
}

@media (max-width: 767.98px) {
  body.legacy-layout {
    padding-top: 56px;
  }
}
