body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

.entete
{
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 15px;
}

.entete-aide
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logo_fis {
    height: 50px;
    width: auto;
}

.logo_ffs {
    height: 60px;
    width: auto;
}

.entete h1
{
    margin: 0;

    text-align: center;

    flex: 1;
}

.parametres
{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.calculation-id {
    width: 10ch;
}

.version
{
    font-size: 0.45em;
    font-weight: normal;
    color: #666;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th {
    background-color: #e8e8e8;
}

th,
td {
    border: 1px solid #999;
    padding: 4px;
}

input {
    width: 100%;
    box-sizing: border-box;
    padding: 4px;
}

.dossard {
    text-align: center;
}

.tm,
.te {
    font-family: Consolas, monospace;
}
.te-eet
{
    background-color: #fff2a8 !important;
    font-weight: bold !important;
}

.delta {
    color: gray;
    text-align: center;
    font-weight: bold;
}

.delta-warning {
    background-color: yellow;
    color: black;
    text-align: center;
    font-weight: bold;
}

.ligne-total td
{
    border-top: 2px solid #666;
}

.delta-total
{
    text-align: center;
    font-weight: bold;
}

button {
    padding: 8px 16px;
    margin-right: 10px;
}

.ligne-eet {
    background-color: #dff0ff;
}

.ligne-eet-calculee td
{
    background-color: #d9f2ff;
}

.ligne-eet-calculee input
{
    background-color: #d9f2ff;
    font-weight: bold;
}

#message_validation {
    margin-top: 10px;
    font-weight: bold;
}

.resultat
{
    border-collapse: collapse;
    margin-top: 10px;
}

.resultat td
{
    border: 1px solid #999;
    padding: 6px 12px;
}

.resultat td:first-child
{
    font-weight: bold;
}

.resultat td:last-child
{
    text-align: right;
    min-width: 120px;
}

.conteneur
{
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.zone-grille
{
    flex: 1;
}

.zone-resultat
{
    width: 320px;

    border: 1px solid #999;
    padding: 15px;

    background: #f7f7f7;
}

.zone-resultat h2
{
    margin-top: 0;
    text-align: center;
    font-size: 1.4em;
}

.resultat
{
    width: 100%;
    border-collapse: collapse;
}

.resultat td
{
    border: 1px solid #999;
    padding: 8px;
}

.resultat td:first-child
{
    font-weight: bold;
}

.resultat td:last-child
{
    text-align: right;
}

.total-label
{
    font-weight: bold;
}

.zone-options-resultat
{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.option-affichage
{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.footer
{
    margin-top: 20px;

    text-align: center;

    font-size: 11px;

    color: #808080;
}

.conteneur.resultat-dessous
{
    flex-direction: column;
}

.conteneur.resultat-dessous .zone-grille
{
    width: 100%;
}

.conteneur.resultat-dessous .zone-grille
{
    width: 100%;
}

.conteneur.resultat-dessous .zone-resultat
{
    margin-top: 20px;
}

/*
 * Recherche de calcul
 */

.zone-bascule-recherche {
    margin-bottom: 15px;
}

.recherche-bib {
    margin-right: 15px;
}

.recherche-calcul button {
    margin-top: 10px;
}

.flash {
    margin: 10px 0 15px 0;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 600;
}

.flash.error {
    background: #ffe6e6;
    color: #900;
    border: 1px solid #c66;
}

.flash.warning {
    background: #fff5d6;
    color: #8a6d00;
    border: 1px solid #d4b44c;
}

.flash.info {
    background: #e6f3ff;
    color: #005a9c;
    border: 1px solid #7fb3e6;
}

.flash.success {
    background: #e8f8e8;
    color: #1f6b1f;
    border: 1px solid #66aa66;
}