input[type=radio] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  outline: none;
  width: 1.25rem;
  height: 1.25rem;
  line-height: 1.5rem;
  position: relative;
  border: none;
}

input[type=radio]:hover {
  border: none;
  box-shadow: none;
}

input[type=radio]:before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  width: 1.25rem;
  height: 1.25rem;
  border: 0.125rem solid var(--c-text);
  border-radius: 50%;
}

input[type=radio]:hover:before {
  border-color: var(--c-text);
}

input[type=radio]:checked {
  background: var(--c-sc-selected);
  border-radius: 50%;
}

input[type=radio]:checked:before {
  border-width: 0.175rem;
  background: var(--c-sc-selected);
  border: 0.125rem solid var(--c-sc-selected-border);
  width: 1rem;
  height: 1rem;
  top: 0.13rem;
  left: 0.13rem;
}

input[type=radio]:focus:before {
  box-shadow: 0px 0px 5px 0.2rem var(--c-focus);
}

input[type=radio][disabled]:before, input[type=radio][disabled]:hover:before {
  border: 0.125rem solid var(--c-sc-disabled);
  box-shadow: none;
}

input[type=radio][disabled]:checked:before {
  border: 0.375rem solid var(--c-sc-disabled);
}

.radio-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  align-items: center;
  margin-bottom: 1rem;
}

.radio-item > span {
  margin-left: 1rem;
  margin-right: 1rem;
}

input[type=radio]:focus {
  box-shadow: none;
}
