/**
 * Copyright (c) HashiCorp, Inc.
 * SPDX-License-Identifier: BUSL-1.1
 */

.title {
  &.is-4,
  &.is-5,
  &.is-6 {
    margin-bottom: 0.5rem;
  }

  &.with-headroom {
    margin-top: 1rem;
  }

  &.with-subheading {
    margin-bottom: 0.85rem;
  }

  &.with-flex {
    display: flex;
    justify-content: space-between;
  }
}

// Job page header, actions bar
.job-page-header {
  margin-bottom: 1rem;
  position: relative;
  z-index: $z-base - 1;
  .hds-page-header__main {
    flex-direction: unset;
    .hds-page-header__actions {
      align-items: stretch;
    }
  }
  .exec-open-button,
  .two-step-button {
    & > button {
      height: 100%;
    }
  }
}
