/* assets/css/style.css */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: #f8f9fa;
}

#wrapper {
  min-height: 100vh;
}

#sidebar {
  width: 220px;
  min-height: 100vh;
  transition: width .2s ease;
}

#sidebar.collapsed {
  width: 60px;
  display: none;
}

#page-content {
  transition: margin-left .2s ease;
}

/* @media (max-width: 767px) {
  #sidebar {
    position: fixed;
    z-index: 1030;
    transform: translateX(-100%);
  }
  #sidebar.show {
    transform: translateX(0);
  }
} */

/* assets/css/style.css - add or replace the following */

@media (max-width: 767px) {
  #sidebar {
    position: fixed;
    z-index: 1030;
    transform: translateX(-100%);
    width: 220px;
    transition: transform .2s ease;
    box-shadow: 0 0 20px rgba(0,0,0,0.08);
  }

  /* When sidebar has .show it slides in */
  #sidebar.show {
    transform: translateX(0);
  }

  /* overlay to dim page when sidebar open */
  #page-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1020;
  }
  #page-overlay.show {
    display: block;
  }

  /* hide top navbar when sidebar is open (fallback) */
  body.sidebar-open nav.navbar {
    display: none !important;
  }
}

