* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header img {
    height: 90px;
    width: 90px;
}

header h1 {
    flex-grow: 1;
    text-align: center;
    font-size: 2em;
}

.main {
    display: flex;
    flex: 1;
}

nav {
    background-color: #f4f4f4;
    width: 20%;
    padding: 15px;
    border-right: 1px solid #ddd;
}

nav ul {
    list-style: none;
}

nav ul li {
    margin: 10px 0;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1.2em;
}

.content {
    flex: 1;
    padding: 20px;
    background-color: #fff;
}

#centre {
    width: 100%;
}

#centre .title {
    text-align: center;
    background-color: #f9f9f9;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: bold;
}

#centre .columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

#centre .columns div {
    flex: 1;
    padding: 15px;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#centre .columns div h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
    text-align: center;
}

footer {
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: space-around;
    padding: 20px;
    flex-wrap: wrap;
}

footer div {
    margin: 10px;
    width: 30%;
}

footer div h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
}

footer ul {
    list-style: none;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
}

footer ul li {
    margin: 5px 0;
}

#liste table th {
    background-color: #a0a0f0; 
    font-weight: bold;         
    text-align: center;          
    padding: 5px;              
}

#liste table td {
    border: 1px solid black; 
    padding: 5px;           
}

.classmnt {
    width: 20%;
    text-align: right;
    padding-right: 5px;
}

.selected {
    width: 20%;
    text-align: center;
    padding-right: 5px;
}

.input-lock {
    border: 1px solid gray;   
    background-color: #e0e0e0;  /* Fond gris clair */
    color: #181818;                /* Texte grisé */
    cursor: not-allowed;        /* Curseur non interactif */
    font-style: italic;
  }

.result ul {
    list-style-type: none;
}
#liste table {
    width: calc(100% - 20px); 
    margin: 10px;            
    padding: 5px;            
    border: 1px solid black; 
    border-collapse : collapse;
}

@media (max-width: 768px) {
    nav {
        width: 30%;
    }

    footer div {
        width: 100%;
        text-align: center;
    }

    #centre .columns {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    nav {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    header h1 {
        font-size: 1.5em;
    }
}