/* ============================================================
   OsezLouer — badges de statut de contrat de location
   A inclure dans index.html / OsezLouer.html apres style.css :
     <link rel="stylesheet" href="ozl.contrats.css">
   Classe : <span class="ozl-statut actif">Actif</span>
   (le jeton de classe vient de TContratsClient.StatutClasse)
   ============================================================ */

.ozl-statut {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}
.ozl-statut::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.ozl-statut.brouillon  { color: #6b7280; background: #eef1f4; }  /* gris   */
.ozl-statut.actif      { color: #1f9d55; background: #e6f5ec; }  /* vert   */
.ozl-statut.renouveler { color: #d9822b; background: #fbf0e3; }  /* orange */
.ozl-statut.reconduit  { color: #2f6df6; background: #e8f0ff; }  /* bleu   */
.ozl-statut.resilie    { color: #e02424; background: #fbe7e7; }  /* rouge  */
.ozl-statut.expire     { color: #8a4b00; background: #f3e7d6; }  /* brun   */
.ozl-statut.inconnu    { color: #6b7280; background: #eef1f4; }

/* Bandeau "contrats a echeance" (tableau de bord) */
.ozl-echeance-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fbf0e3;
  color: #8a4b00;
  font-size: 14px;
}
.ozl-echeance-alert strong { font-weight: 700; }

@media (max-width: 480px) {
  .ozl-statut { font-size: 11px; padding: 3px 9px; }
}
