// Blur background under tab bar
.blurBackground {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  // Height: tab bar height + moderate overlap above tab bar
  height: calc(
    14px + 60px + 20px
  ); // bottom offset + tab bar height + overlap above
  z-index: 9994; // Just below the tab bar
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.7);
  pointer-events: none; // Don't block interactions

  // Fallback for browsers that don't support backdrop-filter
  @supports not (backdrop-filter: blur(1px)) {
    background: rgba(255, 255, 255, 0.85);
  }
}

.container {
  width: calc(100% - 32px);
  max-width: 400px;
  position: fixed;
  bottom: calc(0dvh + 14px);
  left: 50%;
  z-index: 9995;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-around;
  // gap: 40px;
  background-color: #e5e7eb;
  border-radius: 24px;
  padding: 16px 24px 12px;
}

.item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: relative;

  & .badge {
    position: absolute;
    bottom: 7px;
    left: 17px;

    min-width: 20px;
    min-height: 20px;
    max-width: 26px;
    max-height: 26px;

    & > .badgeContent {
      display: block;
    }
  }

  & > .label {
    font-size: 11px;
    line-height: 14px;
    color: #8a8d93;
  }

  &.active {
    & > .label {
      color: #007aff;
    }
  }
}
