/* Ajustements propres à l'application, au-dessus de Bootstrap 5.3. */

.navbar-brand .bi {
    margin-right: .35rem;
}

.table td,
.table th {
    vertical-align: middle;
}

.mot-de-passe-temporaire {
    font-family: var(--bs-font-monospace);
    font-size: 1.15rem;
    letter-spacing: .05em;
    user-select: all;
}

/* Registre : les quittances annulées restent lisibles mais visiblement hors total. */
.registre .quittance-annulee td {
    color: var(--bs-secondary-color);
    background-color: var(--bs-tertiary-bg);
}

.registre .quittance-annulee .montant {
    text-decoration: line-through;
}

/* Aperçu des rapports : proche du formulaire papier, imprimable. */
.rapport-tableau thead th {
    background-color: var(--bs-tertiary-bg);
    font-size: .8rem;
    vertical-align: middle;
}

.rapport-emplacement {
    border: 1px dashed var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    padding: .75rem;
}

@media print {
    body {
        background: #fff !important;
    }

    .rapport {
        border: 0 !important;
        box-shadow: none !important;
    }

    .rapport .table-responsive {
        overflow: visible !important;
    }

    .rapport-tableau thead {
        display: table-header-group;
    }

    .rapport-tableau tr {
        break-inside: avoid;
    }
}

.rapport-logo {
    width: 4.5rem;
    height: auto;
}

.rapport-signature {
    min-height: 6rem;
}
