input[type=text],
input[type=number],
input[type=search],
input[type=email],
input[type=url],
input[type=password],
input[type=tel],
textarea {
    display: block;
    width: 100%;
    height: 44px;
    padding: 10px;
    background-color: #FFF;
    background-clip: padding-box;
    border: 1px solid #C8C8C8;
    color: #717171;
    border-radius: $border-radius;
    &::-ms-expand {
        background-color: transparent;
        border: 0;
    }
    &:focus {
        outline: 0;
        box-shadow: none;
    }
    &::-webkit-input-placeholder {
        color: #6C757D;
        opacity: 1;
    }
    &::-moz-placeholder {
        color: #6C757D;
        opacity: 1;
    }
    &:-ms-input-placeholder {
        color: #6C757D;
        opacity: 1;
    }
    &::-ms-input-placeholder {
        color: #6C757D;
        opacity: 1;
    }
    &::placeholder {
        color: #6C757D;
        opacity: 1;
    }
    &:disabled, &[readonly] {
        background-color: #E9ECEF;
        opacity: 1;
    }
}

textarea {
    height: auto;
}

body .dokan-form-control {
    border: 1px solid #C8C8C8;
    color: #717171;
    border-radius: $border-radius;
}

select {
    display: inline-block;
    width: 100%;
    height: 44px;
    padding: 0 10px;
    color: #495057;
    vertical-align: middle;
    background: #FFF url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23A8AEB2' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 10px center/8px 10px !important;
    border: 1px solid #C8C8C8;
    border-radius: $border-radius;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    &:focus {
        outline: 0;
        box-shadow: none;
    }
    &:disabled {
        color: #6C757D;
        background-color: #E9ECEF;
    }
}

input[type="radio"],
input[type="checkbox"] {
    margin: 0 5px 0 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    top: 5px;
    display: inline-block;
    width: 18px;
    min-width: 18px;
    height: 18px;
    background: #FFF;
    border-style: solid;
    border-width: 1px;
    border-color: #DCD7CA;
    box-shadow: none;
    cursor: pointer;
    border-radius: 2px;
    &:checked {
        border-color: darken($primary, 7%);
    }
    &:focus {
        box-shadow: none;
        outline: none;
    }
}

input[type="radio"] {
    border-radius: 50%;
    &:checked:before {
        content: '';
        position: absolute;
        display: inline-block;
        width: 8px;
        height: 8px;
        background: $primary;
        border-radius: 50%;
        left: 4px;
        top: 4px;
    }
}

input[type="checkbox"] {
    border-radius: 2px;
    &:checked {
        background: $primary;
        &:before {
            content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23fff%27%2F%3E%3C%2Fsvg%3E");
            position: absolute;
            display: inline-block;
            height: 18px;
            width: 18px;
            top: 0;
            right: 0;
        }
    }
}


.woocommerce form .form-row .required {
    color: $danger;
}

body span.select2.select2-container--default {
    span.select2-selection--single {
        border-color: #C8C8C8;
        border-radius: $border-radius;
        height: 44px;
        span.select2-selection__rendered {
            line-height: 44px;
        }
        span.select2-selection__arrow {
            top: 7px;
        }
    }
}

body {
    span.select2-dropdown {
        border-color: #C8C8C8;
    }
}