@import url("../../inati/_palette-ySWM8g-.css");

[data-controller~="inati--last-word-with-rectangle"] {
  display: inline; /* Keep the content inline so it wraps naturally */

  span.text-content {
    color: inherit; /* Inherit color from the parent */
  }

  span.no-wrap {
    color: inherit; /* Inherit color from the parent */
    white-space: nowrap; /* Prevent the last word and the SVG from breaking onto separate lines */
    display: inline-flex; /* Ensure the SVG stays on the same line as the last word */
    align-items: last baseline;
  }

  svg.icon {
    fill: currentColor; /* SVG inherits the text color */
    margin-left: 5px; /* Add some spacing between the last word and the SVG */
  }
}
