.custom-container {
  @apply mx-auto px-4 sm:px-6 lg:px-0 max-w-[1560px] bg-red-500;
}

/* ========================study plan======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

/* Breadcrumb Navigation */
.breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
}

.breadcrumb-link {
  color: #666;
  text-decoration: none;
}

.breadcrumb-separator {
  margin: 0 8px;
  color: #999;
}

.breadcrumb-current {
  color: #333;
  font-weight: 500;
}

/* Main Content Layout */
.main-content {
  display: flex;
  gap: 30px;
  max-width: 1560px;
  margin: 0 auto;
}

/* Sidebar Styles */
.sidebar {
  width: 300px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.faculty-section:last-child {
  border-bottom: none;
}

.faculty-header {
  padding: 15px 20px;
  color: #2f2f2f;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.faculty-header.active {
  color: #b11116;
}
.program-title {
  color: #b11116 !important;
}
.level-title {
  color: #b11116 !important;
}

.toggle-icon {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.faculty-content {
  display: none;
  background: white;
}

.faculty-content.active {
  display: block;
}

.level-item {
  padding: 12px 20px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
  font-size: 14px;
}

/* Content Area */
.content {
  flex: 1;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.program-title {
  color: #d63384;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
}

.level-content {
  display: none;
}

.level-content.active {
  display: block;
}

.level-title {
  color: #d63384;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding: 10px 0;
  border-bottom: 2px solid #f0f0f0;
}

/* Table Styles */
.curriculum-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.curriculum-table thead tr:first-child th {
  background: #b111164d;
  color: #333;
  font-weight: 600;
  padding: 15px 12px;
  text-align: center;
  /* border-right: 1px solid #d4a5c0; */
}

.curriculum-table thead tr:first-child th:first-child {
  text-align: left;
  width: 25%;
}

.curriculum-table thead tr:first-child th:last-child {
  border-right: none;
}

.curriculum-table .sub-header th {
  background: #ffffff;
  color: #333;
  font-weight: 500;
  padding: 10px 12px;
  text-align: center;
  /* border-right: 1px solid #e8b4cb; */
  font-size: 13px;
}

.curriculum-table .sub-header th:first-child,
.curriculum-table .sub-header th:nth-child(2) {
  background: #b111164d;
}

.curriculum-table .sub-header th:last-child {
  border-right: none;
}

.curriculum-table tbody tr {
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s ease;
}

.curriculum-table tbody tr:last-child {
  border-bottom: none;
}

.curriculum-table tbody td {
  padding: 12px;
  text-align: center;
  border-right: 1px solid #f0f0f0;
}

.curriculum-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: #333;
}

.curriculum-table tbody td:last-child {
  border-right: none;
  font-size: 13px;
  color: #666;
}

.total-row {
  /* background: #f8f9fa !important; */
  font-weight: 600;
}

.total-row td {
  /* border-top: 2px solid #e8b4cb; */
  color: #333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-content {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    margin-bottom: 20px;
  }

  .curriculum-table {
    font-size: 12px;
  }

  .curriculum-table th,
  .curriculum-table td {
    padding: 8px 6px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 10px;
  }

  .content {
    padding: 20px;
  }

  .curriculum-table {
    font-size: 11px;
  }

  .curriculum-table th,
  .curriculum-table td {
    padding: 6px 4px;
  }

  .program-title {
    font-size: 20px;
  }

  .level-title {
    font-size: 16px;
  }
}

.level-item {
  cursor: pointer;
}
.faculty-header.active {
  background-color: #b111161a !important;
}

.faculty-content.active .level-item {
  background-color: #b111161a;
  color: #2f2f2f;
  font-weight: normal;
  border-left: 4px solid #b11116;
}
/* Style for active level item */
.level-item.active {
  background-color: #b11116 !important;
  color: #fff !important;
  font-weight: bold;
  border-left: 4px solid #b11116;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.program-item {
  padding: 12px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  background: #f8f9fa;
  border-left: 3px solid transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.program-item.active {
  background: #b111161a;
  /* border-left-color: #B11116; */
  color: #b11116;
  width: 100%;
}

.program-content {
  display: none;
  padding-left: 15px;
  background: #fff;
}

.program-content.active {
  display: block;
}
