/* Hide default editor mode buttons and reserve space */
#editorModeButtons.snaatchHidden {
  & #editorSignature, & #editorHighlight, & #editorFreeText, & #editorInk, & #editorStamp {
    display: none;
  }
}

#editorModeButtons {
  width: 176px;
  display: flex;
  justify-content: flex-end;
}

/* Fix icons in toolbar buttons */
#editorModeButtons.snaatchHidden .toolbarButton::before {
  content: none;
}

/* Hide print and save buttons */
#downloadButton {
  display: none;
}

/* Hide the open, print, and save menu options */
#secondaryOpenFile {
  display: none;

  &+ .visibleMediumView + .horizontalToolbarSeparator {
    display: none;
  }
}

#secondaryDownload {
  display: none;
}

#viewBookmark {
  display: none;

  &+ .horizontalToolbarSeparator {
    display: none;
  }
}

/* Color switcher of highlight and text annotations */
.annotationColorSwitcherOption {
  width: 28px;
  height: 28px;
  margin: 4px;
  display: inline-flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;
  color: white;
  border: 2px solid var(--swatch-border-color);
  border-radius: 50%;
  background-color: var(--color, transparent);

  &:hover {
    outline: 2px solid var(--hover-outline-color);
  }

  &[aria-checked="true"] {
    outline: 2px solid var(--selected-outline-color);
  }
}
