.keyboard-shortcut-menu-container {
  position: fixed;
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: rgba(114, 114, 114, 0.5);
  top: 0;
  z-index: 10;
  justify-content: center;
  align-items: center;
  transform: translateY(3000px);
}

.keyboard-shortcut-menu-container.active {
  transform: translateY(0px);
}

.keyboard-shortcut-menu {
  background-color: var(--base-color);
  width: 60%;
  height: 60%;
  border-radius: 10px;
  color: white;
  display: flex;
  flex-direction: column;
  transform: translateY(200px);
  opacity: 0;
  transition: transform 200ms ease-in;
  transition: opacity 10ms ease-in;
}

.keyboard-shortcut-menu.active {
  transform: translateY(0px);
  opacity: 1;
  overflow-y: scroll;
}

.keboard-shortcut-close-button {
  border-radius: 50%;
  width: 15px;
  height: 15px;
  align-self: flex-end;
  margin: 10px;
  border: none;
  cursor: pointer;
}

.keyboard-shortcut-restore-defaults-button {
  color: red;
  background-color: lightgrey;
  font-weight: bold;
  align-self: center;
  width: fit-content;
  padding: 3px 10px;
  margin-bottom: 30px;
  border: none;
  cursor: pointer;
}

.keboard-shortcut-close-button:hover {
  opacity: 0.5;
}

.shortcut-table-container {
  display: flex;
  justify-content: center;
}

.shortcut-table {
  border-collapse: collapse;
  width: 90%;
}

.shortcut-table td {
  padding: 10px 30px;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  width: 50%;
  text-align: center;
}

.edit-save-shortcut.edit-shortcut {
  filter: invert(1);
  padding: 0;
}

.edit-save-shortcut.edit-shortcut img {
  width: 20px;
}

.edit-save-shortcut.edit-shortcut img:hover {
  opacity: 0.7;
  cursor: pointer;
}

.shortcut-header {
  font-weight: bold;
}

.tag-menu {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--base-color);
  width: fit-content;
  height: fit-content;
  padding: 0.5em;
  border-radius: 3px;
  display: none;
}
.tag-menu-header {
  display: flex;
  justify-content: flex-end;
}
.close-tag-menu {
  cursor: pointer;
}
.tag-menu button {
  margin-bottom: 1em;
  cursor: pointer;
  padding: 0.2em 0.5em;
}
.tag-menu select {
  padding: 0.2em 0.5em;
}

span.insub-annotation-icon {
  font-size: 14pt;
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0.2em;
}

td:has(.insub-annotation-icon) {
  position: relative;
}
.insub-tag-select {
  position: absolute;
  top: 90%;
  right: 20%;
  z-index: 10;
}

.insub-tag-select div {
  display: flex;
  border-radius: 20px;
  border: none;
  outline: none;
  padding: 2px 10px;
  align-items: center;
  justify-content: center;
  font-size: small;
  z-index: 10;
}

.insub-tag-select div:hover {
  border: 1px solid white;
  z-index: 10;
}
