/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
}

/* Markdown generated content styles for Prism/Marked output */
#output h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

#output h2 {
    font-size: 1.875rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #374151;
}

#output h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #4b5563;
}

#output p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: #4b5563;
}

#output ul,
#output ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}

#output pre {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
}

#output code {
    font-family: 'Fira Code', monospace;
}

#output a {
    color: #4f46e5;
    text-decoration: underline;
}

/* Custom Blockquote for Insights */
#output blockquote {
    background-color: #fefce8;
    /* yellow-50 */
    border-left: 4px solid #eab308;
    /* yellow-500 */
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0.375rem;
    color: #854d0e;
    /* yellow-800 */
    font-style: italic;
}

/* Custom Blockquote for Analogies (Green) */
#output blockquote.analogia-quote {
    background-color: #f0fdf4;
    /* green-50 */
    border-left-color: #22c55e;
    /* green-500 */
    color: #166534;
    /* green-800 */
}

/* Layout Fixes for Sticky Footer and Structure */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Ensure wrapper divs also expand if they exist */
body>div[class*="mx-auto"] {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    /* Ensure full width constrain */
}

main {
    flex: 1;
    /* Pushes footer down */
    width: 100%;
    /* Ensure proper width */
}