<style>
/* Styles généraux */
 body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    color: #333;
   width: 100vw;       /* prend toute la largeur */
    min-height: 100vh;  /* prend toute la hauteur */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch; /* étire les enfants sur toute la largeur */
  
}

header {
    background: #333;
    position: fixed;
    width: 100vw; 
    top: 0;
    left: 0;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 18px; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
    margin: 0;
    border-radius: 10px 10px 0 0;
    z-index: 100;
}

.classex {
    position: fixed; 
    background: #333;
    left:0;
    width: 100vw; 
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 18px;
    border-radius: 0 0 10px 10px;
    margin: 0;
     bottom: 0;
     z-index: 100;
}

 
    
.container {
    position: relative;  
    width: 90vw; 
    max-width: 90%;   /* limite max en grand écran */
    margin: 35px 10px 0 10px; /* sous le header */
    padding: 15px;
    box-sizing: border-box;
    margin-bottom: 30px;
}
 
    
    .content {
        background: #fff;
        padding: 20px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        margin-top: 20px;
    }
    .content img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 20px auto;
    }
/* Listes avec puces visibles */
.content ul {
    list-style-type: disc; /* puces en forme de points */
    padding-left: 40px; /* Décalage pour voir les puces */
    margin-bottom: 20px;
}

.content ul li {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Images centrées */
.centered-image {
    width: 85%;
    height: 150px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
}

.image-container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.centered-image {
    width: 30%;
    height: auto;
}

/* Fieldset container */
.fieldset-container {
    width: 920px;
    height: 200px;
    border: 1px solid #000;
    margin: 5px auto;
}

.fieldset-container fieldset {
    width: 100%;
    height: 100%;
    border: none;
}

/* Titres et liens */
h1 {
    text-align: center;
}

a {
    text-decoration: none;
    color: #1a0dab;
}

a:hover {
    text-decoration: underline;
}

/* Indicateurs et résumés */
.indicator {
    font-style: italic;
}

.summary {
    background-color: #d1ecf1;
    padding: 15px;
    border-left: 5px solid #0c5460;
}

/* Menu fixe avec déroulant */
.fixed-menu {
    position: fixed;
    top: 325px;
    right: 20px;
    z-index: 10;
    width: 100px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.fixed-menu .dropbtn {
    background-color: transparent;
    color: green;
    font-size: 14px;
    border: none;
    cursor: pointer;
    width: 100%;
    padding: 8px;
}

.fixed-menu .dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.fixed-menu .dropdown-content {
    display: none;
    position: absolute;
    top: 60px;
    right: -15px;
    background-color: #f9f9f9;
    min-width: 130px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    border-radius: 5px;
    overflow: hidden;
    z-index: 20;
}

.fixed-menu .dropdown-content a {
    color: #333;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-size: 13px;
}

.fixed-menu .dropdown-content a:hover {
    background-color: #d4edda;
}

.fixed-menu .dropdown.show .dropdown-content {
    display: block;
}


.sidebar {
    position: fixed;
    top: 115px;          /* hauteur depuis le haut */
    right: 10px;         /* collé au bord droit */
    display: flex;
    flex-direction: column; /* disposition verticale */
    align-items: center;    /* centré horizontalement */
    gap: 5px;              /* espace vertical entre éléments */
    z-index: 10;
}

.sidebar a {
    display: inline-block;
    text-decoration: none;
}

.sidebar img {
    width: 45px;
    height: 45px;
}


    /* Style pour centrer les tables et améliorer leur apparence */
    table {
        margin: 20px auto;
        border-collapse: collapse;
      /*  table-layout: fixed;  // Facultatif mais améliore le comportement */
        width: 90%;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
        border-radius: 10px;
        overflow: hidden;
        background-color: #f5f5f5; /* #f2f2f2; */
        font-size:14px; 
    }
 
    
    table th, table td {
        border: 1px solid #ccc;
        padding: 10px;
        text-align: center;
    }

    table th {
        background-color: white;/*   #f8f9fa;   #f2f2f2; ok */
        font-weight: bold;
    }

    table tr:nth-child(even) {
        background-color:  white; /*   #f5f5f5;   #f2f2f2;    #ccffcc  #f9f9f9;  lightyellow ok */
    }

    /* Style pour les options spécifiques */
    .option-special {
        background-color: yellow; /* Couleur de fond */
        color: red; /* Couleur du texte */
    }

    .input-filled {
        background-color: #e6f7ff; /* Couleur bleu très clair */
    }
    
/* Responsive */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .image-container {
        flex-direction: column;
        align-items: center;
    }

    .centered-image {
        width: 80%;
        margin-bottom: 10px;
    }

    .fieldset-container {
        width: 100%;
        height: auto;
    }

    .indicator {
        font-style: italic;
    }

    .summary {
        background-color: #d1ecf1;
        padding: 15px;
        border-left: 5px solid #0c5460;
    }

    .fixed-menu {
        top: 250px; /* Ajustement sur mobile */
        width: 90px;
    }

    .fixed-menu .dropdown-content {
        right: 0;
    }
}
</style>
