/* Shared checkbox dimensions for storefront, authentication and admin pages. */
input[type="checkbox"]:not([role="switch"]):not(.status-switch input):not(.discount-status-switch input) {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    padding: 0 !important;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #64748b;
    border-radius: 5px;
    background-color: #fff;
    display: inline-grid;
    place-content: center;
    transition: background-color .12s ease, border-color .12s ease, box-shadow .12s ease;
    flex: 0 0 28px;
    margin: 0 8px 0 0 !important;
    vertical-align: middle;
    cursor: pointer;
}
input[type="checkbox"]:not([role="switch"]):not(.status-switch input):not(.discount-status-switch input):checked {
    border-color: #2563eb;
    background-color: #2563eb;
    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='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m4 10 4 4 8-9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 19px 19px;
}
input[type="checkbox"]:not([role="switch"]):not(.status-switch input):not(.discount-status-switch input):focus-visible {
    outline: 3px solid rgba(37, 99, 235, .35);
    outline-offset: 2px;
}
input[type="checkbox"]:disabled { cursor: not-allowed; }

input[type="radio"] {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    max-width: 22px !important;
    padding: 0 !important;
    flex: 0 0 22px;
    margin: 0 8px 0 0 !important;
    vertical-align: middle;
    cursor: pointer;
}
input[type="radio"]:disabled { cursor: not-allowed; }
