#wprm-admin-modal-fields-group-nutrition {
    .wprm-admin-modal-field-nutrition-warning {
        background-color: #ffe6e6;
        border: 1px solid darkred;
        border-radius: 4px;
        padding: 12px;
        margin-bottom: 15px;

        .wprm-admin-modal-field-nutrition-warning-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;

            strong {
                font-size: 14px;
            }
        }

        p {
            margin: 8px 0;
        }

        .wprm-admin-modal-field-nutrition-warning-changes {
            margin: 10px 0;
            padding-left: 20px;

            li {
                margin: 6px 0;
            }
        }
    }

    .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%;
            }
        }
    }
}