.weapon-spell-container {
  border: solid 1px var(--border-color);
  background-color: var(--field-background-color);
  box-shadow: var(--shadow);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tab-button {
  height: 3rem;
  font-size: 1.375rem;
  font-weight: 600;
  color: black;
  transition: all 0.25s ease-in-out;
  background-color: var(--tab);
  border-top: 0;
  border-left: 0;
  border-bottom: 1px solid var(--border-color);
  border-right: 0;

  &.active {
    background-color: var(--tab-active);
    border-bottom: 3px solid var(--border-color);
  }
}

.tab-row {
  display: flex;
  flex: 0 0 3rem;
  > * {
    flex: 1 1 0;
  }
  > :first-child {
    border-radius: 10px 0 0 0;
    &.active {
      border-right: 1px solid var(--border-color);
    }
  }
  > :last-child {
    border-radius: 0 10px 0 0;
    border-right: 1px solid var(--border-color);
    &.active {
      border-left: 1px solid var(--border-color);
    }
  }
}

weapon-table,
spell-table {
  // 100% - tabbar height
  height: calc(100% - 3rem);
}
