/* Change Box Model */
*,
*:before,
*:after {
  box-sizing: border-box;
}



body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
}

/* Class dashboard */
.class-dashboard-container {
  width: 90%;
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

#className {
  text-align: center;
  margin-bottom: 20px;
}

.employee-list {
  padding: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.employee-item {
  display: flex;
  align-items: center;
}

.employee-item input[type="radio"] {
  margin-right: 10px;
}

.employee-item .main {
  color: green;
  font-size: 1.2em;
  margin-left: 10px;
}

.dashboard-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.dashboard-buttons button {
  padding: 10px 20px;
  background-color: var(--org-primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dashboard-buttons button:hover {
  background-color: var(--org-primary-hover);
}

.subjects-list {
  text-align: center;
}

.subject-link {
  background-color: #f0f0f0;
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
  color: black;
}

.subject-link:hover {
  background-color: #e0e0e0;
}

.student-list-container {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
}

.student-list {
  list-style: none;
  padding: 0;
}

.student-list li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e1e1e1; /* Light grey line under each student */
}

.student-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.student-list a {
  text-decoration: none;
  color: #2d7f02;
}

.student-list a:hover {
  text-decoration: underline;
}
@media screen and (max-width: 768px) {
  .class-dashboard-container {
    width: 95%;
    padding: 10px;
  }

  #className {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .school-year-term-info h2,
  .school-year-term-info h3,
  .school-year-term-info p {
    font-size: 0.95rem;
    text-align: center;
    margin: 5px 0;
  }

  .employee-list {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .employee-item label {
    font-size: 0.9rem;
  }

  .dashboard-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .dashboard-buttons button {
    width: 100%;
    font-size: 0.95rem;
    padding: 8px 10px;
  }

  .subject-link {
    font-size: 0.9rem;
    padding: 6px 8px;
  }

  .student-list-container h2 {
    font-size: 1.1rem;
    text-align: center;
  }

  .student-list li {
    font-size: 0.9rem;
    padding: 6px 0;
  }

  .student-list a {
    font-size: 0.95rem;
  }
}
