/* Section Styles */
.tabs-section {
  padding: 5rem 0;
  background-color: #f8f9fa;
  min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
  background-color: transparent;
  padding: 20px 0;
}

/* Sticky sidebar for desktop */
.sticky-top {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  z-index: 1000;
  
  
}

/* Navigation Styles */
.nav-tabs {
  border: none;
}

.nav-tabs .nav-link {
  color: #495057;
  padding: 1rem;
  margin-bottom: 0.5rem;
  border: none;
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
}

.nav-tabs .nav-link:hover {
  color: #0d6efd;
  background-color: #e7f1ff;
}

.nav-tabs .nav-link.active {
  color: #0d6efd;
  background-color: #e7f1ff;
  font-weight: 500;
}

/* Content Styles */
.content-section {
  padding: 2.5rem;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.content-section h2 {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.content-section h3 {
  color: #2c3e50;
  margin: 1.5rem 0 1rem;
  font-weight: 500;
}

.content-section p {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.content-section ul {
  margin-bottom: 1rem;
}

.content-section ul li {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

/* Table Styles */
.table {
  margin-top: 1rem;
}

.table th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #2c3e50;
}

.table td {
  color: #4a5568;
  vertical-align: middle;
}

/* Tab Transition */
.tab-pane {
  transition: opacity 0.15s linear;
}

.tab-pane.fade {
  opacity: 0;
}

.tab-pane.fade.show {
  opacity: 1;
}

/* Mobile Accordion Styles */
.accordion {
  margin: 1rem 0;
}

.accordion-button {
  padding: 1rem;
  background-color: #fff;
}

.accordion-button:not(.collapsed) {
  background-color: #e7f1ff;
  color: #0d6efd;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.125);
}

.accordion-body {
  padding: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .tabs-section {
    padding: 2rem 1rem;
  }

  .sidebar {
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 20px;
  }
}

/* Custom Scrollbar for Sticky Menu */
.sticky-top::-webkit-scrollbar {
  width: 6px;
}

.sticky-top::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.sticky-top::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.sticky-top::-webkit-scrollbar-thumb:hover {
  background: #999;
}

@media (max-width: 991px) {
    .tabs-section {
	padding: 5rem 0;
	background-color: #f8f9fa;
	min-height: auto;
}

.accordion-header {
	margin-top: 0;
}

.accordion-button {
  font-size: 1.5rem;
    padding: 1.5rem;
}

.accordion-body h2 {
	font-size: 24px;
	margin-bottom: 10px;
}
}