/**
 * This function takes a list of colors and a map of styles, and creates
 * all possible combinations of outfits using the given colors and styles.
 *
 * @param colors a list of colors
 * @param styles a map of styles, where the keys are clothing items and the
 *               values are lists of corresponding styles
 * @return a list of pairs, where each pair represents an outfit consisting of a
 *         color and a style for each clothing item
 */
fun createOutfits(colors: List<String>, styles: Map<String, List<String>>): List<Pair<String, String>> {

    val outfits = mutableListOf<Pair<String, String>>()

    if (colors.isEmpty() || styles.isEmpty()) {
        return outfits
    }

    for ((item, itemStyles) in styles) {
        for (color in colors) {
            for (style in itemStyles) {
                outfits.add(Pair(color, style))
            }
        }
    }

    return outfits
}
/**
 * This function takes a list of colors and a map of styles, and creates
 * all possible combinations of outfits using the given colors and styles.
 *
 * @param colors a list of colors
 * @param styles a map of styles, where the keys are clothing items and the
 *               values are lists of corresponding styles
 * @return a list of pairs, where each pair represents an outfit consisting of a
 *         color and a style for each clothing item
 */
fun createOutfits(colors: List<String>, styles: Map<String, List<String>>): List<Pair<String, String>> {
/**
 * This function takes a list of colors and a map of styles, and creates
 * all possible combinations of outfits using the given colors and styles.
 *
 * @param colors a list of colors
 * @param styles a map of styles, where the keys are clothing items and the
 *               values are lists of corresponding styles
 * @return a list of pairs, where each pair represents an outfit consisting of a
 *         color and a style for each clothing item
 */
fun createOutfits(colors: List<String>, styles: Map<String, List<String>>): List<Pair<String, String>> {

    val outfits = mutableListOf<Pair<String, String>>()

    if (colors.isEmpty() || styles.isEmpty()) {
        return outfits
    }

    for ((item, itemStyles) in styles) {
        for (color in colors) {
            for (style in itemStyles) {
                outfits.add(Pair(color, style))
            }
        }
    }

    return outfits
}