#wprm-admin-modal-fields-group-nutrition {
    .wprm-admin-modal-field-nutrition-container {
        input[type=number] {
            max-width: 80px;
            margin-right: 5px;
        }
        input[type=text] {
            max-width: 80px;
        }
        input[disabled] {
            color: black;
            border-color: white;
        }
    }
}

@media screen and (min-width: 500px) {
    #wprm-admin-modal-fields-group-nutrition {
        .wprm-admin-modal-field-nutrition-container {
            display: flex;
            flex-wrap: wrap;

            .wprm-admin-modal-field-container {
                flex: 0 0 50%;
                flex-direction: column;

                .wprm-admin-modal-field-label {
                    width: auto;
                    text-align: left;
                }
            }
        }
    }
}

@media screen and (min-width: 782px) {
    #wprm-admin-modal-fields-group-nutrition {
        .wprm-admin-modal-field-nutrition-container {
            .wprm-admin-modal-field-container {
                flex: 0 0 33%;
            }
        }
    }
}

@media screen and (min-width: 900px) {
    #wprm-admin-modal-fields-group-nutrition {
        .wprm-admin-modal-field-nutrition-container {
            .wprm-admin-modal-field-container {
                flex: 0 0 25%;
            }
        }
    }
}