/*
 * 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.
 */

/* Markdown/Prose styling for chat messages */
.prose {
  line-height: 1.6;
}

.prose p {
  margin-bottom: 0.75em;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
  font-weight: 600;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

.prose h1 { font-size: 1.25em; }
.prose h2 { font-size: 1.15em; }
.prose h3 { font-size: 1.05em; }

.prose ul, .prose ol {
  margin: 0.5em 0;
  padding-left: 1.5em;
}

.prose ul { list-style-type: disc; }
.prose ol { list-style-type: decimal; }

.prose li {
  margin: 0.25em 0;
}

.prose code {
  background-color: #f3f4f6;
  padding: 0.125em 0.375em;
  border-radius: 0.25em;
  font-size: 0.875em;
  font-family: ui-monospace, monospace;
}

.prose pre {
  background-color: #1f2937;
  color: #f9fafb;
  padding: 0.75em 1em;
  border-radius: 0.375em;
  overflow-x: auto;
  margin: 0.75em 0;
}

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

.prose strong {
  font-weight: 600;
}

.prose a {
  color: #4f46e5;
  text-decoration: underline;
}

.prose blockquote {
  border-left: 3px solid #d1d5db;
  padding-left: 1em;
  margin: 0.75em 0;
  color: #6b7280;
}
