/* =====================================================================
   IMMO-2026.09.26-01  —  style_formulaire_inventaire.css
   Formulaire "Generer un inventaire" (complete style_formulaire_facture.css).
   Classes prefixees .inv-* pour ne pas deborder sur les autres formulaires.
   ---------------------------------------------------------------------
   Historique (anti-chronologique) :
   - 2026.09.26-01 : creation.
   ===================================================================== */

.hint-langue-en[hidden] { display: none; }

/* ---- Lignes d'inventaire (mode simple) ---- */
.inv-lignes-entete,
.inv-lignes .inv-ligne {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 80px 1.4fr 34px;
    gap: 8px;
    align-items: center;
}
.inv-lignes-entete {
    margin: 10px 0 4px;
    font-size: .8rem;
    font-weight: 600;
    color: #546e7a;
}
.inv-lignes .inv-ligne { margin-bottom: 8px; }
.inv-lignes .inv-ligne input { width: 100%; min-width: 0; box-sizing: border-box; }
.inv-lignes .inv-qte { text-align: center; }
.inv-lignes .remove_inventaire {
    width: 30px;
    height: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    color: #999;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.inv-lignes .remove_inventaire:hover { color: #c62828; border-color: #c62828; background: #ffebee; }

/* ---- Resume de l'inventaire (mode premium) ---- */
.inv-resume-intro { margin: 0 0 8px; color: #37474f; }
.inv-resume {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}
.inv-resume li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    border-bottom: 1px solid #eee;
}
.inv-resume li:last-child { border-bottom: none; }
.inv-resume-piece { flex: 1; font-weight: 600; color: #1e3d33; }
.inv-resume-etage { font-size: .8rem; color: #78909c; }
.inv-resume-nb {
    font-size: .8rem;
    padding: 2px 10px;
    border-radius: 10px;
    background: #fef3c7;
    color: #92400e;
    font-weight: 600;
}
.inv-resume-lien { margin: 0; font-size: .9rem; }
.inv-resume-lien a { color: #1f7955; }

.inv-alerte {
    background: #fff7ed;
    border: 1px solid #fcd9a8;
    border-left: 4px solid #f59e0b;
    border-radius: 6px;
    padding: 12px 16px;
}
.inv-alerte p { margin: 0 0 10px; }

.btn-submit[disabled] { opacity: .5; cursor: not-allowed; }

@media (max-width: 700px) {
    .inv-lignes-entete { display: none; }
    .inv-lignes .inv-ligne {
        grid-template-columns: 1fr 1fr;
        padding-bottom: 8px;
        border-bottom: 1px dashed #e0e0e0;
    }
    .inv-lignes .remove_inventaire { justify-self: end; }
}
