/* Custom styles for WOL Research Assistant */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

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

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

/* Dark mode scrollbar */
.dark ::-webkit-scrollbar-track {
    background: #1f2937;
}

.dark ::-webkit-scrollbar-thumb {
    background: #4b5563;
}

/* Message styling */
.message-user {
    background-color: #0ea5e9;
    color: white;
}

.message-assistant {
    background-color: #f3f4f6;
    color: #111827;
}

.dark .message-assistant {
    background-color: #374151;
    color: #f9fafb;
}

/* Markdown content styling */
.prose-message h1,
.prose-message h2,
.prose-message h3 {
    margin-top: 1em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.prose-message p {
    margin-bottom: 0.75em;
}

.prose-message ul,
.prose-message ol {
    margin-left: 1.5em;
    margin-bottom: 0.75em;
}

.prose-message blockquote {
    border-left: 3px solid #0ea5e9;
    padding-left: 1em;
    margin: 1em 0;
    font-style: italic;
}

.prose-message code {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
}

.dark .prose-message code {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .message-user,
    .message-assistant {
        max-width: 90% !important;
    }

    .prose-message {
        font-size: 0.95rem;
    }
}
