button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    margin: 0;
    box-sizing: border-box;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}


input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="time"],
input[type="month"],
input[type="week"],
input[type="url"],
input[type="number"],
input[type="search"],
input[type="file"],
select,
textarea {
    background-color: #fff;
    transition: background .2s ease-in-out, border-color .2s ease-in-out, box-shadow .2s ease-in-out;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: solid 1px color-mix(in srgb, currentColor 30%, transparent);
}

 

textarea {
    width: 100%;
    min-height: 80px;
    overflow: auto;
}

::placeholder {
    color: #888;
    font-style: italic;
}

input:focus,
select:focus,
textarea:focus {
    outline: none !important;
    border-color: var(--wp--preset--color--primary);
}

input[type="checkbox"],
input[type="radio"] {
    appearance: none;
    background: #fff;
    border: solid 1px color-mix(in srgb, currentColor 30%, transparent);
    height: 22px;
    overflow: hidden;
    position: static;
    vertical-align: text-bottom;
    width: 22px;
    cursor: pointer;
    margin: 0 8px 0 0;
}

input[type="checkbox"] {
    border-radius: 4px;
}

input[type="radio"] {
    border-radius: 50%;
}

input[type="radio"]:checked {
    box-shadow: inset 0 0 0 4px var(--wp--preset--color--primary);
    background: currentColor;
}

input[type="checkbox"]:checked {
    content: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:serif="http://www.serif.com/" width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"> <g transform="matrix(0.168714,0,0,0.168714,15.8126,15.8125)"> <path d="M393.401,124.425L179.603,338.208C163.771,354.043 138.089,354.043 122.242,338.208L11.878,227.836C-3.96,212.001 -3.96,186.316 11.878,170.478C27.719,154.637 53.399,154.637 69.233,170.472L150.931,252.171L336.037,67.064C351.878,51.223 377.56,51.235 393.395,67.064C409.23,82.902 409.23,108.578 393.401,124.425Z" style="fill:white;fill-rule:nonzero;"/> </g></svg>');
    background: var(--wp--preset--color--primary);
    border-color: currentColor;
}