/**
 * 底部 Tabbar 样式（home / user 页共用，参照 WH5 Tabbar）
 */
.app-tabbar {
  width: 100%;
  height: 60px;
  background-color: #fff;
  border-top: 1px solid #e5e5e5;
  display: none;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.app-tabbar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 5px 0;
  transition: all 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.app-tabbar-item.active {
  color: #009AFF;
}

.app-tabbar-icon,
.app-tabbar-icon-active {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
  display: block;
}

.app-tabbar-icon-active {
  display: none;
}

.app-tabbar-item.active .app-tabbar-icon {
  display: none;
}

.app-tabbar-item.active .app-tabbar-icon-active {
  display: block;
}

.app-tabbar-text {
  font-size: 12px;
  color: #909399;
  transition: color 0.3s;
}

.app-tabbar-item.active .app-tabbar-text {
  color: #009AFF;
}
