        :root {
            --primary: #3a4f76;
            --secondary: #6d9dc5;
            --accent: #c71616ff;
            --light: #f8f9fa;
            --dark: #2c3e50;
        }
        
        body {
            font-family: 'Open Sans', sans-serif;
            color: #333;
            background-color: #f5f7f9;
        }
        
        h1, h2, h3, h4, h5 {
            font-family: 'Merriweather', serif;
            color: var(--dark);
        }
        h5 {
            font-family: 'Merriweather', serif;
            color: var(--light)!important;
        }
        
        .navbar {
            background-color: var(--primary);
        }
        
        .card {
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .card-header {
            background-color: var(--primary)!important;
            color: white;
            border-radius: 10px 10px 0 0 !important;
        }
        
        .btn-primary {
            background-color: var(--primary)!important;
            border: none;
        }
        
        .attendance-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }
        
        .attendance-box {
            background-color: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            text-align: center;
        }
        
        .visitor-box {
            background-color: #fff3cd;
            border-left: 4px solid #ffc107;
        }
        
        .member-box {
            background-color: #d1ecf1;
            border-left: 4px solid #0dcaf0;
        }
        
        .attendance-total {
            background-color: #d4edda;
            border-left: 4px solid #198754;
            font-weight: bold;
        }
        /* Sidebar base styles */
#sidebarMenu {
  background-color: var(--dark);
  color: white;
  min-height: 100vh;
  transition: transform 0.3s ease;
}

/* Links */
#sidebarMenu a {
  color: #ddd;
  padding: 15px 20px;
  display: block;
  text-decoration: none;
}

#sidebarMenu a:hover {
  background-color: rgba(255,255,255,0.1);
  color: #fff;
}

/* --- Mobile behavior --- */
@media (max-width: 991.98px) {
  #sidebarMenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    transform: translateX(-100%); /* hidden */
    z-index: 1050;
  }

  #sidebarMenu.active {
    transform: translateX(0); /* slide in */
  }

  /* Main content should not shift on mobile */
  #mainContent {
    margin-left: 0;
  }
}

/* --- Desktop behavior --- */
@media (min-width: 992px) {
  #sidebarMenu {
    transform: none; /* always visible */
    position: relative;
  }

  #mainContent {
    margin-left: 0;
  }
}

