/* General Reset/Box-Sizing */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
  }
  
  /* Navbar */
  .navbar {
    display: flex;
    align-items: center;
    background: #333;
    padding: 0.5rem 1rem;
  }
  .navbar .logo {
    color: #fff;
    font-size: 1.2rem;
    margin-right: 2rem;
  }
  .nav-links {
    list-style: none;
    display: flex;
    flex: 1;
  }
  .nav-links li {
    margin: 0 1rem;
  }
  .nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem;
  }
  .nav-links a:hover,
  .nav-links a.active {
    background: #444;
    border-radius: 4px;
  }
  
  /* Sidebar */
  .sidebar {
    width: 200px;
    background: #f4f4f4;
    padding: 1rem;
    float: left;
    min-height: 100vh;
  }
  .sidebar ul {
    list-style-type: none;
  }
  .sidebar ul li {
    margin: 1rem 0;
  }
  .sidebar ul li a {
    color: #333;
    text-decoration: none;
  }
  .sidebar ul li a.active {
    font-weight: bold;
  }
  
  /* Main Content */
  main {
    padding: 1rem;
    margin-left: 220px; /* to accommodate sidebar width if used */
  }
  main h1 {
    margin-bottom: 1rem;
  }
  
  /* Buttons */
  .btn,
  button {
    background: #007BFF;
    color: #fff;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
  }
  .btn:hover,
  button:hover {
    background: #0056b3;
  }
  
  /* Footer */
  footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
    clear: both;
  }
  .footer-links a {
    color: #fff;
    margin: 0 0.5rem;
    text-decoration: none;
  }
  
  /* Sections */
  .home-intro, .features-section, .dashboard-section, .insights-section, .report-section, .admin-section {
    margin: 1rem 0;
    padding: 1rem;
    background: #fafafa;
    border-radius: 4px;
  }
  .home-intro h1 {
    margin-bottom: 0.5rem;
  }
  .features-section ul {
    list-style-type: disc;
    margin: 1rem 2rem;
  }
  
  /* Forms */
  form {
    margin: 1rem 0;
  }
  label {
    display: block;
    margin-bottom: 0.5rem;
  }
  input[type="text"],
  input[type="email"],
  input[type="password"],
  textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
  }
  
  /* Auth Container */
  .auth-container {
    max-width: 500px;
    margin: 2rem auto;
    background: #fafafa;
    padding: 2rem;
    border-radius: 4px;
  }
  
  /* Chart/Placeholder */
  .chart-placeholder {
    background: #ccc;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
    }
    .sidebar {
      float: none;
      width: 100%;
      min-height: auto;
      display: flex;
      flex-wrap: wrap;
    }
    main {
      margin-left: 0;
      margin-top: 1rem;
    }
  }
  
