$color: var(--color-gray-888);

.find-object {
  width: 100%;

  &.border {
    padding: 4px 10px;
    border: 1px solid $color;
    border-radius: 4px;
  }

  .button-icon {
    cursor: pointer;

    position: absolute;
    right: 5px;
    bottom: 0;

    display: flex;
    align-items: center;

    height: 100%;

    .chevron-down {
      $spacing: 5px;

      width: 0;
      height: 0;
      margin-top: $spacing;

      border-color: $color transparent transparent transparent;
      border-style: solid;
      border-width: $spacing;
    }
  }
}

:host ::ng-deep .find-object {
  .mat-form-field-wrapper {
    padding-bottom: 0;
  }

  .mat-form-field-underline {
    display: none !important;
  }
}

::ng-deep .find-object__autocomplete {
  right: 0;

  .autocomplete-option__code {
    color: var(--color-gray-888);
  }
}
