/* Help Modal Content Styles - Markdown Support */

/* Markdown content styling - scoped to help modal only */
#helpModal .modal-body h1,
#helpModal .modal-body h2,
#helpModal .modal-body h3,
#helpModal .modal-body h4 {
  color: #333;
  margin-top: 8px;
  margin-bottom: 8px;
  font-weight: bold;
}

#helpModal .modal-body h1 {
  font-size: 28px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

#helpModal .modal-body h2 {
  font-size: 24px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 8px;
}

#helpModal .modal-body h3 {
  font-size: 20px;
}

#helpModal .modal-body h4 {
  font-size: 18px;
}

#helpModal .modal-body p {
  margin-bottom: 10px;
  color: #555;
}

#helpModal .modal-body ul,
#helpModal .modal-body ol {
  margin-bottom: 10px;
  padding-left: 30px;
}

#helpModal .modal-body li {
  margin-bottom: 4px;
  color: #555;
}

#helpModal .modal-body code {
  background-color: #f5f5f5;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  color: #d63384;
}

#helpModal .modal-body pre {
  background-color: #f5f5f5;
  padding: 16px;
  border-radius: 4px;
  overflow-x: auto;
  margin-bottom: 16px;
}

#helpModal .modal-body pre code {
  background-color: transparent;
  padding: 0;
  color: #333;
}

#helpModal .modal-body blockquote {
  border-left: 4px solid #007bff;
  padding-left: 16px;
  margin: 16px 0;
  color: #666;
  font-style: italic;
}

#helpModal .modal-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

#helpModal .modal-body table th,
#helpModal .modal-body table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

#helpModal .modal-body table th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #333;
}

#helpModal .modal-body table tr:nth-child(even) {
  background-color: #f8f9fa;
}

#helpModal .modal-body a {
  color: #007bff;
  text-decoration: none;
}

#helpModal .modal-body a:hover {
  text-decoration: underline;
}

#helpModal .modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 16px 0;
}

#helpModal .modal-body hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 24px 0;
}

/* Loading and error states */
.help-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #666;
  font-size: 16px;
}

.help-error {
  padding: 40px 20px;
  text-align: center;
}

.help-error h3 {
  color: #dc3545;
  margin-bottom: 16px;
}

.help-error p {
  color: #666;
  margin-bottom: 8px;
}

.help-error-details {
  font-size: 14px;
  color: #999;
  font-family: 'Courier New', Courier, monospace;
}