html {
    /* Default is usually 16px. Try 15px or 14px for a smaller scale */
    font-size: 15px; 
}

.markdown-content h1 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 1em;
    color: #1a202c;
}

.markdown-content h2 {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #2d3748;
}

.markdown-content ul {
    list-style-type: disc;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.markdown-content p {
    margin-bottom: 1em;
    line-height: 1.6;
}

.markdown-content a {
    color: #4299e1;
    text-decoration: underline;
}

.markdown-content strong {
    font-weight: bold;
} 

.message-bubble {
    @apply mb-4 max-w-[80%];
}

.message-bubble.assistant {
    @apply self-start;
}

.message-bubble.assistant .bubble-content {
    @apply bg-[#353541] text-white rounded-lg px-4 py-2;
}

.message-bubble.user {
    @apply self-end;
}

.message-bubble.user .bubble-content {
    @apply bg-blue-600 text-white rounded-lg px-4 py-2;
}

/* Prevent flash of unstyled content for top navigation */
#topnav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px; /* 16 * 4 = 64px (h-16 in Tailwind) */
    background-color: #1F1F29; /* Same as navigation background */
    z-index: 50;
}

