/* -- Boutons --------------------------------------------------------- */

button,
input[type=button],
input[type=submit] {
    display: inline-block;
    box-sizing: border-box;
    padding: 1em 1.5em;
    margin: 1em 0;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    /* Desactive: la transition des boutons provoque un glitch visuel. */
}
button.submit_precedent,
input[type=submit].submit_precedent {
    margin-right: .5em;
}

/* -- Radio / Checkbox ----------------------------------------------- */

input[type=radio],
input[type=checkbox] {
    width: 40px;
}
input[type=radio]:checked + label,
input[type=checkbox]:checked + label {
    font-weight: 600;
}
input[type=file] {}

/* -- Checkbox stylée Font Awesome ------------------------------------ */

.checkbox input[type=checkbox] {
    display: none;
}
.checkbox input[type=checkbox] + label:before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: 'Font Awesome 6 Free', serif;
    font-weight: normal;
    padding: 0 .5em;
    width: 20px;
    height: 20px;
    font-size: 20px;
    content: "\f0c8";
}
.checkbox input[type=checkbox]:checked + label:before {
    content: "\f14a";
}
