body {
    margin: 0;
    font-size: 20px;
    font-family: sans-serif
}
/*---Menu---*/
nav {
    background-color: #918ec5;
    padding: 30px 0;
    text-align: center;
}
nav a {
    color: #000000;
    text-decoration: none;
    padding: 20px;
}
nav a:hover {
    background-color: #201f38;
    color: #918ec5;
}

/*---Formulaire---*/
section form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}
form div {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 20px;
    gap: 5px;
}
form select {
    font-size: 18px;
    height: 2em;
}
form button {
    background-color: #918ec5;
    border: none;
    border-radius: 4px;
    text-align: center;
    width: auto;
    padding: 15px;
    font-size: 20px;
}
form button:hover {
    background-color: #201f38;
    color: #918ec5;
}

/*---Résultat des tableaux---*/
table {
    margin: 20px auto;
    border-collapse: collapse;
    width: 80%;
    max-width: 600px;
}
table th, table td {
    padding: 10px;
    text-align: center;
}
table thead {
    background-color: #918ec5;
}

/*---Checkbox et radio---*/
input[type=checkbox], input[type="radio"] {
        width: 20px;
        height: 20px;
        accent-color: #918ec5;
}
.ligne-unique {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px;
}
.groupe-radio {
        display: flex;
        flex-direction: column;
        gap: 8px;
}

.groupe-radio p {
    margin: 0 0 5px 0;
    font-weight: bold;
}
form p {
    display: block;
    width: 100%;
    margin-bottom: 10px; 
    font-weight: bold;
    margin-top: 15px;
    text-align: center;
}
.option_mentorat {
    margin-bottom: 5px;
}

/*--- Page Recherche des notes d'un étudiant ---*/
section {
    text-align: center;
}
#code_permanent {
    width: 400px;
    height: 2em;
}