.help-page-container {
  min-height: calc(100vh - 200px);
  margin-top: 30px;
  padding-top: 20px;
}

.help-sidebar {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 20px 0;
  position: sticky;
  top: 50px;
  height: fit-content;
  overflow: hidden;
}

/* Dark mode styles for sidebar */
[data-bs-theme="dark"] .help-sidebar {
  background: linear-gradient(135deg, #212529 0%, #1a1d20 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.help-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff 0%, #0056b3 50%, #007bff 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.help-sidebar .nav-link {
  color: #495057;
  padding: 16px 24px;
  margin: 4px 12px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.help-sidebar .nav-link span {
  color: inherit;
}

.help-sidebar .nav-link:not(.active) {
  color: #495057;
}

.help-sidebar .nav-link:not(.active) span {
  color: #495057;
}

.help-sidebar .nav-link:not(.active) .menu-icon {
  color: inherit;
}

.help-sidebar .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.1), transparent);
  transition: left 0.5s;
}

.help-sidebar .nav-link:hover::before {
  left: 100%;
}

.help-sidebar .nav-link:not(.active):hover {
  background: linear-gradient(135deg, #e7f3ff 0%, #d6eaff 100%) !important;
  color: #007bff !important;
  transform: translateX(4px);
  border-color: rgba(0, 123, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.help-sidebar .nav-link:not(.active):hover span {
  color: #007bff !important;
}

.help-sidebar .nav-link:not(.active):hover .menu-icon {
  color: #007bff !important;
  opacity: 1;
}

.help-sidebar .nav-link:not(.active):hover .bi-chevron-down {
  color: #007bff !important;
  opacity: 1;
}

.help-sidebar .nav-link.active {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
  transform: translateX(4px);
  border-color: #007bff;
}

.help-sidebar .nav-link.active:hover {
  background: linear-gradient(135deg, #0066cc 0%, #004d99 100%) !important;
  color: #fff !important;
}

.help-sidebar .nav-link.active:hover span {
  color: #fff !important;
}

.help-sidebar .nav-link.active:hover .menu-icon {
  color: #fff !important;
}

.help-sidebar .nav-link.active:hover .bi-chevron-down {
  color: #fff !important;
}

.help-sidebar .nav-link.active::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: #fff;
  border-radius: 2px 0 0 2px;
}

/* Dark mode styles for main nav links */
[data-bs-theme="dark"] .help-sidebar .nav-link:not(.active) {
  color: #adb5bd;
}

[data-bs-theme="dark"] .help-sidebar .nav-link:not(.active) span {
  color: #adb5bd;
}

[data-bs-theme="dark"] .help-sidebar .nav-link:not(.active) .menu-icon {
  color: #adb5bd;
}

[data-bs-theme="dark"] .help-sidebar .nav-link:not(.active) .bi-chevron-down {
  color: #adb5bd;
}

[data-bs-theme="dark"] .help-sidebar .nav-link:not(.active):hover {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.2) 0%, rgba(13, 110, 253, 0.1) 100%) !important;
  color: #0d6efd !important;
}

[data-bs-theme="dark"] .help-sidebar .nav-link:not(.active):hover span {
  color: #0d6efd !important;
}

[data-bs-theme="dark"] .help-sidebar .nav-link:not(.active):hover .menu-icon {
  color: #0d6efd !important;
}

[data-bs-theme="dark"] .help-sidebar .nav-link:not(.active):hover .bi-chevron-down {
  color: #0d6efd !important;
}

.help-sidebar .nav-link .bi-chevron-down {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
  opacity: 0.7;
  flex-shrink: 0;
}

.help-sidebar .nav-link.active .bi-chevron-down {
  opacity: 1;
  color: #fff;
}

.help-sidebar .nav-link[aria-expanded="true"] .bi-chevron-down {
  transform: rotate(180deg);
}

.help-sidebar .nav-link[aria-expanded="true"]:not(.active) .bi-chevron-down {
  opacity: 1;
  color: #007bff;
}

[data-bs-theme="dark"] .help-sidebar .nav-link[aria-expanded="true"]:not(.active) .bi-chevron-down {
  color: #0d6efd;
}

.help-sidebar .nav-link .menu-icon {
  margin-right: 12px;
  font-size: 18px;
  width: 24px;
  text-align: center;
  opacity: 0.8;
  color: #495057;
}

.help-sidebar .nav-link:not(.active) .menu-icon {
  color: #495057;
}

.help-sidebar .nav-link.active .menu-icon {
  opacity: 1;
  color: #fff;
}

.help-sidebar .nav-link:not(.active) .bi-chevron-down {
  color: #495057;
}

.help-submenu {
  background: rgba(255, 255, 255, 0.6);
  padding: 8px 0;
  list-style: none;
  margin: 0 12px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.help-sidebar .collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  display: block;
}

.help-sidebar .collapse.show {
  max-height: 1000px;
}

.help-submenu .nav-link {
  padding: 12px 20px 12px 56px;
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
  margin: 2px 8px;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
}

.help-submenu .nav-link::before {
  content: '→';
  position: absolute;
  left: 36px;
  opacity: 0;
  transition: all 0.3s ease;
  color: #007bff;
  font-weight: bold;
}

.help-submenu .nav-link:hover {
  color: #007bff;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 123, 255, 0.05) 100%);
  transform: translateX(6px);
  padding-left: 60px;
}

.help-submenu .nav-link:hover::before {
  opacity: 1;
  left: 32px;
}

.help-submenu .nav-link.active {
  color: #007bff;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.15) 0%, rgba(0, 123, 255, 0.08) 100%);
  font-weight: 600;
  border-left: 3px solid #007bff;
  padding-left: 57px;
}

.help-submenu .nav-link.active::before {
  opacity: 1;
  left: 32px;
}

/* Dark mode styles for submenu */
[data-bs-theme="dark"] .help-submenu {
  background: rgba(33, 37, 41, 0.6);
}

[data-bs-theme="dark"] .help-submenu .nav-link {
  color: #adb5bd;
}

[data-bs-theme="dark"] .help-submenu .nav-link:hover {
  color: #0d6efd;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.2) 0%, rgba(13, 110, 253, 0.1) 100%);
}

[data-bs-theme="dark"] .help-submenu .nav-link.active {
  color: #0d6efd;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.25) 0%, rgba(13, 110, 253, 0.15) 100%);
}

[data-bs-theme="dark"] .help-submenu .nav-link::before {
  color: #0d6efd;
}

.help-content-section {
  display: none;
}

.help-content-section.active {
  display: block;
}

.help-content {
  padding: 0;
}

.help-content-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.help-content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff 0%, #0056b3 50%, #007bff 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

/* Dark mode styles for content card */
[data-bs-theme="dark"] .help-content-card {
  background: linear-gradient(135deg, #212529 0%, #1a1d20 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.help-section-title {
  font-size: 28px;
  font-weight: 600;
  color: #212529;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid #007bff;
  display: inline-block;
}

/* Dark mode styles for section title */
[data-bs-theme="dark"] .help-section-title {
  color: #ffffff;
  border-bottom-color: #0d6efd;
}

.help-category-section {
  margin-bottom: 50px;
}

.help-category-section h3 {
  font-size: 22px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 25px;
  margin-top: 30px;
}

.help-content-text {
  font-size: 16px;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 20px;
}

.help-content-text p {
  margin-bottom: 15px;
}

.help-content-text p:last-child {
  margin-bottom: 0;
}

.help-content-text a {
  color: #007bff;
  text-decoration: none;
}

.help-content-text a:hover {
  text-decoration: underline;
}

.help-content-text strong {
  font-weight: 600;
  color: #212529;
}

.help-content-text ul,
.help-content-text ol {
  margin: 15px 0;
  padding-left: 30px;
}

.help-content-text li {
  margin-bottom: 8px;
}

/* Informational Card Design - Matching Image */
.help-info-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.help-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff 0%, #0056b3 50%, #007bff 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
  z-index: 1;
}

.help-info-breadcrumb {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 20px;
}

.help-info-breadcrumb a {
  color: #007bff;
  text-decoration: none;
}

.help-info-breadcrumb a:hover {
  text-decoration: underline;
}

.help-info-breadcrumb .separator {
  margin: 0 8px;
  color: #6c757d;
}

.help-info-title {
  font-size: 28px;
  font-weight: 600;
  color: #212529;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid #87ceeb;
  display: inline-block;
}

.help-info-content {
  font-size: 16px;
  line-height: 1.7;
  color: #495057;
  margin-bottom: 30px;
}

.help-info-content a {
  color: #007bff;
  text-decoration: none;
}

.help-info-content a:hover {
  text-decoration: underline;
}

.help-info-divider {
  border-top: 1px solid #e9ecef;
  margin: 40px 0;
}

.help-info-related {
  margin-top: 30px;
}

.help-info-related h4 {
  font-size: 18px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 15px;
}

.help-info-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.help-info-related li {
  margin-bottom: 10px;
}

.help-info-related a {
  color: #007bff;
  text-decoration: none;
  font-size: 15px;
}

.help-info-related a:hover {
  text-decoration: underline;
}

.help-info-helpful {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e9ecef;
}

.help-info-helpful p {
  font-size: 16px;
  font-weight: 500;
  color: #495057;
  margin-bottom: 15px;
}

.help-info-helpful-buttons {
  display: flex;
  gap: 12px;
}

.help-info-btn {
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.help-info-btn.yes {
  background-color: #007bff;
  color: #fff;
}

.help-info-btn.yes:hover {
  background-color: #0056b3;
}

.help-info-btn.no {
  background-color: transparent;
  color: #495057;
  border: 1px solid #dee2e6;
}

.help-info-btn.no:hover {
  background-color: #f8f9fa;
  border-color: #adb5bd;
}

/* Dark mode styles for info card */
[data-bs-theme="dark"] .help-info-card {
  background: linear-gradient(135deg, #212529 0%, #1a1d20 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .help-info-breadcrumb {
  color: #adb5bd;
}

[data-bs-theme="dark"] .help-info-breadcrumb a {
  color: #0d6efd;
}

[data-bs-theme="dark"] .help-info-breadcrumb .separator {
  color: #6c757d;
}

[data-bs-theme="dark"] .help-info-title {
  color: #ffffff;
  border-bottom-color: #87ceeb;
}

[data-bs-theme="dark"] .help-info-content {
  color: #adb5bd;
}

[data-bs-theme="dark"] .help-info-content a {
  color: #0d6efd;
}

[data-bs-theme="dark"] .help-info-divider {
  border-top-color: #495057;
}

[data-bs-theme="dark"] .help-info-related h4 {
  color: #adb5bd;
}

[data-bs-theme="dark"] .help-info-related a {
  color: #0d6efd;
}

[data-bs-theme="dark"] .help-info-helpful {
  border-top-color: #495057;
}

[data-bs-theme="dark"] .help-info-helpful p {
  color: #adb5bd;
}

[data-bs-theme="dark"] .help-info-btn.no {
  color: #adb5bd;
  border-color: #495057;
}

[data-bs-theme="dark"] .help-info-btn.no:hover {
  background-color: #343a40;
  border-color: #6c757d;
}

.help-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
}

.help-faq-item {
  margin-bottom: 12px;
}

.help-faq-question {
  font-size: 15px;
  font-weight: 400;
  color: #007bff;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
  display: block;
  line-height: 1.5;
}

.help-faq-question:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Dark mode styles for FAQ */
[data-bs-theme="dark"] .help-category-section h3 {
  color: #adb5bd;
}

[data-bs-theme="dark"] .help-faq-question {
  color: #0d6efd;
}

[data-bs-theme="dark"] .help-faq-question:hover {
  color: #0a58ca;
}

/* Dark mode styles for text content */
[data-bs-theme="dark"] .help-content-text {
  color: #adb5bd;
}

[data-bs-theme="dark"] .help-content-text strong {
  color: #ffffff;
}

[data-bs-theme="dark"] .help-content-text a {
  color: #0d6efd;
}
.hide {
    display: none;
  }
  .show {
    display: inline;
  }
@media (max-width: 768px) {
  .help-faq-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .help-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 30px;
    border-radius: 12px;
  }
  
  .help-sidebar .nav-link {
    padding: 14px 20px;
    margin: 3px 8px;
  }
  
  .help-content-card {
    padding: 20px 15px;
    border-radius: 12px;
  }

  
}
