/* Markdown styling */
.markdown {
  color: #fff;
  line-height: 1.6;
}

/* Headings */
.markdown h1, 
.markdown h2, 
.markdown h3, 
.markdown h4, 
.markdown h5, 
.markdown h6 {
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

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

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

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

.markdown h4 {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

/* Paragraphs */
.markdown p {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* Links */
.markdown a {
  color: #60a5fa;
  text-decoration: none;
}

.markdown a:hover {
  text-decoration: underline;
}

/* Strong/Bold */
.markdown strong,
.markdown b {
  font-weight: 700;
  color: #fff;
}

/* Code blocks and inline code */
.markdown code {
  background-color: rgba(55, 65, 81, 0.5);
  border-radius: 0.25rem;
  padding: 0.125rem 0.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.875rem;
}

.markdown pre {
  background-color: rgba(55, 65, 81, 0.5);
  border-radius: 0.375rem;
  padding: 1rem;
  margin: 1rem 0;
  overflow-x: auto;
}

.markdown pre code {
  background-color: transparent;
  padding: 0;
  font-size: 0.875rem;
  color: #f1f5f9;
  display: block;
}

/* Lists */
.markdown ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.markdown ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.markdown li {
  margin: 0.25rem 0;
}

.markdown li > ul,
.markdown li > ol {
  margin: 0;
}

/* Blockquotes */
.markdown blockquote {
  border-left: 4px solid #60a5fa;
  padding-left: 1rem;
  margin: 1rem 0;
  font-style: italic;
  color: #d1d5db;
}

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

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

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

.markdown th {
  background-color: rgba(55, 65, 81, 0.5);
  padding: 0.5rem;
  border: 1px solid #4b5563;
  text-align: left;
}

.markdown td {
  padding: 0.5rem;
  border: 1px solid #4b5563;
}

.markdown tr:nth-child(even) {
  background-color: rgba(55, 65, 81, 0.3);
}

/* Adjustments for code with line numbers */
.markdown .chroma {
  background-color: rgba(55, 65, 81, 0.5);
  border-radius: 0.375rem;
}

.markdown .lntable {
  width: 100%;
  border: none;
}

.markdown .lntd {
  padding: 0;
  border: none;
}

.markdown .lntd:first-child {
  width: 10px;
  text-align: right;
  padding-right: 10px;
  color: #6b7280;
  user-select: none;
} 