[data-scope='segment-group'][data-part='root'] {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  padding: 4px;
  background-color: #f1f3f5;
  border-radius: 4px;
  gap: 8px;
}

[data-scope='segment-group'][data-part='item'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* gap: 8px; */
  position: relative;
  padding: 8px 16px;
  width: 100%;
  text-align: center;
}

[data-scope='segment-group'][data-part='indicator'] {
  width: var(--width);
  height: var(--height);
  left: var(--left);
  top: var(--top);
  box-shadow:
    rgba(0, 0, 0, 0.05) 0px 0.0625rem 0.1875rem,
    rgba(0, 0, 0, 0.1) 0px 0.0625rem 0.125rem;
  background-color: rgb(255, 255, 255);
  border-radius: 4px;
}

[data-scope='segment-group'][data-part='item'] {
  border-radius: 4px;
  &[data-disabled] {
    cursor: not-allowed;
  }
  &[data-focus] {
    outline: 2px solid royalblue;
  }
}

[data-scope='segment-group'][data-part='item-text'] {
  &[data-disabled] {
    opacity: 0.4;
  }
}
