@include wrap-class() {
    // HELPER: Form control
    %form-control {
        width: 100%;
        margin: 0;
        padding: 9px 14px;
        border: 1px solid #d1d5db;
        border-radius: 3px;
        background-image: none;
        font-size: $h6-font-size;
        font-weight: $font--weight;
        transition: 0.1s ease-in-out;
        line-height: 1.6;
        &,
        &:hover,
        &:focus,
        &:active {
            outline: none;
            box-shadow: none;
        }
        &:focus {
            border-color: $color-primary;
            // box-shadow: 0 0 0 2px lighten($color-primary,50%);
        }

        &::placeholder {
            font-weight: $font--weight;
            color: #888;
        }

        // STATE: Disabled
        &[disabled] {
            cursor: not-allowed;
        }
        &.wcc-disabled,
        fieldset[disabled] & {
            cursor: not-allowed;
            opacity: 0.5;
        }
    }
    label,
    .wcc-label {
        display: inline-block;
        .wcc-required::after {
            content: "*";
            color: red;
            font-size: 12px;
        }
    }
    label,
    .wcc-label {
        margin-bottom: 10px;
    }
    .wcc-form-check-inline {
        label,
        .wcc-label {
            margin-bottom: 0px;
        }
    }
    .wcc-col-label {
        margin: 0;
    }
    .wcc-form-group {
        margin-bottom: 20px;
    }
    .wcc-form-control,
    .wcc-select {
        @extend %form-control;
        line-height: 1.3;
    }
    input[type="text"],
    .wcc-select {
        height: 40px;
    }
    .wcc-select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Ctitle%3Edown-arrow%3C%2Ftitle%3E%3Cg%20fill%3D%22%23000000%22%3E%3Cpath%20d%3D%22M10.293%2C3.293%2C6%2C7.586%2C1.707%2C3.293A1%2C1%2C0%2C0%2C0%2C.293%2C4.707l5%2C5a1%2C1%2C0%2C0%2C0%2C1.414%2C0l5-5a1%2C1%2C0%2C1%2C0-1.414-1.414Z%22%20fill%3D%22%23000000%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E");
        background-size: 10px;
        background-position: calc(100% - 10px) center;
        background-repeat: no-repeat;
        padding: 8px 25px 8px 14px;
    }
    // Section Settings
    .wcc-section-settings {
        padding-bottom: 20px;
        margin-bottom: 30px;
        border-bottom: 1px solid #d9d9d9;
        .wcc-section-settings-content {
            & > .wcc-row > .wcc-col-label {
                padding-left: 30px;
                margin: 0;
            }
        }
        .wcc-section-settings-header {
            padding-bottom: 30px;
        }
        .wcc-section-settings-inner {
            .wcc-form-group > label {
                padding-left: 35px;
            }
            .wcc-section-settings-inner {
                .wcc-form-group > label {
                    padding-left: 70px;
                }
            }
        }
    }
    .wcc-form-group--color {
        label {
            margin-bottom: 10px;
            display: block;
        }
    }
    .wcc-form-check-label {
        margin-bottom: 0;
    }
    .wcc-form-check {
        margin-bottom: 10px;
        &:last-child {
            margin-bottom: 0px;
        }
    }
    .wcc-form-check-inline {
        display: inline-block;
        margin-right: 1rem;
    }
    .wcc-form-check-input {
        border: 1px solid #b4b9be;
        background: #fff;
        color: #555;
        cursor: pointer;
        line-height: 0;
        height: 16px;
        margin: 0px 4px 0 0;
        outline: 0;
        padding: 0 !important;
        text-align: center;
        vertical-align: middle;
        width: 16px;
        min-width: 16px;
        -webkit-appearance: none;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
        transition: 0.05s border-color ease-in-out;
    }
    .wcc-disabled {
        cursor: not-allowed;
        opacity: 0.5;
        a {
            cursor: not-allowed;
        }
    }
    // Radio button custom styling
    .wcc-form-heading {
        font-weight: 500;
        margin: 0;
        margin-bottom: 20px;
        font-size: 14px;
    }
    .wcc-form-section:not(:first-child) {
        padding-top: 15px;
    }
    .wcc-form-section {
        padding-bottom: 15px;
        border-bottom: 1px solid #d9d9d9;
    }
    .wcc-form-section:last-child {
        border-bottom: none;
        padding-bottom: 0px;
    }
    .wcc-input-error-container {
        margin-top: 4px;
        .wcc-input-inline-error {
            color: $color-error;
        }
    }
}

// Checkbox styles
@include wrap-class() {
    input[type="checkbox"] {
        background-color: #fff;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        border: 1px solid rgba(0, 0, 0, 0.25);
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        border-radius: 4px;
        margin: 0px 10px 0px 0px;
        box-shadow: none;
        &:checked {
            background-color: #056BE7;
            border-color: #056BE7;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
            &:before {
                content: "";
            }
        }
    }
}
