body {
  background-color: var(--clr-neutral-900, #111);
}

#syllabus-header {
  background-color: #f0f4f8;
  border-bottom: 2px solid #e3d026;
  /* gold accent */
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card {
  background-color: #e3d026;
  color: #1e293b;
}

.view-card {
  background-color: #1e293b;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.view-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  border-color: #e3d026;
  background-color: #0f172a;
}

.view-card-title {
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.view-card-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.dept-icon {
  font-size: 2.5rem;
  color: #e3d026;
  margin-bottom: 1rem;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.4s ease-in forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Breadcrumbs */
.breadcrumb-nav {
  cursor: pointer;
  color: #e3d026;
  /* Gold accent link */
  font-weight: 500;
  transition: color 0.2s;
}

.breadcrumb-nav:hover {
  color: #fff;
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #6b7280;
  margin: 0 10px;
}

/* Syllabus Specific */
.syllabus-overview {
  background: #1e293b;
  color: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
  border-left: 5px solid #e3d026;
}

.unit-card {
  background: #1e293b;
  color: #fff;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.unit-header {
  background-color: #0f172a;
  color: #fff;
  padding: 1rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}

.unit-header:hover {
  background-color: #1e293b;
}

.unit-body {
  padding: 1.5rem;
  display: none;
}

.unit-body.active {
  display: block;
  animation: fadeIn 0.3s ease-in forwards;
}

.unit-detail-section {
  margin-bottom: 1rem;
}

.unit-detail-label {
  font-weight: 700;
  color: #e3d026;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  display: block;
}

.unit-detail-content {
  color: rgba(255, 255, 255, 0.9);
  white-space: pre-wrap;
  /* to preserve line breaks from excel */
}

/* Loading Spinner */
.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border-left-color: #e3d026;
  animation: spin 1s linear infinite;
  margin: 40px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}