/* Help System Styles */
.help-sidebar {
  border-right: 1px solid var(--bs-border-color);
  min-height: calc(100vh - 200px);
}

.help-nav {
  display: flex;
  flex-direction: column;
}

.help-nav-link {
  color: var(--bs-body-color);
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  margin-bottom: 0.25rem;
  text-decoration: none;
  display: block;
}

.help-nav-link:hover,
.help-nav-link.active {
  background-color: var(--bs-primary-bg-subtle);
  color: var(--bs-primary-text-emphasis);
}

.help-nav-link.active {
  font-weight: 600;
}

.help-content {
  line-height: 1.6;
}

.help-content h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--bs-border-color);
}

.help-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--bs-border-color);
}

.help-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.help-content p {
  margin-bottom: 1rem;
}

.help-content ul,
.help-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.help-content li {
  margin-bottom: 0.5rem;
}

.help-content code {
  background-color: var(--bs-secondary-bg);
  color: var(--bs-secondary-text-emphasis);
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.help-content pre {
  background-color: var(--bs-gray-100);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.25rem;
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.help-content blockquote {
  border-left: 4px solid var(--bs-primary);
  padding-left: 1rem;
  margin: 1rem 0;
  color: var(--bs-secondary-color);
  font-style: italic;
}

.help-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.25rem;
  margin: 1rem 0;
}

.help-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.help-content th,
.help-content td {
  border: 1px solid var(--bs-border-color);
  padding: 0.5rem;
  text-align: left;
}

.help-content th {
  background-color: var(--bs-gray-100);
  font-weight: 600;
}

.breadcrumb {
  background-color: var(--bs-secondary-bg);
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
}

.search-form {
  margin-bottom: 2rem;
}

.search-results {
  margin-top: 1rem;
}

.search-result-item {
  border-bottom: 1px solid var(--bs-border-color);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-highlight {
  background-color: var(--bs-warning-bg);
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
}

@media (max-width: 768px) {
  .help-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--bs-border-color);
    min-height: auto;
    margin-bottom: 1rem;
  }
}