@m-complex-input-prefix-cls: m-complex-input;

.@{m-complex-input-prefix-cls} {
  position: relative;
  display: inline-block;
  width: 184px;
  height: 32px;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.85);
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 2px;

  &-handler-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 32px;
    border-left: 1px solid #d9d9d9;
    border-radius: 0 2px 2px 0;
  }

  &-handler {
    position: relative;
    display: block;
    width: 100%;
    height: 50%;
    overflow: hidden;
    font-weight: 700;
    line-height: 0;
    color: rgba(0, 0, 0, 0.45);
    text-align: center;
    cursor: pointer;
  }

  &-handler-up-disabled,
  &-handler-down-disabled {
    color: #d9d9d9;
    cursor: not-allowed;
  }

  .down {
    border-top: 1px solid #d9d9d9;
  }

  &-handler-prefix {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    padding: 2px 0 0 4px;
    font-size: 18px;
    cursor: pointer;
  }

  &-block {
    width: 100%;
    height: 30px;
    padding-right: 33px;
    text-align: left;
    background-color: transparent;
    border: 0;
    border-radius: 2px;
    outline: 0;
    transition: all 0.3s linear;
  }
}
