/* Lead status badge: reveal a small "edit" pencil only when the row is hovered.

   The pencil is absolutely positioned just to the right of the badge, so the
   badge itself stays compact (no permanent trailing padding). The space it
   needs is reserved once on the cell (a right-hand gutter), so the column
   never shifts when the pencil appears on hover. */
.fi-ta-cell-status .fi-ta-col {
    padding-right: calc(var(--spacing) * 6);
}

/* Filament clips this wrapper (overflow: hidden) for text truncation, which
   would cut off the absolutely-positioned pencil on the widest labels. */
.fi-ta-cell-status .fi-ta-text-item {
    overflow: visible;
}

.fi-ta-cell-status .fi-badge {
    position: relative;
    overflow: visible;
}

.fi-ta-cell-status .fi-badge .fi-icon {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: calc(var(--spacing) * 1);
    visibility: hidden;
    width: calc(var(--spacing) * 3);
    height: calc(var(--spacing) * 3);
}

.fi-ta-row:hover .fi-ta-cell-status .fi-badge .fi-icon {
    visibility: visible;
}
