.manage-policies-page {
  &__vibrant-blue {
    color: $core-vibrant-blue;
  }

  &__header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;

    .button-wrap {
      display: flex;
      justify-content: flex-end;
      min-width: 266px;
    }
  }

  &__manage-automations {
    padding: $pad-small;
    margin-right: $pad-small;
  }

  &__header {
    display: flex;
    align-items: center;

    .form-field {
      margin-bottom: 0;
    }
  }

  &__text {
    margin-right: $pad-large;
  }

  &__title {
    font-size: $large;

    .fleeticon {
      color: $core-fleet-blue;
      margin-right: 15px;
    }

    .fleeticon-success-check {
      color: $ui-success;
    }

    .fleeticon-offline {
      color: $ui-error;
    }

    .fleeticon-mia {
      color: $core-fleet-black;
    }
  }

  &__description {
    margin: 0;

    h2 {
      text-transform: uppercase;
      color: $core-fleet-black;
      font-weight: $regular;
      font-size: $small;
    }

    p {
      color: $core-dark-blue-grey;
      margin: 0;
      font-size: $x-small;
      font-style: italic;
    }
  }

  &__action-button-container {
    display: flex;
    align-items: flex-start;
  }

  .button {
    font-size: $x-small;

    img {
      transform: scale(0.5);
    }
  }

  &__advanced-button {
    margin-right: $pad-medium;
  }

  &__sandbox-info {
    margin-top: $pad-large;
    margin-bottom: $pad-xxlarge;

    p {
      font-size: $x-small;
      margin: 0;
      margin-bottom: $pad-medium;
    }

    p:last-child {
      margin-bottom: 0;
    }

    a {
      color: $core-vibrant-blue;
      text-decoration: none;
    }
  }

  &__modal-buttons {
    width: 100%;
    display: flex;
    justify-content: flex-end;

    .button:first-child {
      margin-right: $pad-medium;
    }
  }

  &__add-policy-link {
    transition: color 150ms ease-in-out, background 150ms ease-in-out,
      top 50ms ease-in-out, box-shadow 50ms ease-in-out, border 50ms ease-in-out;
    position: relative;
    color: $core-white;
    text-decoration: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-left: $pad-medium;
    padding-right: $pad-medium;
    border-radius: 4px;
    font-size: $x-small;
    font-family: "Nunito Sans", sans-serif;
    font-weight: $bold;
    display: inline-flex;
    height: 38px;
    top: 0;
    border: 0;
    cursor: pointer;

    @include button-variant(
      $core-vibrant-blue,
      $core-vibrant-blue-over,
      $core-vibrant-blue-down
    );
  }

  &__details {
    display: inline-flex;
    vertical-align: middle;
    margin-left: $pad-small;
    margin-top: -20px;

    .hint {
      color: $core-fleet-black;

      &--brand {
        color: $core-vibrant-blue;
      }
    }
  }

  &__inherited-policies-button {
    padding-bottom: $pad-large;
  }

  &__inherited-policies-table {
    th {
      border-right: 1px solid #e2e4ea !important;
    }

    .table-container__header {
      display: none;
    }
  }
}
