/* Badge layout (side-by-side + wrap). Keep it lightweight and theme-resistant. */
.seba-profile-badges.seba-badges{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center;
  gap:6px;
  row-gap:6px;
}

/* Ensure each pill stays auto-width (some themes force 100% width). */
.seba-profile-badges.seba-badges .seba-badge-pill{
  display:inline-flex !important;
  width:auto !important;
  max-width:100%;
  flex:0 0 auto;
  margin:0;
}

/* Extra badge UI (works with existing .seba-badge-pill) */
.seba-badge{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.seba-badge-img{
  width:16px;
  height:16px;
  border-radius:4px;
  object-fit:cover;
  display:inline-block;
}

/* Tooltip (CSS only) */
.seba-badge[data-seba-tip]{ cursor:help; }
.seba-badge[data-seba-tip]::after{
  content: attr(data-seba-tip);
  position:absolute;
  left:0;
  top:calc(100% + 6px);
  z-index:9999;
  min-width:160px;
  max-width:260px;
  padding:8px 10px;
  border-radius:10px;
  background:rgba(17,24,39,.96);
  color:#fff;
  font-size:12px;
  line-height:1.35;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  opacity:0;
  transform:translateY(-4px);
  pointer-events:none;
  transition:opacity .12s ease, transform .12s ease;
  white-space:normal;
}
.seba-badge[data-seba-tip]::before{
  content:"";
  position:absolute;
  left:14px;
  top:calc(100% + 2px);
  border:6px solid transparent;
  border-bottom-color:rgba(17,24,39,.96);
  opacity:0;
  transform:translateY(-4px);
  pointer-events:none;
  transition:opacity .12s ease, transform .12s ease;
}
.seba-badge[data-seba-tip]:hover::after,
.seba-badge[data-seba-tip]:hover::before{
  opacity:1;
  transform:translateY(0);
}
