body {
    font-family: 'Roboto', sans-serif;
    background-color: #374852;
    color: #f8fafc;
}

.prose h1 { 
    font-size: 1.5rem; 
    font-weight: 700; 
    margin-bottom: 0.5rem; 
    color: #f8fafc; 
    border-bottom: 1px solid #4b5e6b; 
    padding-bottom: 0.5rem; 
}

.prose h2 { 
    font-size: 1.2rem; 
    font-weight: 700; 
    margin-top: 1.25rem; 
    margin-bottom: 0.5rem; 
    color: #00abc4; 
}

.prose p { 
    margin-bottom: 0.75rem; 
    color: #cbd5e1; 
    line-height: 1.5; 
}

.prose hr { 
    border-color: #4b5e6b; 
    margin: 1.25rem 0; 
}

.prose blockquote { 
    border-left: 4px solid #00abc4; 
    padding-left: 1rem; 
    margin: 0.75rem 0; 
    color: #e2e8f0; 
    background: rgba(0, 171, 196, 0.08); 
    padding-top: 0.5rem; 
    padding-bottom: 0.5rem; 
    border-radius: 0 0.375rem 0.375rem 0; 
}

.prose img { 
    border-radius: 0.5rem; 
    margin-top: 1rem; 
    max-height: 480px; 
    object-fit: contain; 
    width: 100%; 
    border: 1px solid #4b5e6b; 
    background-color: #26333b; 
    padding: 0.5rem; 
}

/* Lisibilité des logigrammes */
.mermaid {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0;
    display: flex;
    justify-content: flex-start;
}

@media (min-width: 768px) {
    .mermaid {
        justify-content: center;
    }
}

.mermaid svg {
    min-width: 650px !important;
    max-width: none !important;
    height: auto !important;
    font-size: 16px !important;
}

/* Personnalisation fine de la barre de défilement en bleu */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #00abc4 #2a3840;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #2a3840;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #00abc4;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #008fa4;
}