@import "./variables";

.#{$component-prefix}tabbar-item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: $tabbar-item-font-size;
  line-height: $tabbar-item-line-height;
  color: $tabbar-item-color;
  cursor: pointer;

  &__icon {
    margin-bottom: $tabbar-item-margin-bottom;
    font-size: $tabbar-item-icon-size;

    .#{$component-prefix}icon {
      display: block;
    }

    .#{$component-prefix}badge {
      margin-top: var(--padding-base, $padding-base);
    }
  }

  &--active {
    color: $tabbar-item-active-color;
    background: $tabbar-item-active-background-color;
  }

}
