/**
 * @license
 * Copyright 2023 Tyler Technologies, Inc. 
 * License: Apache-2.0
 */
@use './mixins';
@include mixins.core-styles;

:host {
  display: block;
}

:host([inline]) {
  .forge-stack {
    @include mixins.inline;
  }
}

:host([inline][wrap]) {
  .forge-stack {
    @include mixins.wrap;
  }
}

:host([stretch]:not([inline])) {
  height: 100%;
}

:host([stretch]) {
  --forge-stack-stretch: 1;
}

:host([alignment=start]) {
  .forge-stack {
    @include mixins.justify-start;
  }
}

:host([alignment=center]) {
  .forge-stack {
    @include mixins.justify-center;
  }
}

:host([alignment=end]) {
  .forge-stack {
    @include mixins.justify-end;
  }
}
