body {
    font-size: .875rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }
  
  .feather {
    width: 16px;
    height: 16px;
  }
  
  /*
   * Sidebar
   */
  
  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 56px 0 0;
    width: 240px;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
  }
  
  @media (max-width: 767.98px) {
    .sidebar {
      top: 56px;
      width: 100%;
      position: relative;
      padding-top: 0;
    }
  }
  
  .sidebar-sticky {
    position: sticky;
    top: 0;
    height: calc(100vh - 56px);
    padding: 1rem 0;
    overflow-x: hidden;
    overflow-y: auto;
  }
  
  .sidebar .nav-link {
    font-weight: 500;
    color: #495057;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease-in-out;
  }
  
  .sidebar .nav-link:hover {
    color: #007bff;
    background-color: #e9ecef;
  }
  
  .sidebar .nav-link .feather {
    margin-right: 8px;
    color: #6c757d;
  }
  
  .sidebar .nav-link.active {
    color: #007bff;
    background-color: #e7f1ff;
    border-left: 3px solid #007bff;
  }
  
  .sidebar .nav-link:hover .feather,
  .sidebar .nav-link.active .feather {
    color: inherit;
  }
  
  .sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #6c757d;
    letter-spacing: 0.5px;
  }
  
  /*
   * Navbar
   */
  
  .navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    height: 56px;
  }
  
  .navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-weight: 600;
    font-size: 1.1rem;
  }
  
  .navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
  }
  
  .navbar .form-control {
    padding: .75rem 1rem;
  }
  
  .form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
  }
  
  .form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
  }
  
  /*
   * Main content area
   */
  
  main {
    margin-left: 240px;
    padding-top: 56px;
    min-height: 100vh;
  }
  
  @media (max-width: 767.98px) {
    main {
      margin-left: 0;
    }
  }
  
  main .container-fluid {
    padding: 1.5rem;
  }
  
  /* Page header */
  .page-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #dee2e6;
    row-gap: 0.5rem;
  }

  .page-header .btn-group,
  .page-header .btn-toolbar,
  .page-header .d-flex {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  
  .page-header h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #212529;
  }

  @media (max-width: 767.98px) {
    .page-header h1,
    .page-header .h2,
    .page-header .h5 {
      margin-bottom: 0.25rem;
    }

    .page-header .btn,
    .page-header .btn-group .btn {
      min-height: 34px;
    }
  }
  
  /* Cards and tables */
  .table-responsive {
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  }
  
  .card {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    margin-bottom: 1.5rem;
  }
  
  /* Buttons */
  .btn-toolbar .btn {
    margin-left: 0.5rem;
  }
  
  /* Alerts */
  .alert {
    border-radius: 0.25rem;
    border-left-width: 4px;
  }