.sidebar {
  position: relative;
  width: var(--width-sidebar);
  flex: none;
  background-color: var(--color-bg-0);
  border-right: 1px solid var(--color-border-1);
}

.inner {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: auto;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--height-header);

  &Title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
  }
}

.heading {
  padding: 8px 16px;
  color: var(--color-text-2);
  font-size: var(--font-size-sm);
}

.nav {
  position: relative;
  margin: 8px 0;

  &List {
    list-style: none;
    font-size: var(--font-size-md);
  }

  &Item {
    height: 40px;
  }
}

.link {
  width: 100%;
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  color: var(--color-primary);
  text-decoration: none;

  &:hover,
  &:focus {
    outline: none;
    background-color: var(--color-tertiary-light-hover);
  }

  &.activated {
    background-color: var(--color-tertiary-light-selected);
  }
}

.addProfile {
  position: absolute;
  top: 5px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--color-text-2);

  &:hover,
  &:focus {
    color: var(--color-text-1);
    background-color: var(--color-tertiary-light-hover);
  }
}

.addIcon {
  width: 20px;
  height: 20px;
}

.newProfile {
  padding: 16px 0;

  &Footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }
}
