Align text name on center position in custom button-card

Hi,
I want to align text name “alert” on center position but it is only right
image

type: vertical-stack
cards:
  - type: horizontal-stack
    cards:
      - type: custom:button-card
        custom_fields:
          test_element: Alert
        styles:
          custom_fields:
            test_element:
              - font-size: 14px
        color_type: card
        entity: binary_sensor.hikbinary_motion_3
        name: ' '
        state:
          - value: 'on'
            color: red
            icon: mdi:alert
            styles:
              card:
                - animation: blink 2s ease infinite
          - operator: default
            color: green
            icon: mdi:shield-check

Can you help me?

  • justify-self: center

Not working for me