$disabledColor: #dcdfe6;

.disabled {
    border-color: $disabledColor;
    color: $disabledColor;
    cursor: not-allowed;
}

.dy-input-number {
    display: flex;
    width: 153px;
    border: 1px solid rgba(220, 223, 230, 1);
    border-radius: 4px;
    user-select: none;

    .input {
        display: flex;
        flex: 1;
        box-sizing: border-box;
        width: 73px;
        padding: 0 10px;
        border-top: none;
        border-bottom: none;
        border-left: 1px solid #d8dce6;
        text-align: center;
        border-right: 1px solid #d8dce6;
    }

    .dy-number-btn-right {
        border-left: none;
        border-bottom-left-radius: 4px;
        border-top-left-radius: 4px;
    }

    .dy-number-btn-left {
        border-right: none;
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
    }

    .add {
        @include leftRadius(4px);
    }

    .subtract {
        @include rightRadius(4px);
    }

    .add,
    .subtract {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 100%;
        font-size: 16px;
        cursor: pointer;
    }

    // .left-btn {
    //     border-bottom-left-radius: 3px;
    //     border-top-left-radius: 3px;
    //     background: $disabledColor;
    // }

    .disabled {
        cursor: not-allowed;
    }
}

.dy-number-min,
.dy-number-max {
    color: $disabledColor;
    cursor: not-allowed;
}

.dy-input-number-focus {
    border: 1px solid $themeColor;
}

.small {
    height: 32px;
}

.middle {
    height: 36px;
}

.large {
    height: 40px;
}
