/*
 * Copyright 2017-2021 EPAM Systems, Inc. (https://www.epam.com/)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

.container {
  display: flex;
  flex-direction: column;
  overflow: auto;
  padding: 5px;
  margin-top: 5px;
}

.mode-switcher {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.chart-container {
  flex: 1;
  position: relative;
  overflow: auto;
}

.popover-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
}

.popover-container.visible {
  display: block;
}

.chart {

}

.tooltip {
  width: 250px;
}

.tooltip .header {
  line-height: 24px;
  font-weight: bold;
}

.tooltip .users-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.tooltip .users-list .user {
  margin: 2px 2px 2px 0;
}

.tooltip .users-list .user:not(:last-child)::after {
  content: ",";
}
