/*
 * Role-badge unification.
 *
 * Every label in the Aflac territory hierarchy renders through one of
 * these classes, driven by the ``role_color`` / ``highest_role_color``
 * template filters. Never apply bg-info / bg-warning / bg-primary
 * directly to a role pill — use these so the palette stays consistent
 * across setup, detail, team, and pathway-board views.
 *
 * Tier → color:
 *   tvp       → purple (SVP + TVP, loudest tier)
 *   mkd       → yellow
 *   director  → cyan   (RSC + DSC + CIT + SA; deliberately lighter than
 *                       Bootstrap primary so it doesn't clash with the
 *                       'Unresponsive' pathway blue)
 *   employee  → green  (new hires on an opted-in account)
 *   poc       → neutral gray w/ colored border, since the POC *role* is
 *               variable — pair with role-pill-<tier> to get the tier
 *               color, or use standalone for the literal "Aflac POC"
 *               label without a known tier.
 */

.role-pill,
[class*="role-pill-"] {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.1;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.role-pill-tvp {
  background-color: rgba(111, 66, 193, 0.12);
  color: #5b2fa7;
  border-color: rgba(111, 66, 193, 0.3);
}

.role-pill-mkd {
  background-color: rgba(255, 193, 7, 0.15);
  color: #7a5a00;
  border-color: rgba(255, 193, 7, 0.4);
}

.role-pill-director {
  background-color: rgba(13, 202, 240, 0.12);
  color: #0a6b80;
  border-color: rgba(13, 202, 240, 0.35);
}

.role-pill-employee {
  background-color: rgba(25, 135, 84, 0.12);
  color: #0f6040;
  border-color: rgba(25, 135, 84, 0.35);
}

.role-pill-poc {
  background-color: rgba(108, 117, 125, 0.1);
  color: #495057;
  border-color: rgba(108, 117, 125, 0.3);
}
