/* segmented.css */

.segmented-container {
  position: relative;
  display: flex;
  background-color: #f0f0f0;
  border-radius: 6px;
  padding-top: 4px;
  padding: 4px;
  box-sizing: border-box;
}

.segmented-slider {
  position: absolute;
  height: calc(100% - 8px);
  background-color: #fff;
  border-radius: 6px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.segmented-item {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  padding: 8px 16px;
  cursor: pointer;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
  user-select: none;
}

.segmented-item.active {
  color: #000;
  font-weight: 600;
}

