        :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);
        }

        
        .navbar {
            background-color: var(--primary);
            padding: 15px 0;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .section-title {
            color: var(--primary);
            margin-bottom: 30px;
            position: relative;
            padding-bottom: 15px;
        }
        
        .section-title:after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            background: var(--accent);
            position: absolute;
            bottom: 0;
            left: 0;
        }
        
        .card {
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
            border: none;
        }
        
        .card-header {
            background-color: var(--primary)!important;
            color: var(--light) !important;
            border-radius: 10px 10px 0 0 !important;
            padding: 15px 20px;
        }
        
        .btn-primary {
            background-color: var(--primary)!important;
            border: none;
            padding: 10px 20px;
            font-weight: 600;
        }
        
        .btn-primary:hover {
            background-color: var(--accent) !important;
        }
        
        .alert {
            border-radius: 8px;
        }
        
        .member-info-card {
            background-color: #e9f7ef;
            border-left: 4px solid #28a745 !important;
        }
        
        .search-box {
            background-color: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 20px;
        }
        
        .age-calculator {
            font-size: 0.875rem;
            color: #6c757d;
            margin-top: 0.25rem;
        }
        /* 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;
  }
}

