body {
  font-family: system-ui, sans-serif;
}

.sidebar {
  min-height: 100vh;
  background-color: #f8f9fa;
  border-right: 1px solid #dee2e6;
}
.navbar-brand {
  float: left !important;
  margin-right: auto;
}
/* Fix top border for the first item in the second accordion group */
#sidebarAccordion > p:nth-of-type(2) + .accordion-item {
  border-top: 1px solid var(--bs-border-color, #dee2e6); /* fallback to Bootstrap's default */
}
#sidebarAccordion > p:nth-of-type(3) + .accordion-item {
  border-top: 1px solid var(--bs-border-color, #dee2e6);
}
.accordion-button {
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
}
.accordion-body .nav-link {
  padding-left: 1.25rem;
}

.teacher-box {
  border: 2px solid #8e44ad;        /* Purple border */
  background-color: #fdf9ff;        /* Soft lavender background */
  position: relative;
  border-radius: 0.5rem;
}

.breadcrumb-bar {
  background-color: #f8f9fa;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #dee2e6;
}

.breadcrumb {
  margin-bottom: 0;
  background-color: transparent;
}


.teacher-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #8e44ad;
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 0.5rem;
  font-weight: 600;
  box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
}



.sidebar h5 {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.sidebar .nav-link {
  padding: 0.3rem 0.75rem;
  font-size: 0.95rem;
  color: #212529;
  border-radius: 0.25rem;
  margin-bottom: 2px;
  transition: background-color 0.2s;
}

.sidebar .nav-link:hover {
  background-color: #e2e6ea;
  text-decoration: none;
}

.content {
  padding: 2rem;
}


.section-title {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h2, h3 {
  font-weight: 600;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}

ul {
  padding-left: 1.2rem;
  list-style-type: none; /* Removes bullet markers */
}

ul li::before {
  content: ""; /* Ensures no replacement marker shows */
  margin-right: 0;
}

.search-bar .form-control {
  border-right: none;
  border-radius: 2rem 0 0 2rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-shadow: none;
}

.search-bar .btn {
  background-color: #0056b3;
  border: none;
  border-radius: 0 2rem 2rem 0;
  font-weight: 500;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.search-bar .btn:hover {
  background-color: #003d80;
}

.search-bar .input-group-lg > .form-control,
.search-bar .input-group-lg > .btn {
  font-size: 1.15rem;
  height: calc(1.5em + 1.5rem + 2px);
}

@media (max-width: 576px) {
  .search-bar .input-group {
    flex-direction: column;
  }

  .search-bar .form-control,
  .search-bar .btn {
    border-radius: 2rem !important;
    width: 100%;
    margin-bottom: 0.5rem;
  }
}