.wprm-admin-modal {

    input[type=checkbox] {
        border-radius: 4px;
        border-color: hsl(0,0%,80%);
    }

    input[type=text],
    input[type=number],
    input[type=url],
    input[type=email],
    input[type=datetime-local],
    textarea {
        width: 100%;
        height: auto;
        line-height: 2;
        min-height: 30px;
        border-radius: 4px;
        border-color: hsl(0,0%,80%);
        padding: 8px 10px;
        margin: 0;

        &::placeholder {
            color: #444;
            opacity: 0.333;
        }

        &[type=number] {
            padding-right: 5px;
        }

        &[type=datetime-local] {
            width: auto;
        }
    }

    .wprm-admin-modal-field-checkbox {
        margin-top: 10px;
    }

    .wprm-admin-modal-field-radio-option {
        margin-bottom: 5px;

        &:first-child {
            margin-top: 8px;
        }

        input {
            width: 16px;
            height: 16px;
            margin-top: 1px;
            border-color: hsl(0,0%,80%);

            &:checked:before {
                margin: 3px;
                width: 8px;
                height: 8px;
            }
        }

        label {
            font-size: 16px;
            line-height: 20px;
        }
    }
    
    .wprm-admin-modal-fields-group {
        padding-bottom: 40px;
        clear: both;
    }

    .wprm-admin-modal-fields-group-header {
        text-align: center;
        font-size: 18px;
        font-weight: 300;
        text-transform: uppercase;
        color: #999;
        border-bottom: 1px solid #999;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .wprm-admin-modal-field-label {
        font-weight: bold;
        margin-top: 10px;
        margin-bottom: 2px;
        font-size: 14px;
    }

    .wprm-admin-icon-help {
        display: inline-block;
        margin-top: 0;
        margin-left: 5px;

        border: 1px solid #444;
        border-radius: 100%;
        opacity: 1;

        width: 16px;
        height: 16px;
        text-align: center;
        font-size: 12px;

        svg {
            width: 10px;
            height: 9px;
            margin-bottom: 2px;
        }

        &:hover {
            background-color: #444;

            svg {
                g,
                path {
                    fill: white;
                }
            }
        }
    }

    .wprm-admin-modal-field {
        margin-bottom: 30px;
    }
}

@media screen and (min-width: 782px) {
    .wprm-admin-modal {
        .wprm-admin-modal-field-radio-option {
            label {
                font-size: 14px;
                line-height: 18px;
            }
        }

        .wprm-admin-modal-fields-group-header {
            text-align: left;
        }

        .wprm-admin-modal-fields-group {
            padding-bottom: 50px;
        }

        .wprm-admin-modal-fields {
            padding: 0 20px;
        }

        .wprm-admin-modal-field-container {
            display: flex;
            width: 100%;
        }

        .wprm-admin-modal-field-label {
            flex-shrink: 0;
            width: 180px;
            text-align: right;
            padding-right: 20px;
        }

        .wprm-admin-modal-field-container-radio {
            .wprm-admin-modal-field-label {
                margin-top: 2px;
            }
        }

        .wprm-admin-modal-field {
            flex: auto;
            margin-bottom: 15px;
        }
    }
}

.wprm-admin-modal-field-category-actions {
    margin-left: 26px;
    margin-top: 10px;

    .button {
        margin-top: 5px;
        margin-right: 5px;
    }
}