/* Styles pour le guide d'utilisateur en Markdown */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
}

h1, h2, h3, h4, h5, h6 {
    color: #2e8b57;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

h1 {
    border-bottom: 2px solid #2e8b57;
    padding-bottom: 10px;
    font-size: 2.2em;
}

h2 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    font-size: 1.8em;
}

h3 {
    font-size: 1.5em;
}

a {
    color: #2e8b57;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

code {
    background-color: #f0f0f0;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
    font-size: 0.9em;
}

pre {
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    border: 1px solid #ddd;
}

blockquote {
    border-left: 4px solid #2e8b57;
    padding-left: 15px;
    color: #666;
    margin-left: 0;
    margin-right: 0;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
}

table, th, td {
    border: 1px solid #ddd;
}

th {
    background-color: #2e8b57;
    color: white;
    padding: 10px;
    text-align: left;
}

td {
    padding: 8px 10px;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

ul, ol {
    padding-left: 25px;
}

li {
    margin-bottom: 8px;
}

strong {
    color: #2e8b57;
}

hr {
    border: none;
    height: 1px;
    background-color: #ddd;
    margin: 30px 0;
}

/* Style pour les notes et avertissements */
.note, .warning, .tip {
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    border-left: 5px solid;
}

.note {
    background-color: #e6f5ee;
    border-left-color: #2e8b57;
}

.warning {
    background-color: #fff3cd;
    border-left-color: #ffc107;
}

.tip {
    background-color: #d4edda;
    border-left-color: #28a745;
}

/* Style pour la table des matières */
#table-des-matières {
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 30px;
}

#table-des-matières ul {
    list-style-type: none;
    padding-left: 15px;
}

/* Impression */
@media print {
    body {
        background-color: white;
        font-size: 12pt;
    }
    
    a {
        color: #000;
        text-decoration: none;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }
    
    img, table, figure {
        page-break-inside: avoid;
    }
    
    pre, blockquote {
        page-break-inside: avoid;
    }
}