/* Markdown content styling */
.markdown-content {
  line-height: 1.6;
}

/* Headings */
.markdown-content h1 {
  font-size: 1.8em;
  margin-top: 1em;
  margin-bottom: 0.5em;
  font-weight: 600;
}

.markdown-content h2 {
  font-size: 1.5em;
  margin-top: 1em;
  margin-bottom: 0.5em;
  font-weight: 600;
}

.markdown-content h3 {
  font-size: 1.3em;
  margin-top: 1em;
  margin-bottom: 0.5em;
  font-weight: 600;
}

.markdown-content h4 {
  font-size: 1.2em;
  margin-top: 1em;
  margin-bottom: 0.5em;
  font-weight: 600;
}

.markdown-content h5, .markdown-content h6 {
  font-size: 1.1em;
  margin-top: 1em;
  margin-bottom: 0.5em;
  font-weight: 600;
}

/* Paragraphs and spacing */
.markdown-content p {
  margin-bottom: 1em;
}

/* Lists */
.markdown-content ul, .markdown-content ol {
  margin-bottom: 1em;
  padding-left: 2em;
}

.markdown-content ul {
  list-style-type: disc;
}

.markdown-content ol {
  list-style-type: decimal;
}

.markdown-content li {
  margin-bottom: 0.5em;
}

/* Blockquotes */
.markdown-content blockquote {
  border-left: 4px solid #e5e7eb;
  padding-left: 1em;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1em;
  color: #6b7280;
}

/* Code blocks */
.markdown-content pre {
  background-color: #f3f4f6;
  border-radius: 0.375rem;
  padding: 1em;
  overflow-x: auto;
  margin-bottom: 1em;
}

.markdown-content code {
  background-color: #f3f4f6;
  border-radius: 0.25rem;
  padding: 0.2em 0.4em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.875em;
}

.markdown-content pre code {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}

/* Links */
.markdown-content a {
  color: #3b82f6;
  text-decoration: underline;
}

.markdown-content a:hover {
  text-decoration: none;
}

/* Tables */
.markdown-content table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1em;
}

.markdown-content th, .markdown-content td {
  border: 1px solid #e5e7eb;
  padding: 0.5em;
}

.markdown-content th {
  background-color: #f9fafb;
  font-weight: 600;
}

/* Horizontal rule */
.markdown-content hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 1.5em 0;
}

/* Images */
.markdown-content img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1em;
  border-radius: 0.375rem;
}
