@root-entry-name: 'default';
@import (reference) '~antd/es/style/themes/index.less';

.pro-number-range {

  .range-split {
    width         : 40px !important;
    border-left   : 0px;
    border-right  : 0px;
    pointer-events: none;
    text-align    : center !important;
  }

  .@{ant-prefix}-input-status-error {
    &.range-split {
      border-color: @zaui-danger;
    }
  }



  & .@{ant-prefix}-input-rtl.range-right {
    border-right-width: 0;
  }

  & .@{ant-prefix}-input-rtl.range-right:hover,
  & .@{ant-prefix}-input-rtl.range-right:focus {
    border-right-width: 1px;
  }

  .@{ant-prefix}-form-item {
    margin-bottom: 0;
  }

  .range-left,
  .range-right {
    width     : calc(50% - 20px);
    text-align: center;
  }

  .range-left {
    .@{ant-prefix}-input-number {
      border-right: none;
    }
  }

  .range-right {
    .@{ant-prefix}-input-number {
      border-left: none;
    }

    .range-right {
      width                    : 100%;
      border-top-left-radius   : 0;
      border-bottom-left-radius: 0;
    }
  }

  &.@{ant-prefix}-input-group.@{ant-prefix}-input-group-compact>*:not(:last-child) {
    margin-right: 0;
  }

  >*:first-child {
    border-top-right-radius   : 0 !important;
    border-bottom-right-radius: 0 !important;

    >.@{ant-prefix}-select-selector {
      border-top-right-radius   : 0 !important;
      border-bottom-right-radius: 0 !important;
    }
  }

  >*:last-child {
    border-top-left-radius   : 0 !important;
    border-bottom-left-radius: 0 !important;

    >.@{ant-prefix}-select-selector {
      border-top-left-radius   : 0 !important;
      border-bottom-left-radius: 0 !important;
    }
  }
}
