/* Custom CSS for RAG Evaluation Web App */

/* Markdown rendering styles */
.prose {
    color: #1a1a2e;
    line-height: 1.75;
}

.prose h1 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.prose h2 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.prose h3 {
    font-size: 1.125rem;
    font-weight: bold;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    color: #1a1a2e;
}

.prose p {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.prose ul, .prose ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.prose code {
    background-color: #f5f5f5;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.875rem;
    color: #d63384;
}

.prose pre {
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

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

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.prose th, .prose td {
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.prose th {
    background-color: #f3f4f6;
    font-weight: bold;
}

.prose tr:nth-child(even) {
    background-color: #f9fafb;
}

.prose strong {
    font-weight: bold;
    color: #1a1a2e;
}

.prose em {
    font-style: italic;
}

.prose blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 1rem;
    margin-left: 0;
    color: #6b7280;
    font-style: italic;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Console styling */
#console {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.75rem;
    line-height: 1.4;
}

/* Smooth transitions */
* {
    transition-property: background-color, border-color, color;
    transition-duration: 150ms;
    transition-timing-function: ease-in-out;
}
