/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Custom markdown styling */
.prose-invert {
  color: #d1d5db;
}

.prose-invert h1,
.prose-invert h2,
.prose-invert h3,
.prose-invert h4,
.prose-invert h5,
.prose-invert h6 {
  color: #f3f4f6;
}

.prose-invert code {
  background-color: #374151;
  color: #f3f4f6;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

.prose-invert pre {
  background-color: #1f2937;
  border: 1px solid #374151;
  border-radius: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
}

.prose-invert pre code {
  background-color: transparent;
  padding: 0;
}

.prose-invert blockquote {
  border-left: 4px solid #4b5563;
  padding-left: 1rem;
  color: #9ca3af;
}

.prose-invert a {
  color: #60a5fa;
  text-decoration: underline;
}

.prose-invert a:hover {
  color: #93c5fd;
}

.prose-invert ul,
.prose-invert ol {
  padding-left: 1.5rem;
}

.prose-invert li {
  margin-bottom: 0.25rem;
}

/* Ensure numbered list numbers are visible */
.prose-invert ol {
  list-style-type: decimal;
  color: #d1d5db;
}

.prose-invert ol li {
  color: #d1d5db;
}

.prose-invert ol li::marker {
  color: #f3f4f6;
  font-weight: 600;
}

.prose-invert table {
  border-collapse: collapse;
  width: 100%;
}

.prose-invert th,
.prose-invert td {
  border: 1px solid #374151;
  padding: 0.5rem;
  text-align: left;
}

.prose-invert th {
  background-color: #374151;
  font-weight: 600;
}
