/*!Copyright (C) 2022 Robert Bosch GmbH Copyright (C) 2022 Robert Bosch Manufacturing Solutions GmbH, Germany. All rights reserved.*/

@import '@bci-web-core/common-styles/sass/bci/bci-variables';
@import '@bci-web-core/common-styles/sass/bci/colors';

:host {
  .tab-with-back-button {
    a,
    a:hover,
    a:active {
      color: $boschBlack;
    }

    .tab-back-button {
      position: relative;
      width: 86px;
      height: $grid-size * 6;
      line-height: $grid-size * 6;
      border-bottom: 1px solid $boschGray60;
      // margin-bottom: -1px;
      z-index: 1;

      button {
        height: 48px;
      }

      .mdc-tab.mat-mdc-tab:first-child {
        margin-left: $grid-size * 2;
      }
    }

    div:not(.tab-back-button) {
      position: relative;
    }
  }
}

::ng-deep .tab-with-back-button mat-tab-header {
  margin-left: 86px !important;
}

::ng-deep .tab-with-back-button mat-tab-header .mat-mdc-tab-header-paginationn {
  min-width: $grid-size * 6;
}
