.tab-panel-container {
  position: relative;
  max-height: 100%;

  display: flex;
  flex-direction: column;
}

.tab-contents {
  position: relative;
  flex-grow: 1;
}

.tabs {
  display: flex;
}

.tab {
  display: inline-block;
  padding: 10px;
  border: 1px solid black;
  cursor: pointer;
  background-color: #999;
  color: #555;
}

.tab.active {
  background-color: #333333;
  color: white;
  border-bottom: solid 4px var(--color-highlight-2);
}

.tab-content {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid black;
  overflow: auto;
}



.tab-content.active {
  visibility: visible;
  opacity: 1;
}