/* Styles globaux et generiques a toute la page (formulaire de selection,
   tableaux, indicateurs de simulation) - communs aux deux blocs. */
    body { font-family: Arial, sans-serif; max-width: 1100px; margin: 30px auto; color: #222; }
    h1 { color: #1F3864; }
    h2 { color: #1F3864; border-bottom: 2px solid #1F3864; padding-bottom: 4px; margin-top: 40px; }
    h3 { color: #2E4E8F; margin-bottom: 4px; }
    form.selection { background: #f2f2f2; padding: 15px; border-radius: 6px; margin-bottom: 20px; }
    select { padding: 6px; margin-right: 10px; }
    input[type=submit] { background: #1F3864; color: white; border: none; padding: 8px 18px; border-radius: 4px; cursor: pointer; }
    table { border-collapse: collapse; width: 100%; margin-bottom: 20px; font-size: 14px; }
    th, td { border: 1px solid #ccc; padding: 6px 10px; text-align: right; }
    th { background: #1F3864; color: white; }
    td:first-child, th:first-child { text-align: left; }
    tr:nth-child(even) { background: #f7f7f7; }
    .positif { color: #256029; }
    .negatif { color: #9C0006; }
    .total-row { font-weight: bold; background: #dbe4f0 !important; border-top: 2px solid #1F3864; }
    .simule-hausse { color: #0B5ED7; font-weight: bold; background: #E7F1FF; padding: 1px 4px; border-radius: 3px; }
    .simule-baisse { color: #9C0006; font-weight: bold; background: #FBE4E4; padding: 1px 4px; border-radius: 3px; }
    .simule-actif { font-weight: bold; }
    .deja-actif { color: #666; font-style: italic; }
    .en-revolte { background: #FBE4E4; color: #9C0006; font-weight: bold; }

    /* Navigation entre les 3 pages (upload/rapport/technologies) - boutons
       plutot que des liens texte, avec la page courante mise en avant. */
    .nav-boutons { display: flex; gap: 10px; margin: 12px 0 22px 0; flex-wrap: wrap; }
    .nav-bouton {
        display: inline-block;
        background: #eef2f8;
        color: #1F3864;
        border: 1px solid #c7d3e8;
        border-radius: 6px;
        padding: 9px 18px;
        text-decoration: none;
        font-size: 14px;
        font-weight: bold;
        transition: background 0.15s, border-color 0.15s;
    }
    a.nav-bouton:hover { background: #dbe4f0; border-color: #1F3864; }
    .nav-bouton.actif { background: #1F3864; color: white; border-color: #1F3864; cursor: default; }
