/* Custom CSS to supplement Tailwind */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #666;
}

.markdown-body p {
    margin-bottom: 0.75em;
}
.markdown-body pre {
    background: #0d1117;
    padding: 1em;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-bottom: 1em;
}
.markdown-body code {
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 85%;
    background: rgba(255,255,255,0.1);
    padding: 0.2em 0.4em;
    border-radius: 3px;
}
.markdown-body pre code {
    background: transparent;
    padding: 0;
}
.markdown-body a {
    color: #58a6ff;
    text-decoration: none;
}
.markdown-body a:hover {
    text-decoration: underline;
}
.markdown-body ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-bottom: 1em;
}
.markdown-body ol {
    list-style-type: decimal;
    padding-left: 1.5em;
    margin-bottom: 1em;
}

/* Cursor for typing effect */
.typing-cursor::after {
    content: '▋';
    animation: blink 1s step-start infinite;
    color: #e5e7eb;
}
@keyframes blink {
    50% { opacity: 0; }
}

.message-appear {
    animation: slideUp 0.3s ease-out forwards;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
