.demio-radio-group {
  box-sizing: border-box;
  display: inline-block;
  line-height: 1.5;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease 0s;

  input[type="radio"] {
    appearance: none;
  }
}

.demio-radio-button {
  --border-color: #e8ecf3;
  --text-color: #676e76;

  display: inline-flex;
  align-content: center;
  align-items: center;
  padding: 0 14px;
  font-size: 13px;
  position: relative;
  background: #fff;
  border: 1px solid var(--border-color);
  border-left: 0;
  font-family: Lato, sans-serif;
  height: 47px;
  user-select: none; 
  cursor: pointer;
  color: var(--text-color);

  &:first-child {
    border-left: 1px solid var(--border-color);
    border-radius: 5px 0 0 5px;
  }

  &:focus-within {
    outline: 3px solid rgba(2,191,111,.06);
  }

  &:last-child {
    border-radius: 0 5px 5px 0;
  }

  &_active {
    --border-color: #02bf6f;
    --text-color: #02bf6f;

    z-index: 1;
  }

  &_disabled {
    --border-color: #d9d9d9;
    --text-color: #d9d9d9;

    cursor: not-allowed;
  }

  &:hover:not(&_disabled) {
    --text-color: #02bf6f;
  }

  &:not(:first-child)::before {
    position: absolute;
    top: -1px;
    left: -1px;
    display: block;
    box-sizing: content-box;
    width: 1px;
    height: 100%;
    background-color: var(--border-color);
    content: "";
    padding: 1px 0px;
  }
}