Style in form input in django

Hi, I use python with django and for the frontEnd part html and css.
I have this code:

        <label for="{{ form.AccessiNume.id_for_label }}"> Accesses No.: </label>
        {{ form.AccessiNume }} <style> input#id_AccessiNume {width: 55px;} </style> {{ form.AccessiNume.errors }}

I have read from several places that inline styling should not be used. But to change the width of the field iin input how can I do ?