@include prefix(input-group) {
  display: flex;
  align-items: stretch;

  & > * {
    &:not(:first-child) {
      border-top-left-radius: 0 !important;
      border-bottom-left-radius: 0 !important;
    }

    &:not(:last-child) {
      border-top-right-radius: 0 !important;
      border-bottom-right-radius: 0 !important;
    }

    &.#{componentName(input)} {
      .input-fixed {
        overflow: hidden;
      }

      &:not(.input-fixed) {
        flex: 1;
        flex-shrink: 0;
        flex-grow: 1;
        overflow: hidden;
      }

      &:not(:first-child) {
        border-left: solid 1px plv(border-color);
      }

      & + .#{componentName(input)}:not(:hover):not(.input-focus) {
        border-left-color: transparent;
      }
    }

    &.#{componentName(input)} + .#{componentName(button)} {
      margin-left: -1px;
    }

    &.#{componentName(button)} + .#{componentName(input)},
    &.#{componentName(button)} + .#{componentName(button)} {
      margin-left: -1px;
    }
  }
}
