.sidebar {
  height: 100%;
  margin: auto;
  width: var(--sidebar-width);
  background: var(--sidebar-bg-color);
  flex-shrink: 0;
  overflow: auto;
  font-size: 0.94em;
  -webkit-user-select: none;
}

.nav__links {
  margin: 0;
}

.nav__links--hidden {
  display: none;
}

.nav__group {
  margin: 32px 0;
}
.nav__group--header {
  color: var(--subtext-color);
  opacity: 0.46;
  padding: 0 12px;
  font-size: 1em;
  margin: 8px 12px;
  cursor: pointer;
}
.nav__group--header .icon {
  vertical-align: middle;
  width: 1.26em;
  margin-right: 4px;
}

.nav__group--title {
  font-size: 0.78em;
  font-weight: bold;
}

.nav__link {
  font-size: 1em;
  font-weight: 600;
  padding: 8px 12px;
  margin: 0 12px;
  margin-bottom: 8px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__link:hover .link__body,
.nav__link--active .link__body {
  opacity: 1;
}

.nav__link--active {
  background: var(--sidebar-active-color);
}

.link__body {
  opacity: 0.52;
}

.link__icon {
  font-size: 1.2em;
}

.link__badge {
  line-height: 0.8em;
  font-size: 0.8em;
  display: block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: center;
  border-radius: 16px;
  background-color: var(--color-red);
  padding: 2px 4px;
  width: 1.2em;
  height: 1em;
}

.link__icon,
.link__label {
  display: inline-block;
  vertical-align: middle;
}

.link__icon + .link__label {
  margin-left: 16px;
}

/* Seekbar */
.Slider {
  margin: 12px 0;
  flex-grow: 1;
  position: relative;
}

.Slider .buffer {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: rgba(250, 250, 250, 0.32);
  border-radius: 1em;
  transition: width 0.3s ease;
}
