/* Help System Styles */

.help-content {
  font-size: 14px;
  line-height: 1.6;
  color: #2c3e50;
}

.help-content h3 {
  color: #2c7be5;
  font-size: 1.5rem;
  font-weight: 600;
  border-bottom: 2px solid #2c7be5;
  padding-bottom: 0.5rem;
}

.help-content h5 {
  color: #2c7be5;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
}

.help-content h6 {
  color: #495057;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1rem;
}

.help-section {
  background: #f8f9fa;
  border-left: 4px solid #2c7be5;
  padding: 1rem 1.25rem;
  border-radius: 0.25rem;
}

.help-section:hover {
  background: #e9ecef;
  transition: background 0.2s ease;
}

.feature-item {
  background: white;
  padding: 0.75rem;
  border-radius: 0.25rem;
  border: 1px solid #dee2e6;
}

.feature-item h6 {
  margin-top: 0;
  color: #2c7be5;
}

.help-content ul {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.help-content ol {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

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

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

.help-content em {
  color: #6c757d;
  font-style: italic;
}

.help-content table {
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.help-content table th {
  background-color: #e9ecef;
  font-weight: 600;
  color: #495057;
}

.help-content table td {
  vertical-align: middle;
}

.help-content .badge {
  font-size: 0.75rem;
  padding: 0.35em 0.65em;
}

.help-content code {
  background-color: #f8f9fa;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  color: #e83e8c;
}

.help-content pre {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 0.25rem;
  border-left: 4px solid #2c7be5;
  overflow-x: auto;
}

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

/* Help Button Styles */
.help-button {
  cursor: pointer;
  transition: all 0.2s ease;
}

.help-button:hover {
  transform: scale(1.05);
  color: #2c7be5 !important;
}

/* Help Modal Enhancements */
#helpModal .modal-header {
  background: linear-gradient(135deg, #2c7be5 0%, #1e5bb8 100%);
}

#helpModal .modal-body {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  padding: 1.5rem;
}

#helpModal .modal-body::-webkit-scrollbar {
  width: 8px;
}

#helpModal .modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

#helpModal .modal-body::-webkit-scrollbar-thumb {
  background: #2c7be5;
  border-radius: 4px;
}

#helpModal .modal-body::-webkit-scrollbar-thumb:hover {
  background: #1e5bb8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .help-content {
    font-size: 13px;
  }

  .help-content h3 {
    font-size: 1.25rem;
  }

  .help-content h5 {
    font-size: 1rem;
  }

  .help-content h6 {
    font-size: 0.9rem;
  }

  .help-section {
    padding: 0.75rem 1rem;
  }

  #helpModal .modal-body {
    padding: 1rem;
  }
}

/* Print styles for help content */
@media print {
  .help-content {
    font-size: 12pt;
  }

  .help-section {
    page-break-inside: avoid;
  }

  .feature-item {
    page-break-inside: avoid;
  }
}
