/* The container-radio */
.container-radio {
  display: block;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-align: left;
  font-size: 14px;
  text-transform: none;
  font-weight: 400;
  color: var(--basic-light-900);
}

.form-design-system .radio-inline .custom-radio {
    border-radius: 0;
    border-width: 0;
    background: transparent;
    margin-right: 8px;
}

/* Hide the browser's default radio button */
.container-radio input[type=radio],
.form-design-system .radio-inline .custom-radio input[type=radio] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark-radio,
.form-design-system .custom-radio input[type=radio] + span {
  position: relative;
  top: 5px;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: var(--basic-light-100);
  border: 1px solid var(--basic-light-500);
  border-radius: 50%;
  display: inline-block;
  margin: 0 4px 0 0;
}
.form-design-system .custom-radio input[type=radio] + span {
  top: 0
}

/* On mouse-over, add a grey background color */
.container-radio:hover input:not([disabled]) ~ .checkmark-radio,
.form-design-system .radio-inline:hover .custom-radio span {
  box-shadow: 0px 0px 0px 4px rgb(255 170 179 / 20%);
  transition: all 0.2s ease-out;
}
#checkout #checkout-delivery-step .delivery-option.disabled label:hover,
.disabled .container-radio,
.container-radio input[type=radio][disabled] {
  cursor:default;
}

/* When the radio button is checked, add a blue background */
.container-radio input:checked ~ .checkmark-radio,
.form-design-system .radio-inline .custom-radio input:checked + span {
  /* background-color: var(--primary-01-light-500); */
  border: 6px solid var(--primary-01-light-500);
  background-color: transparent;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark-radio:after,
.form-design-system .custom-radio ~ span:after {
  content: "";
  position: absolute;
  display: none;
}












/* The container-radio */
.container-radio-2 {
  display: block;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-align: left;
  font-size: 14px;
  text-transform: none;
  font-weight: 400;
  color: var(--basic-light-500);
}

/* Hide the browser's default radio button */
.container-radio-2 input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark-radio-2 {
  position: relative;
  top: 5px;
  height: 20px;
  width: 20px;
  background-color: var(--basic-light-100);
  border: 1px solid var(--basic-light-500);
  border-radius: 50%;
  display: inline-block;
  margin: 0 4px 0 0;
}

/* On mouse-over, add a grey background color */
.container-radio-2:hover input ~ .checkmark-radio-2 {
  box-shadow: 0px 0px 0px 4px rgba(170, 255, 170, 0.2);
  transition: all 0.2s ease-out;
}

/* When the radio button is checked, add a blue background */
.container-radio-2 input:checked ~ .checkmark-radio-2 {
  /* background-color: var(--primary-01-light-500); */
  border: 6px solid var(--primary-02-light-500);
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark-radio-2:after {
  content: "";
  position: absolute;
  display: none;
}

.form-design-system .radio-inline {
  margin-right: 0.5rem;
}
