.wechat-accounts-page {
  padding: 0 12px;
}

.filter-bar {
  padding: 12px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;

  .filter-buttons {
    display: flex;
    gap: 8px;

    .filter-button {
      flex: 1;
      height: 32px;
      border-radius: 6px;
      border: 1px solid #d9d9d9;
      background: #fff;
      color: #666;
      font-size: 14px;
      transition: all 0.2s;

      &:hover {
        border-color: #1677ff;
        color: #1677ff;
      }

      &.filter-button-active {
        background: #1677ff;
        border-color: #1677ff;
        color: #fff;
      }
    }
  }
}

.nav-title {
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.account-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 14px 14px 10px 14px;
  transition: box-shadow 0.2s;
  cursor: pointer;
  border: 1px solid #f0f0f0;
  &:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: #e6f7ff;
  }
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.avatar-wrapper {
  position: relative;
  margin-right: 12px;
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid #e6f0fa;
  box-shadow: 0 0 0 2px #1677ff33;
  object-fit: cover;
}
.status-dot-normal {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 14px;
  height: 14px;
  background: #52c41a;
  border: 2px solid #fff;
  border-radius: 50%;
}
.status-dot-abnormal {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 14px;
  height: 14px;
  background: #ff4d4f;
  border: 2px solid #fff;
  border-radius: 50%;
}
.header-info {
  flex: 1;
  min-width: 0;
}
.nickname-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nickname {
  font-weight: 600;
  font-size: 16px;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.status-label-normal {
  background: #e6fffb;
  color: #13c2c2;
  font-size: 12px;
  border-radius: 8px;
  padding: 2px 8px;
  margin-left: 4px;
}
.status-label-abnormal {
  background: #fff1f0;
  color: #ff4d4f;
  font-size: 12px;
  border-radius: 8px;
  padding: 2px 8px;
  margin-left: 4px;
}
.wechat-id {
  color: #888;
  font-size: 13px;
  margin-top: 2px;
}
.card-action {
  margin-left: 8px;
}
.card-body {
  margin-top: 2px;
}
.row-group {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  gap: 8px;
}
.row-item {
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 2px;
}
.strong {
  font-weight: 600;
  color: #222;
}
.strong-green {
  font-weight: 600;
  color: #52c41a;
}
.progress-bar {
  margin: 6px 0 8px 0;
}
.progress-bg {
  width: 100%;
  height: 8px;
  background: #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
}
.progress-fill {
  height: 8px;
  background: linear-gradient(90deg, #1677ff 0%, #69c0ff 100%);
  border-radius: 6px;
  transition: width 0.3s;
}
.pagination {
  margin: 16px 0 0 0;
  display: flex;
  justify-content: center;
}
.popup-content {
  padding: 16px 0 8px 0;
}
.popup-content img {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}
.empty {
  text-align: center;
  color: #999;
  padding: 48px 0 32px 0;
  font-size: 15px;
}
