@import '../../styles/mixins';

.aca-page-layout {
  @include flex-column;

  .aca-content-header {
    background: var(--theme-page-layout-header-background-color);
    height: 96px;
    padding: 0 24px;
    display: flex;
    align-items: center;
  }

  .aca-page-layout-header {
    display: flex;
    align-items: center;
    flex: auto;
    width: 100%;

    .adf-breadcrumb-item {
      font-size: 20px;
      font-weight: 400;
      letter-spacing: 0.15px;
    }

    .aca-toolbar-action {
      .mat-button-base {
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 6px;
        height: 32px;
        line-height: 32px;
      }
    }
  }

  .aca-page-layout-content {
    @include flex-row;
  }

  .aca-page-layout-error {
    @include flex-row;
  }

  .main-content {
    @include flex-column;
  }

  .scrollable {
    overflow: auto !important;

    .main-content {
      overflow: auto !important;
    }
  }
}

[dir='rtl'] .aca-page-layout {
  .main-content {
    border-left: 1px solid var(--theme-border-color, rgba(0, 0, 0, 0.07));
  }
}

[dir='ltr'] .aca-page-layout {
  .main-content {
    border-right: 1px solid var(--theme-border-color, rgba(0, 0, 0, 0.07));
  }
}
