.bgsloyalty-block {
  margin-bottom: 25px;
  padding: 20px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
}
.bgsloyalty-block h4 {
  margin-bottom: 8px;
}
.bgsloyalty-balance {
  font-size: 22px;
  font-weight: bold;
}
.bgsloyalty-social-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bgsloyalty-connected {
  color: #2e7d32;
  font-weight: bold;
}
.bgsloyalty-referral-link input {
  width: 100%;
  max-width: 420px;
  padding: 6px 10px;
}
.bgsloyalty-vouchers-list {
  list-style: none;
  padding: 0;
}
.bgsloyalty-vouchers-list li {
  padding: 6px 0;
  border-bottom: 1px dashed #e5e5e5;
}

/* Couleurs de la marque Kroma (jaune doré / rouge du logo) */
.bgsloyalty-kroma-alert {
  background-color: rgba(249, 195, 73, 0.4);
  border: 1px solid #D9362E;
  color: #D9362E;
  font-weight: bold;
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 15px;
}

/* Icône de la monnaie "Kromatiques" (uploadée en .ico depuis le BO) */
.bgsloyalty-icon {
  height: 20px;
  width: 20px;
  vertical-align: middle;
  margin-right: 6px;
  object-fit: contain;
}
.bgsloyalty-icon--tile {
  height: 2rem;
  width: 2rem;
  margin-right: 0;
}

/* Boutons ronds "Se connecter à" des réseaux sociaux */
.bgsloyalty-social-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #D9362E;
  color: #fff;
  transition: opacity 0.15s ease;
}
.bgsloyalty-social-icon:hover {
  opacity: 0.85;
  color: #fff;
}
.bgsloyalty-social-icon--connected {
  opacity: 0.5;
  cursor: default;
}
.bgsloyalty-social-check {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background-color: #2e7d32;
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* Tableau des filleuls */
.bgsloyalty-referrals-table {
  width: 100%;
  margin-top: 15px;
  border-collapse: collapse;
}
.bgsloyalty-referrals-table th,
.bgsloyalty-referrals-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid #e5e5e5;
}
.bgsloyalty-referrals-table th {
  font-size: 13px;
  text-transform: uppercase;
  color: #666;
}
.bgsloyalty-referral-status {
  font-size: 13px;
  font-weight: bold;
}
.bgsloyalty-referral-status--done {
  color: #2e7d32;
}
.bgsloyalty-referral-status--pending {
  color: #966400;
}
.bgsloyalty-referrals-empty {
  margin-top: 15px;
  color: #666;
  font-style: italic;
}

/* Barre de progression "montant dépensé par le filleul" */
.bgsloyalty-progress {
  width: 100%;
  min-width: 120px;
  max-width: 180px;
  height: 8px;
  background-color: #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 4px;
}
.bgsloyalty-progress-bar {
  height: 100%;
  background-color: #D9362E;
  border-radius: 4px;
  transition: width 0.3s ease;
}
