.builds-page {
  min-height: 100vh;
  background: #f5f5f5;
}

.search-bar {
  display: flex;
  align-items: center;
  padding: 24px;
  gap: 16px;
  background: #fff;
  border-bottom: 1px solid #eee;

  .search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 24px;
    background: #f5f5f5;
    border-radius: 32px;

    .iconfont {
      margin-right: 12px;
      color: #999;
    }

    .search-input {
      flex: 1;
      font-size: 28px;
    }
  }
}

.build-list {
  height: calc(100vh - 280px);
  padding: 24px;
}

.build-item {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);

  .build-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;

    .build-no {
      font-size: 32px;
      font-weight: 600;
      color: #333;
    }
  }

  .build-info {
    margin-bottom: 16px;

    .build-branch {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
      font-size: 26px;
      color: #666;

      .iconfont {
        color: #4CAF50;
      }
    }

    .build-commit {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 24px;
      color: #999;

      .iconfont {
        color: #2196F3;
      }

      .commit-id {
        font-family: monospace;
        color: #666;
      }

      .commit-msg {
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }
  }

  .build-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #eee;

    .build-meta {
      display: flex;
      align-items: center;
      gap: 16px;
      font-size: 24px;
      color: #999;

      .author {
        color: #666;
      }
    }
  }
}

.loading-wrap,
.empty-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 0;

  .iconfont {
    font-size: 96px;
    color: #ccc;
  }

  .loading-text,
  .empty-text {
    margin-top: 24px;
    font-size: 28px;
    color: #999;
  }
}

.loading-more {
  display: flex;
  justify-content: center;
  padding: 24px;
}

.no-more {
  text-align: center;
  padding: 24px;
  font-size: 24px;
  color: #999;
}
