/* PBF Reassurance Bar Widget — style.css */

.dsd-rb-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 24px 32px;
}

/* ── Layout : En ligne (défaut) ── */
.dsd-rb-layout-inline {
  flex-direction: row;
  flex-wrap: wrap;
}

/* ── Layout : Grille 2×2 ── */
.dsd-rb-layout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

/* ── Layout : Empilé ── */
.dsd-rb-layout-stacked {
  flex-direction: column;
  align-items: stretch;
}

/* ── Séparateur vertical ── */
.dsd-rb-has-separator .dsd-rb-item {
  position: relative;
}
.dsd-rb-has-separator .dsd-rb-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: calc(-16px - 0.5px);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background-color: #e5e7eb;
}

/* ── Bloc item ── */
.dsd-rb-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 1 auto;
}

.dsd-rb-layout-stacked .dsd-rb-item {
  justify-content: flex-start;
}

/* ── Icône ── */
.dsd-rb-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dsd-rb-emoji {
  font-size: 24px;
  line-height: 1;
}
.dsd-rb-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.dsd-rb-svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 24px;
}
.dsd-rb-svg-icon svg {
  width: 1em;
  height: 1em;
}
/* Force la propagation de la couleur sur tous les enfants SVG (paths, circles, rects…).
   Nécessaire pour les libs qui utilisent fill/stroke hardcodés (Huge Icons, Tabler, Lucide…). */
.dsd-rb-svg-icon svg,
.dsd-rb-svg-icon svg *:not([fill="none"]) {
  fill: currentColor;
}
.dsd-rb-svg-icon svg *:not([stroke="none"]) {
  stroke: currentColor;
}
.dsd-rb-svg-icon i {
  font-size: 1em;
  color: inherit;
}

/* ── Body ── */
.dsd-rb-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dsd-rb-label {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #9ca3af;
  line-height: 1.3;
}

.dsd-rb-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

.dsd-rb-subtitle {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #9ca3af;
  line-height: 1.4;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .dsd-rb-layout-inline {
    justify-content: center;
  }
  .dsd-rb-has-separator .dsd-rb-item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .dsd-rb-list {
    padding: 20px 20px;
    gap: 20px;
  }
  .dsd-rb-layout-inline {
    flex-direction: column;
    align-items: flex-start;
  }
  .dsd-rb-layout-grid {
    grid-template-columns: 1fr;
  }
  .dsd-rb-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }
  .dsd-rb-emoji {
    font-size: 20px;
  }
  .dsd-rb-img {
    width: 20px;
    height: 20px;
  }
  .dsd-rb-label {
    font-size: 10px;
  }
  .dsd-rb-title {
    font-size: 14px;
  }
  .dsd-rb-subtitle {
    font-size: 11px;
  }
}
