/* ==========================================================================
   tripleSwitch Component Styles
   ========================================================================== */

.triple-switch {
  display: flex;
  position: relative;
  background-color: #f6f7fa;
  border-radius: 6px;
  padding: 3px;
  width: 100%;
  box-sizing: border-box;
  user-select: none;
}

/* Sliding active tab indicator */
.triple-switch-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  height: calc(100% - 6px);
  width: calc((100% - 6px) / 3);
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.04);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}

.triple-switch-btn {
  flex: 1;
  position: relative;
  background: transparent;
  border: none;
  border-radius: 4px;
  padding: 8px 6px;
  cursor: pointer;
  outline: none;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #717a8a;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.22s ease, font-weight 0.22s ease;
  z-index: 2;
}

.triple-switch-btn:hover:not(.is-active) {
  color: #374151;
}

/* Selected button: vibrant blue text */
.triple-switch-btn.is-active {
  color: #5170FF;
  font-weight: 600;
}

.triple-switch-btn:focus-visible {
  outline: 2px solid #5170FF;
  outline-offset: 1px;
}