code: def create_id_card_layout(
      selected_data: pd.DataFrame, additional_features_dict: dict
  ) -> list:
      """Create the layout of the identity card
  
      Parameters
      ----------
      selected_data : pd.DataFrame
          Dataframe of the data for the identity card
      additional_features_dict : dict
          Dictionary mapping technical feature names to domain names for additional data
  
      Returns
      -------
      list
          Layout of the identity card
      """
      children = []
      for _, row in selected_data.iterrows():
          label_style = (
              {"fontWeight": "bold", "font-style": "italic"}
              if row["feature_name"]
              in additional_features_dict.values()
              else {"fontWeight": "bold"}
          )
          children.append(
              dbc.Row(
                  [
                      dbc.Col(
                          dbc.Label(row["feature_name"]),
                          width=3,
                          style=label_style,
                      ),
                      dbc.Col(
                          dbc.Label(row["feature_value"]),
                          width=5,
                          className="id_card_solid",
                      ),
                      dbc.Col(width=1),
                      dbc.Col(
                          dbc.Row(
                              dbc.Label(
                                  format(row["feature_contrib"], ".4f"),
                                  width="auto",
                                  style={"padding-top": 0},
                              ),
                              justify="end",
                          ),
                          width=2,
                          className="id_card_solid",
                      )
                      if not np.isnan(row["feature_contrib"])
                      else None,
                  ]
              )
          )
  
      return children
  
imports: from typing import Optional, Tuple
  import numpy
  import pandas
  import datetime
  from dash import dcc, html
  import dash_bootstrap_components
label_desc: Use image node_id 17 for calling a global function with example usage: create_id_card_layout(selected_data, additional_features_dict) and returns: children