.c-radioButton-wrap {
  &.c-radioButton-wrap--disabled {
    opacity: 40%;
    pointer-events: none;
  }


  .c-radioButton-inner {
    display: flex;
  }

  .c-radioButton {
    display: flex;
    align-items: center;
    & + .c-radioButton {
      margin-left: 16px;
    }
    &.c-radioButton--error {
      .c-radioButton-icon {
        border-color: var(--color-emergency);
      }
    }
  }

  .c-radioButton-icon {
    position: relative;
    appearance: none;
    width: 24px;
    height: 24px;
    border: 1px solid var(--line-button_tertiary);
    border-radius: 50%;
    background-color: var(--color-white);
    cursor: pointer;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    letter-spacing: var(--letter-spacing-base);

    &.c-radioButton--error {
      border-color: var(--color-emergency);
    }
    &:checked {
      border-color: var(--color-selected);
      &::after {
        content: '';
        display: block;
        position: absolute;
        width: 12px;
        height: 12px;
        background-color: var(--color-selected);
        border-radius: 50%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
    }
  }
  .c-radioButton-label {
    padding-left: 12px;
    cursor: pointer;
  }
  .c-radioButton-error {
    font-size: 12px;
    margin-top: 6px;
    margin-bottom: 0px;
    color: var(--color-emergency);
  }
}
.dark{
  .c-radioButton{
    background-color: transparent;
    border: 1px solid var(--checkbox);
  }
}