/* Custom styling and dark theme overrides */
@keyframes pulse-slow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.animate-pulse-slow {
  animation: pulse-slow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

.tab-active {
  background-color: #1e293b;
  color: #38bdf8;
  border-left: 3px solid #38bdf8;
}

.code-block {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Markdown rendered output styling */
.markdown-content {
  line-height: 1.6;
  color: #e2e8f0;
}
.markdown-content h1, .markdown-content h2, .markdown-content h3, .markdown-content h4 {
  font-weight: 700;
  color: #f8fafc;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
.markdown-content h1 { font-size: 1.25rem; }
.markdown-content h2 { font-size: 1.1rem; }
.markdown-content h3 { font-size: 0.95rem; }
.markdown-content p {
  margin-bottom: 0.75rem;
}
.markdown-content ul, .markdown-content ol {
  margin-left: 1.25rem;
  margin-bottom: 0.75rem;
}
.markdown-content ul { list-style-type: disc; }
.markdown-content ol { list-style-type: decimal; }
.markdown-content li { margin-bottom: 0.25rem; }
.markdown-content pre {
  background-color: #020617;
  border: 1px solid #1e293b;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  margin: 0.75rem 0;
}
.markdown-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background-color: #0f172a;
  padding: 0.15rem 0.35rem;
  border-radius: 0.25rem;
  font-size: 0.85em;
  color: #38bdf8;
}
.markdown-content pre code {
  background-color: transparent;
  padding: 0;
  color: #f1f5f9;
}
.markdown-content blockquote {
  border-left: 3px solid #38bdf8;
  padding-left: 0.75rem;
  color: #94a3b8;
  margin: 0.75rem 0;
}
.markdown-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0;
}
.markdown-content th, .markdown-content td {
  border: 1px solid #1e293b;
  padding: 0.5rem 0.75rem;
}
.markdown-content th {
  background-color: #0f172a;
  font-weight: 600;
}

/* Fixed Layout Containers for Dashboard */
html.dashboard-layout, body.dashboard-layout {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

