.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Public Sans", sans-serif;
  text-transform: uppercase;
  border: 2px solid var(--border-black);
  gap: 0.25rem; /* Space between an icon and the text */
}

/* --- SIZES --- */
/* Focuses on padding and weight, keeping text size relatively stable */

.badge-sm {
  padding: 0.125rem 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-md {
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.badge-lg {
  padding: 0.375rem 0.75rem;
  font-size: 0.85rem; /* Text size stays the same, but it gets bulkier */
  font-weight: 900;
}

/* --- VARIANTS --- */

.badge-yellow {
  background-color: var(--accent-yellow);
  color: #000;
}
.badge-dark {
  background-color: var(--border-black);
  color: #fff;
}
.badge-pink {
  background-color: var(--accent-pink);
  color: #000;
}
.badge-blue {
  background-color: var(--primary-blue);
  color: #000;
}
.badge-white {
  background-color: #fff;
  color: #000;
}

/* --- ICON SUPPORT --- */
/* If you put an SVG inside the badge, this ensures it scales nicely with the text */
.badge svg {
  width: 1em;
  height: 1em;
  pointer-events: none;
}
