% acmart already includes: graphicx, hyperref, booktabs, amsmath, natbib
% Only load packages not included in acmart

\usepackage{csquotes}
\usepackage{subcaption}
\usepackage{siunitx}
\usepackage{tikz}
\usepackage{listings}
\usepackage{xcolor}
\usepackage[ruled,vlined]{algorithm2e}
\usepackage{cleveref}

% Configure cleveref for algorithm2e
\crefname{algocf}{Algorithm}{Algorithms}

\usetikzlibrary{positioning, shapes, arrows.meta, fit, backgrounds}
\lstset{
    basicstyle=\ttfamily\footnotesize,
    breaklines=true,
    frame=single,
    numbers=left,
    numberstyle=\tiny\color{gray},
    keywordstyle=\color{blue},
    commentstyle=\color{green!60!black},
    stringstyle=\color{red},
    showstringspaces=false,
    captionpos=b,
    inputencoding=utf8,
    extendedchars=true,
    literate={·}{{\textperiodcentered}}1 {−}{{\textminus}}1 {—}{{---}}1 {–}{{--}}1
}

% Use biblatex instead of natbib (acmart default)
\usepackage[backend=bibtex,style=numeric]{biblatex}
\addbibresource{bib/references.bib}
