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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#messages-container::-webkit-scrollbar {
  width: 8px;
}
#messages-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}
#messages-container::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #128c7e, #075e54);
  border-radius: 10px;
}
#messages-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #0f7a6b, #054f47);
}

/* Blog article body. Tailwind's typography plugin is not installed, so the
   markdown output from Kramdown is styled explicitly here. */
.post-content {
  color: #374151;
  line-height: 1.75;
}
.post-content > * + * {
  margin-top: 1.25rem;
}
.post-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin-top: 2.5rem;
}
.post-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  margin-top: 2rem;
}
.post-content a {
  color: #059669;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.post-content a:hover {
  color: #047857;
}
.post-content strong {
  font-weight: 600;
  color: #111827;
}
.post-content ul,
.post-content ol {
  padding-left: 1.5rem;
}
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li + li { margin-top: 0.5rem; }
.post-content blockquote {
  border-left: 4px solid #10b981;
  background: #ecfdf5;
  padding: 1rem 1.25rem;
  border-radius: 0 0.5rem 0.5rem 0;
  color: #065f46;
}
.post-content blockquote > * + * { margin-top: 0.75rem; }
.post-content code {
  background: #f3f4f6;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
}
.post-content pre {
  background: #111827;
  color: #f9fafb;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  overflow-x: auto;
}
.post-content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
}
.post-content th,
.post-content td {
  border: 1px solid #e5e7eb;
  padding: 0.6rem 0.75rem;
  text-align: left;
}
.post-content th {
  background: #f9fafb;
  font-weight: 600;
  color: #111827;
}
.post-content hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin-top: 2.5rem;
}
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
}
