* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f9fafb;
    color: #1f2937;
    line-height: 1.6;
  }
  
  /* Layout */
  .layout {
    display: flex;
    min-height: 100vh;
  }
  
  /* Sidebar */
.sidebar {
    width: 260px;
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    padding: 16px 24px;
    position: fixed;
    height: 100vh;
    z-index: 100;
  }
  
  /* Header */
  .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .profile-inline {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .profile-inline img {
    width: 36px;
    border-radius: 50%;
  }
  
  .menu-btn {
    display: none;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  /* Nav */
  nav {
    margin-top: 32px;
  }
  
  nav a {
    display: block;
    padding: 10px 0;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
  }
  
  nav a:hover,
  nav a.active {
    color: #10b981;
  }
  
  /* Content */
  .content {
    margin-left: 260px;
    padding: 48px;
  }
  /* Update these specific parts in your media query */
@media (max-width: 768px) {
    .sidebar {
      position: fixed;
      width: 100%;
      height: auto;
      padding: 12px 16px;
      border-right: none;
      border-bottom: 1px solid #e5e7eb;
      background: #fff; /* Ensure it's not transparent */
    }
  
    .menu-btn {
      display: block;
    }
  
    /* Target the wrapper instead of 'nav' */
    .menu-wrapper {
      display: none; 
      margin-top: 16px;
      padding-bottom: 16px;
    }
  
    .menu-wrapper.show {
      display: block;
    }
  
    /* Make navs block inside the wrapper */
    .menu-wrapper nav {
      display: block;
      margin-top: 0;
    }
  
    .content {
      margin-left: 0;
      padding: 100px 20px 20px; /* Increased top padding to prevent overlap */
    }
  }
  
  /* Add a style for the nav-label to match the classical look */
  .nav-label {
      display: block;
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      color: #9ca3af;
      margin-bottom: 8px;
      letter-spacing: 0.05em;
  }