.bottom-navigation-button {
  display: flex;
  flex: 1;
  min-width: 45px;
  max-width: 64px;
  height: 45px;
  margin: 0 8px;
  transition: color 420ms ease;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: rgba(var(--navbar-bottom-icon-color));
  cursor: pointer;
  outline: none;
  position: relative;
}

.bottom-navigation-button md-icon {
  transition: color 420ms ease, transform 420ms ease;
  color: rgba(var(--navbar-bottom-icon-color));
  margin: 4px 0 0 0;
}

.bottom-navigation-button span {
  font-size: 8pt;
  /* width: 100%; */
  max-width: 80px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
  position: absolute;
  bottom: -4px;
}

.bottom-navigation-button.disabled {
  pointer-events: none;
  opacity: 0.6;
}

.bottom-navigation-button.is-active,
.bottom-navigation-button:hover {
  color: rgba(var(--primary-color));
}

.bottom-navigation-button.is-active md-icon,
.bottom-navigation-button:hover md-icon {
  color: rgba(var(--primary-color));
}

.bottom-navigation-button i {
  position: absolute;
  top: 6px;
  right: 0;
  min-width: 16px;
  min-height: 16px;
  border-radius: 50%;
  background-color: rgba(var(--color-error));
  color: rgba(var(--on-error-color));
  font-style: normal;
  font-size: 8pt;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
