/* ===== FINANCING MODES PILLS ===== */
.financing-modes-pills {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  min-height: 1.5rem;
  flex-wrap: nowrap;
  overflow: hidden;
}

.financing-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border-width: 1px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  transition: all 500ms ease-in-out;
}

.financing-pill-text {
  display: inline-block;
  transition: opacity 500ms ease-in-out, width 500ms ease-in-out;
  white-space: nowrap;
}

/* Pills actives (avec texte) */
.financing-pill-active {
  padding: 0.09rem 0.5rem;
  min-width: 60px;
}

.financing-pill-active .financing-pill-text {
  opacity: 1;
  width: auto;
}

/* Pills inactives (cercles) */
.financing-pill-inactive {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  min-width: 0.5rem;
}

.financing-pill-inactive .financing-pill-text {
  opacity: 0;
  width: 0;
  overflow: hidden;
}

/* Couleurs pour chaque mode */
.financing-pill-cash {
  background-color: #dcfce7;
  color: #166534;
  border-color: transparent;
  font-size: 0.65rem;
}

.financing-pill-par-tranche {
  background-color: #dbeafe;
  color: #1e40af;
  border-color: transparent;
  font-size: 0.65rem;
}

.financing-pill-credit-bancaire {
  background-color: #f3e8ff;
  color: #6b21a8;
  border-color: transparent;
  font-size: 0.65rem;
}

.financing-pill-credit-bancaire-islamique {
  background-color: #fed7aa;
  color: #9a3412;
  border-color: transparent;
  font-size: 0.65rem;
}

