.base-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.base-switcher__option {
  position: relative;
  cursor: pointer;
}

.base-switcher__option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.base-switcher__label {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-base-subtitle-text);
  border-radius: 0.5rem;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.base-switcher__option input:checked + .base-switcher__label {
  background-color: var(--c-brand);
  color: var(--c-brand-text);
}

.base-switcher__option:hover .base-switcher__label {
  color: var(--c-base-text);
}

.base-switcher__option input:checked + .base-switcher__label:hover {
  color: var(--c-brand-text);
}
