<!-- Bootstrap CSS and JS (include in header.php if not already present) -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>

<style>
  body {
    font-family: 'Roboto', sans-serif;
    background-color: #F5F6F5;
  }
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #FFFFFF;
  }
  .sidebar {
    width: 200px;
    height: calc(100vh - 60px);
    margin-top: 60px;
    background-color: #FFFFFF;
    border-right: 1px solid #dee2e6;
    transition: transform 0.3s ease-in-out;
  }
  .sidebar .nav-link {
    color: #333;
    padding: 8px 12px;
    border-radius: 5px;
    margin: 4px 8px;
    font-size: 0.9rem;
    transition: background 0.3s ease, transform 0.2s;
  }
  .sidebar .nav-link:hover {
    background-color: #4A90E2;
    color: #FFFFFF;
    transform: translateX(5px);
  }
  .sidebar .nav-link.active {
    background-color: #50C878;
    color: #FFFFFF;
  }
  .sidebar .nav-link i {
    margin-right: 8px;
  }
  .sidebar .btn {
    margin: 0 8px;
  }
  @media (max-width: 767.98px) {
    .sidebar {
      width: 200px;
      position: fixed;
      top: 60px;
      left: 0;
      z-index: 999;
      transform: translateX(-100%);
    }
    .sidebar.active {
      transform: translateX(0);
    }
    .btn-outline-primary {
      display: block;
    }
  }
  main {
    padding: 20px 30px;
    margin-top: 60px;
    max-width: 1200px;
  }
  h2 {
    color: #4A90E2;
    font-weight: 600;
    font-size: 1.8rem;
  }
  .card {
    border: none;
    border-radius: 8px;
  }
  .card-body {
    padding: 20px;
  }
  .text-primary {
    color: #4A90E2 !important;
  }
  .dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  .dropdown-item:hover {
    background-color: #4A90E2;
    color: #FFFFFF;
  }
</style>

<script>
  function toggleSidebar() {
    document.getElementById('sidebar').classList.toggle('active');
  }
</script>