@layer base {
  .wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 40px;
    flex-shrink: 0;
    gap: 1px;
    border-radius: 9999px;
    overflow: hidden;
  }

  .item {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
  }

  .startItem {
    border-radius: 9999px 5px 5px 9999px;
  }

  .endItem {
    border-radius: 5px 9999px 9999px 5px;
  }

  .button {
    cursor: pointer;
    flex: 1;
    flex-shrink: 0;
    user-select: none;
    background: none;
    border: none;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;

    &:disabled {
      opacity: 0.5;
      pointer-events: none;
    }
  }

  .state {
    flex: 1;
    padding: 8px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
  }

  .mirrored {
    transform: scaleX(-1);
  }

  .blueWrapper {
    padding: 3px;
    border-radius: 9999px;
  }

  .blueItem {
    background: #bef9fb;
    box-shadow:
      0px 1px 0px 0px #ffffffbf inset,
      -1px 0px 0px 0px #00000059 inset,
      1px 0px 0px 0px #00000059 inset,
      0px -1px 0px 0px #00000059 inset;
    color: #0c2836;
    --icon-fill: #227873;
    --icon-stroke: #0c2836;
  }
}
