.gl.message
  align-items center
  display flex
  justify-content center
  padding ($indent / 2) $indent

  > .gl.icon
    margin-right 1em
    height 2.5em
    width @height
    flex-shrink 0

  &.error
    background $color-red
    color #fff

    &.transparent
      color $color-red
      background transparent
      box-shadow inset 0 0 0 1px hsla($color-red, .8)

      > .gl.icon > svg
        fill $color-red

  &[class*='bottom attached']
    bottom 0
    left 0
    position fixed
    width 100%
