@import '../../styles/abstracts/variables';

.ant-input-price {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;

  &__prefix {
    width: 52px;
    background-color: $gray2;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 0 0 8px;

    &--has-error {
      border: 1px solid #ff8789;
      border-right: unset;
    }
  }

  &__input {
    border-radius: 0 8px 8px 0;

    &--prefix-inline {
      border-radius: 8px;
    }
  }
}
