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

.chat-markdown p { margin-bottom: 0.5em; }
.chat-markdown p:last-child { margin-bottom: 0; }
.chat-markdown ul, .chat-markdown ol { margin-left: 1.25em; margin-bottom: 0.5em; }
.chat-markdown ul { list-style-type: disc; }
.chat-markdown ol { list-style-type: decimal; }
.chat-markdown strong { font-weight: 600; }
.chat-markdown code { background: #f3f4f6; padding: 0.1em 0.3em; border-radius: 0.25em; font-size: 0.85em; }
.chat-markdown pre { background: #f3f4f6; padding: 0.75em; border-radius: 0.375em; overflow-x: auto; margin-bottom: 0.5em; }
.chat-markdown pre code { background: none; padding: 0; }
.chat-markdown a { color: #7c3aed; text-decoration: underline; }

.toast-exit {
  animation: toast-slide-out 0.3s ease-in forwards;
}
@keyframes toast-slide-out {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(calc(100% + 1rem)); opacity: 0; }
}
