@import '../../../styles/common.scss';

.tab {
  @include boxSizing;

  display: grid;
  height: 50px;
  color: var(--tab-text-color, $tab-text-color);
  font-size: 14px;
  font-weight: bold;
  border-bottom: none;

  padding: 0 20px;

  cursor: pointer;
  outline: none;

  &.selected {
    background: white;
    color: var(--tab-selected-text-color, $tab-selected-text-color);
  }

  &:hover:not(.selected):not(.disabled) {
    background-color: var(--tab-hover-bg-color, $tab-hover-bg-color);
    transition: background-color $confirmation-transition linear;
    color: white;
  }

  &.disabled {
    color: var(--tab-disabled-text-color, $tab-disabled-text-color);
    cursor: default;
  }
}

.content {
  display: grid;
  align-items: center;
  height: 100%;
  width: 100%;
  justify-content: center;
}
