.analytics-page{

  padding: 35px 5%;

  background:
  linear-gradient(
    to bottom,
    #f5fbff,
    #ffffff
  );
}

.attendance-section,
.test-section{

  padding-top: 35px;
}

.analytics-container{

  max-width: 1400px;

  margin: auto;
}

.analytics-header{

  margin-bottom: 35px;
}

.analytics-header h1{

  font-size: 45px;

  font-weight: 800;

  line-height: 1.3;

  margin: 18px 0;

  background:
  linear-gradient(
    135deg,
    #0072CE,
    #00A651
  );

  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;
}

.analytics-header h2{

  font-size: 40px;

  font-weight: 700;

  margin: 18px 0;

  color: #111827;
}

.analytics-header p{

  font-size: 18px;

  line-height: 1.8;

  color: #4B5563;

  max-width: 850px;
}

.analytics-filter{

  margin-top: 24px;
}

.analytics-filter label{

  font-weight: 600;

  color: #111827;
}

.analytics-filter select{

  padding: 12px 18px;

  border-radius: 12px;

  border: 1px solid #D1D5DB;

  font-size: 16px;

  margin-left: 12px;

  background: white;

  outline: none;
}

.analytics-cards{

  display: grid;

  grid-template-columns:
  repeat(auto-fit, minmax(240px, 1fr));

  gap: 24px;

  margin-top: 40px;
}

.analytics-card{

  padding: 30px;

  border-radius: 24px;

  background: white;

  box-shadow:
  0 10px 30px rgba(0,0,0,0.06);

  transition: 0.3s ease;
}

.analytics-card:hover{

  transform: translateY(-6px);
}

.analytics-card h3{

  font-size: 36px;

  font-weight: 800;

  margin-bottom: 12px;

  color: #0072CE;

  display: flex;

  align-items: center;

  gap: 10px;

  line-height: 1.2;
}

.analytics-card p{

  color: #6B7280;

  font-size: 17px;
}

.analytics-grid{

  display: grid;

  grid-template-columns:
  repeat(2, minmax(0, 650px));

  justify-content: center;

  gap: 30px;

  margin-top: 35px;
}

.chart-container{

  height: 340px;

  margin-top: 24px;
}

.page-badge{

  display: inline-block;

  padding: 10px 18px;

  border-radius: 999px;

  background:
  linear-gradient(
    135deg,
    #0072CE,
    #00A651
  );

  color: white;

  font-weight: 600;

  font-size: 14px;

  letter-spacing: 0.5px;
}

.table-container{

  margin-top: 35px;

  overflow-x: auto;

  border-radius: 24px;

  background: white;

  box-shadow:
  0 10px 35px rgba(0,0,0,0.08);
}

.analytics-table{

  width: 100%;

  border-collapse: collapse;

  min-width: 1100px;
}

.analytics-table thead{

  background:
  linear-gradient(
    135deg,
    #0072CE,
    #00A651
  );

  color: white;
}

.analytics-table th{

  padding: 18px 22px;

  text-align: left;

  font-size: 15px;

  font-weight: 700;

  letter-spacing: 0.3px;
}

.analytics-table td{

  padding: 18px 22px;

  font-size: 15px;

  color: #374151;

  border-bottom:
  1px solid #E5E7EB;
}

.analytics-table tbody tr{

  transition: 0.25s ease;
}

.analytics-table tbody tr:nth-child(even){

  background: #F9FAFB;
}

.analytics-table tbody tr:hover{

  background: #EEF6FF;
}

.analytics-table td:first-child{

  font-weight: 700;

  color: #111827;
}

.analytics-table td:nth-child(5){

  font-weight: 600;

  color: #0072CE;
}

.table-title{

  margin-top: 70px;

  margin-bottom: 18px;

  font-size: 32px;

  font-weight: 800;

  color: #111827;
}

.table-subtitle{

  font-size: 17px;

  color: #6B7280;

  margin-bottom: 24px;
}

.clickable-card{

  cursor: pointer;

  transition: 0.3s;
}

.clickable-card:hover{

  transform: translateY(-5px);

  opacity: 0.9;
}

#batchOptions,
#cgpscOptions,
#vyapamOptions{

  display: grid;

  grid-template-columns:
  repeat(auto-fit, minmax(220px, 1fr));

  gap: 20px;

  margin-top: 20px;
}

@media(max-width:768px){

  .analytics-grid{

    grid-template-columns:1fr;
  }

  .analytics-header h1{

    font-size:36px;
  }

  .analytics-header h2{

    font-size:32px;
  }

  .analytics-card{

    padding:24px;
  }
}

.section-title{

  margin-top: 55px;

  margin-bottom: 24px;

  font-size: 34px;

  font-weight: 800;

  color: #111827;

  line-height: 1.2;
}
