
/* General Styles */
:root{
  --primary-color:#2c3e50;
  --secondory-color:#EDE8F5;
  --secondory-color:#34495e;
  --secondory-color:hsl(213, 28%, 41%);
  /* --secondory-color:#7499c2; */
  --text-color:hsl(80, 50%, 60%); 
  --secondory-color:hsl(80, 50%, 39%);

}
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
  }
  
  
  /* Main Content */
  main {
    flex: 1;
    padding: 2rem;
    margin: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    display: block;
  }
  #attendance-reports h2,
  #export-reports h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
  }
  #attendance-report-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
  }
  #attendance-report-form input,
  #attendance-report-form select {
    width: 90%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #b6b3b3;
    border-radius: 5px;
    font-size: 1rem;
  }
  #attendance-report-form button {
   padding: 0.8rem 1.5rem;
   box-shadow: 2px 2px 5px rgb(137, 122, 122);
   outline: none;
   background-color: var(--secondory-color);
   color: rgb(246, 242, 242);
   border: 1px solid;
   border-radius: 2rem;
   font-size: 1rem;
   cursor: pointer;
   width: auto; 
}
  
  #attendance-report-form button:hover {
    background-color: var(--primary-color);
  }
  
  #report-results {
    margin-top: 2rem;
  }
  
 
  #export-reports button {
    padding: 0.8rem 1.5rem;
    margin-right: 1rem;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 2rem;
  }
  
  #export-reports button:hover {
    background-color: var(--secondory-color);
  }
  
  /* Footer */
  footer {
    text-align: center;
    padding: 1rem;
    background-color: #2c3e50;
    color: #fff;
    margin-top: auto;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    body {
      flex-direction: column;
    }
    
  #attendance-report-form input,
  #attendance-report-form select {
    width: 70vw !important;
  }
    main{
      margin-top: -0.7rem;
      display: flex;
      width: 99vw;
      margin-left: 0.2rem;
      flex-direction: column;
    }
    input,select{
      width: 90% !important;
    }
    #export-reports  {

      display: flex;
      flex-direction: column;
    }
    header {
      width: 100%;
      padding: 1rem 0;
    }
  
    nav ul {
      display: flex;
      justify-content: space-around;
    }
    .attendance-container {
      display: flex;
      flex-direction: column;
    }
  }  

/* graph styles */
/* Reporting Page Styles */
.attendance-container {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.attendance-form {
  flex: 1;
  max-width: 400px;
}

.attendance-graph {
  flex: 2;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#attendanceChart {
  width: 100% !important;
  height: 300px !important;
}

/* new  */
/* Enhanced Reporting CSS */
.reporting-dashboard {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.stat-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-card h3 {
  font-size: 1rem;
  color: #666;
  margin: 0.5rem 0;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
}

.report-generator {
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.filter-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

/* Add more styles for the enhanced interface... */