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

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

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

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

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

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

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4 {
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.markdown-content h1 {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.markdown-content h2 {
  font-size: 1.5rem;
  line-height: 2rem;
}

.markdown-content h3 {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.markdown-content a {
  color: #0d9488; /* teal-600 */
  text-decoration: underline;
}

.markdown-content a:hover {
  color: #0f766e; /* teal-700 */
}

.markdown-content code {
  background-color: #f3f4f6; /* gray-100 */
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-family: ui-monospace, monospace;
  font-size: 0.875rem;
}

.dark .markdown-content code {
  background-color: #374151; /* gray-700 */
}

.markdown-content pre {
  background-color: #f3f4f6; /* gray-100 */
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1rem 0;
}

.dark .markdown-content pre {
  background-color: #374151; /* gray-700 */
}

.markdown-content blockquote {
  border-left: 4px solid #e5e7eb; /* gray-200 */
  padding-left: 1rem;
  margin: 1rem 0;
  color: #6b7280; /* gray-500 */
}

.dark .markdown-content blockquote {
  border-left-color: #4b5563; /* gray-600 */
  color: #9ca3af; /* gray-400 */
}

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

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

.markdown-content th,
.markdown-content td {
  border: 1px solid #e5e7eb; /* gray-200 */
  padding: 0.5rem;
  text-align: left;
}

.dark .markdown-content th,
.dark .markdown-content td {
  border-color: #4b5563; /* gray-600 */
}
