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

#messages:has([id^="message_"]) .chat-empty-state { display: none; }

.chat-content > p { margin: 0; }
.chat-content > p + p { margin-top: 0.25rem; }
.chat-content ul, .chat-content ol { margin: 0.25rem 0 0.25rem 1.25rem; }
.chat-content ul { list-style-type: disc; }
.chat-content ol { list-style-type: decimal; }
.chat-content a { text-decoration: underline; }
.chat-content a:hover { opacity: 0.75; }
.chat-content code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.875em; background: #e5e7eb; padding: 0.1em 0.3em; border-radius: 0.2em; }
.chat-content pre { background: #f3f4f6; border: 1px solid #e5e7eb; border-radius: 0.375rem; padding: 0.5rem 0.75rem; margin: 0.25rem 0; overflow-x: auto; line-height: 12px; }
.chat-content pre code { background: none; padding: 0; font-family: 'JetBrains Mono', 'Courier New', monospace; font-size: 0.8125em; line-height: 15px; }
.chat-content blockquote { border-left: 3px solid #d1d5db; margin: 0.25rem 0; padding: 0.1rem 0.75rem; color: #6b7280; }

/* Dark mode overrides for custom chat styles */
.dark .chat-content code { background: #374151; }
.dark .chat-content pre { background: #1f2937; border-color: #374151; }
.dark .chat-content pre code { background: none; }
.dark .chat-content blockquote { border-left-color: #4b5563; color: #9ca3af; }
