/* =====================================================
   Gestion de Frais V2 — ACEF
   Bootstrap 5 + personnalisations légères
   ===================================================== */

/* Décalage pour la navbar fixed-top */
body {
    padding-top: 56px;
    background-color: #f8f9fa;
}

/* Navbar — logo V2 badge */
.navbar-brand .badge {
    font-size: .6rem;
    vertical-align: middle;
}

/* Cards sans shadow par défaut — on les ajoute explicitement */
.card {
    border-radius: .75rem;
}

/* Tables compactes */
.table > :not(caption) > * > * {
    padding: .5rem .75rem;
}

/* Statuts frais — badges couleur */
.badge-en-attente  { background-color: #ffc107; color: #000; }
.badge-valide      { background-color: #198754; color: #fff; }
.badge-refuse      { background-color: #dc3545; color: #fff; }
.badge-rembourse   { background-color: #0d6efd; color: #fff; }
.badge-brouillon   { background-color: #6c757d; color: #fff; }

/* Plaque d'immatriculation */
.badge.letter-spacing-1 {
    letter-spacing: .1rem;
    font-size: .9rem;
    padding: .4rem .7rem;
}

/* Formulaires — labels plus légers */
.form-label {
    font-weight: 500;
    font-size: .875rem;
    margin-bottom: .3rem;
}

/* Input group text plus discret */
.input-group-text {
    background-color: #f8f9fa;
    color: #6c757d;
    font-size: .875rem;
}

/* Liens dans les tables */
.table a {
    text-decoration: none;
}
.table a:hover {
    text-decoration: underline;
}

/* Collapse row en archives */
.table tbody tr[data-bs-toggle="collapse"]:hover > td {
    background-color: #e9ecef;
}

/* Footer */
footer {
    font-size: .8rem;
    opacity: .8;
}

/* Responsive — réduire padding sur mobile */
@media (max-width: 576px) {
    main.container-fluid {
        padding-left: .75rem;
        padding-right: .75rem;
    }
}
